zturtleman / mm3d

Maverick Model 3D is a 3D model editor and animator for games.
https://clover.moe/mm3d
GNU General Public License v2.0
116 stars 24 forks source link

glTF 2.0 export? #79

Open orange451 opened 5 years ago

orange451 commented 5 years ago

Would it be possible to get glTF 2 export functionality? It's a great middle format for models/animations!

https://en.wikipedia.org/wiki/GlTF#glTF_2.0 https://github.com/KhronosGroup/glTF/blob/master/README.md

zturtleman commented 5 years ago

glTF 2.0 is a nice format; especially since it's becoming widely supported. I have some interest in using the format in future. I don't have near-term plans to work on adding a glTF 2.0 exporter.

orange451 commented 5 years ago

I'd be willing to send you some cash via paypal if you'd reconsider :)

m-7761 commented 5 years ago

@orange451, do you mind sharing your interest in MM3D with me?

orange451 commented 5 years ago

I used mm3d nearly 10 years ago for a lot of small 3D projects, out of all programs I’ve seen to make simple animations mm3d is probably the most user friendly. Great for prototyping, which is why I’d like to continue using it

m-7761 commented 5 years ago

Can you remember working with it then? If so, is there somewhere (more appropriate) we could discuss your experience, what you feel it does well, and does not, etc? (e.g. Productivity, especially around mouse/keyboard use, layout.)

Background: Myself, I'm using its code to develop new modeling software. Maybe there will be some interplay or overlap between the projects, is yet to be seen. I have to do some work myself, that I worry I won't be able to do reasonably with off the shelf software, and I have a larger project of reinvigorating COLLADA that is another Khronos standard like glTF. It's fallen by the wayside. I'm preparing a new noncommercial modeler to challenge Blender and to be able to recommend to users of my other software, that includes game-making software. (glTF doesn't really fit anywhere into my agenda, but it's a sister to COLLADA I suppose. It's a run-time/transfer format. COLLADA is an archive/exchange format. COLLADA is pretty similar to MM3D in that it's really limited pretty much to simper game projects in its present status, and I don't think it's cut out for anything else. It's unproven technology since it's one of those Khronos projects that never found parties able/willing to implement it. And what it was designed to do became irrelevant to the commercial sector since AutoDesk consolidated the entire sector in the decade that followed.)

orange451 commented 5 years ago

If you'd like to discuss, I have discord: NovaStrat#2111

janEntikan commented 1 year ago

I'd love to see this also.

janEntikan commented 1 year ago

For those interested: at the moment I have a working pipeline that ends as glb files. First export to .iqe, then use aardappels iqm tool: http://sauerbraten.org/iqm to convert it to .iqm. From there you can convert it to glb using this python script: https://github.com/scurest/iqm2glb. The command would look something like mm3d --convert iqe mymodel.mm3d && iqm mymodel.iqm mymodel.iqe && python iqm2glb.py mymodel.iqm mymodel.glb

Your mileage may vary as the resulting skinning doesn't seem to be parented logically to the armature. But most gltf-viewers I've tried seem to be able to figure it out.