osen / openradiant

A Quake III level editor that can be used with any engine
Other
26 stars 4 forks source link

Export maps as GLTF or GLB. #2

Open HeadClot opened 3 years ago

HeadClot commented 3 years ago

Currently blender does not have the best .FBX support unless you purchase a 3rd party addon called "better FBX importer & Exporter" from the blender market. Would it be possible to export our scenes as .GLTF or .GLB? Bender supports both this format really well at the moment. :)

osen commented 3 years ago

Hi there,

Apologies for the delay, I completely forgot GitHub had an issues page that people might use to contact me!

OpenRadiant currently supports .obj because it is generally the most commonly supported model format (mostly because it is so basic). So you could import this into Blender and then export as GLTF? Perhaps I could add a feature so that OpenRadiant actively opens up the map within Blender from the file menu? That will then open up a lot of file formats for you.

I do agree with you that FBX is awkward with Blender. I looked into this: https://github.com/jskorepa/fbx for dealing with it in OpenRadiant and it seems OK. However the mentioned GLTF does have a big benefit that it is an open standard. What remains to be seen is if game engines like UE4 / Unity3D / Godot provide good support for it.

It is a good idea and I have had it mentioned to me before. I have added it to my todo list. I really hope it replaces FBX one day.