QodotPlugin / qodot-plugin

(LEGACY) Quake .map support for Godot 3.x
MIT License
960 stars 70 forks source link

TrenchBroom model support #109

Open Shfty opened 3 years ago

Shfty commented 3 years ago

TB looks for models relative to the game directory, so a setup for saving ArrayMesh resources as res:// MDL/MD2/MD3 will be needed.

Further to that, FGD resources will need a way to specify their model and any extra associated metadata. Probably best to do this first to allow users to export their own MDL files and use them with a Qodot-generated FGD, then hook it into an internal MDL generator for automation.

disco0 commented 2 years ago

For anyone interested, I've been working on a TrenchBroom entity model generator addon in preparation for obj support in TrenchBroom, godot-nous:

image

In the process of refactoring now that I've got it mostly working (very much a learning experience) so very WIP, but the UI is fully functional and the export is faster than any other obj addon I've looked at working on this. Been using exported objs in a build of TrenchBroom with assimp support for a couple months now c: