-
Notifications
You must be signed in to change notification settings - Fork 38
Exporting GLTF #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Exporting GLTF #49
Conversation
…orm to every node
|
I'm too lazy to make a new PR to your fork, but I recommend refactoring the export() function of GLTFExport.java (to make it faster to resume) Also, for doodads path you have the whole load & export in a try/catch, but for unitPaths only the export is in a try/catch, so if 1 unit model fails to load during export all, it'll stop progressing. |
|
Also, I was having out of memory issues, so I refactored getPngFromMaterial like this (I'm not sure if it'll help yet, but fingers crossed): |
Thanks! Although I've not seen the change to |
Hi, I've wanted to have the Warcraft III models as glTFs, but couldn't find any satisfactory converter from .mdl/.mdx to any usual format so I ended up exporting them using this project, here's my code in case it would be a useful feature.