{"repo":"Ezcha/gd-obj","free":true,"listed":false,"github":"https://github.com/Ezcha/gd-obj","clone":"git clone https://github.com/Ezcha/gd-obj.git","description":"Obj file parser for Godot","language":"GDScript","stars":73,"topics":["godot","obj","loader","model"],"license":"MIT","category":"game-templates","readme_excerpt":"gd-obj (ObjParse) A simple .obj parser for Godot 4.X (For a version that works in Godot 3.X check out the 3.X branch.) Why? Godot is unable to import .obj files during application runtime. gd-obj enables this functionality by implementing a basic obj parser. gd-obj supports uvs, faces, normals, and does surface triangulation. How to use? Setup Simply include the obj parse.gd file anywhere in your Godot project. Load from paths Call ObjParse.from path(obj path, mtl path) . This will return a Mesh which can, for example, be placed into the mesh field of a MeshInstance . The second argument mtl path is optional. When excluded the parser will check if a materials file is specified in the .obj data and will automatically load it if valid. Load from memory To load models/materials from memory ObjParse.from mtl string(mtl data, textures) can be used to get the materials dictionary and then ObjParse.from obj string(obj data, materials) to get create Mesh object.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ezcha","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ezcha/gd-obj/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}