horde3d / Horde3D

Horde3D is a small 3D rendering and animation engine. It is written in an effort to create an engine being as lightweight and conceptually clean as possible.
http://horde3d.org/
1.51k stars 306 forks source link

FBX and GLTF support #183

Open algts opened 3 years ago

algts commented 3 years ago

Currently Horde supports only Collada file format for input, which is a bit old by today's standards. I'm planning to implement GLTF and FBX support to converter and rename it to Asset converter. tinygltf would be used for gltf parsing and OpenFBX would be used for FBX parsing.

GLTF converter is currently being developed and FBX backend would be next.

gwald commented 1 year ago

Please before this is finished, is possible to also get the original models in an open format (collada or FBX) for testing of the 3D pipeline? IMO this was the hardest aspect of H3D.

Blender has some CC0/BY assets here: https://download.blender.org/demo/test/ and https://download.blender.org/demo/test/

After several attempts, I finally have a 99% working 3D creatation pipeline http://horde3d.org/forums/viewtopic.php?f=11&p=10422#p10422

algts commented 1 year ago

@gwald Original models were bought by the engine developers years ago, they were not open since the beginning. I agree that we should add some open models to test asset pipeline.

gwald commented 1 day ago

Hello again. How is this going? Is the GLTF converter available for testing?

algts commented 1 day ago

Hello. Sorry, unfortunately no. I did not touch it for several years and stopped on (if I remember correctly) materials. GLTF basically requires using PBR materials (there is an extension for non-pbr materials, but it has some quirks) and Horde does not support it yet. I thought on implementing FBX conversion first as it does not require pbr materials, but never got time and strength to do it. You can check the latest progress in my repo, but don't expect much: https://github.com/algts/Horde3D/tree/fbx_gltf

gwald commented 1 day ago

Thanks for the reply. I thought I would ask.