All Projects → Ezcha → gd-obj

Ezcha / gd-obj

Licence: MIT License
Obj file parser for Godot

Programming Languages

GDScript
375 projects

Projects that are alternatives of or similar to gd-obj

dotobj
.obj/.mtl loader, written in native GML, for GameMaker Studio 2.3
Stars: ✭ 27 (-15.62%)
Mutual labels:  model, obj
transit
A simple Godot asset for smooth scene transitions.
Stars: ✭ 22 (-31.25%)
Mutual labels:  godot
lmkit
language models toolkits with hierarchical softmax setting
Stars: ✭ 16 (-50%)
Mutual labels:  model
LinuxLikeConsole
Linux Like Console written in gdscript for Godot (Game Engine)
Stars: ✭ 26 (-18.75%)
Mutual labels:  godot
pmod
Native cross platform library with language projection support for native code.
Stars: ✭ 22 (-31.25%)
Mutual labels:  model
redux-global-loader
A Redux middleware for global loader
Stars: ✭ 13 (-59.37%)
Mutual labels:  loader
godot openhmd
OpenHMD GDNative driver for Godot
Stars: ✭ 34 (+6.25%)
Mutual labels:  godot
tyshemo
A javascript runtime data type checking system and morden reactive state management model.
Stars: ✭ 70 (+118.75%)
Mutual labels:  model
recycler-adapter
RecyclerView-driven declarative UIs
Stars: ✭ 124 (+287.5%)
Mutual labels:  model
flutter shimmer
Shimmer effect package for flutter
Stars: ✭ 41 (+28.13%)
Mutual labels:  loader
busy-load
A flexible loading-mask jQuery-plugin
Stars: ✭ 76 (+137.5%)
Mutual labels:  loader
laravel-geoly
Perform fast and efficient radius searches on your Laravel Eloquent models.
Stars: ✭ 25 (-21.87%)
Mutual labels:  model
Lime-Downloader
Simple Malware Downloader
Stars: ✭ 93 (+190.63%)
Mutual labels:  loader
the-missing-apple-watch-loader
The missing apple watch loader ⌚️
Stars: ✭ 24 (-25%)
Mutual labels:  loader
material-circular-loader
Material Circular Loader in SCSS like a boss. Demo: http://codepen.io/YuRen/details/KdKKax
Stars: ✭ 13 (-59.37%)
Mutual labels:  loader
godot experiments
Some 2D, 3D & VR experiments and tutorials in Godot 3
Stars: ✭ 181 (+465.63%)
Mutual labels:  godot
BBMOD
Advanced 3D in GameMaker
Stars: ✭ 31 (-3.12%)
Mutual labels:  model
space
A SCI-FI community game server simulating space(ships). Built from the ground up to support moddable online action multiplayer and roleplay!
Stars: ✭ 25 (-21.87%)
Mutual labels:  godot
voltar
WebGL only 2D game engine using Godot as the visual editor
Stars: ✭ 25 (-21.87%)
Mutual labels:  godot
otc
Onetap Crack Loader - Official ReHost
Stars: ✭ 46 (+43.75%)
Mutual labels:  loader

gd-obj

.obj parser for Godot

Why?

As of Godot 3.2, Godot is unable to import .obj files outside of the res:// directory, or during application runtime. gd-obj allows either or both of these features. gd-obj supports uvs, faces, normals, and non triangulated meshes.

How to use?

Load from paths

Call ObjParse.load_obj(path_to_obj, path_to_mtl). This will return a Mesh which can, for example, be placed into the mesh field of a MeshInstance.

It will try to find a mtl path if nothing entered. But you can call the function manually ObjParse.search_mtl_path(path_to_obj).

You can also retrieve textures path from ObjParse.get_mtl_tex_paths(path_to_mtl) or textures path and data from ObjParse.get_mtl_tex(path_to_mtl).

Load from buffers

Call ObjParse.load_mtl_from_buffer(mtl_data,textures) to get the materials then call ObjParse.load_obj_from_buffer(obj_data,materials) to get the mesh.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].