Jump to content
  • Advertisement
Sign in to follow this  
Darkbouncer4689

Collada to JSON converter (O3D?)

This topic is 2595 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey all,

Up until now I've been doing basic obj files to load simple 3D meshes into my game. I'm starting to get to more advanced things such as animation and it seems like Collada (.dae) is the best 3D file format out there. Does anyone know of a DAE to JSON converter? I've looked at O3D's converter, but everything I see from them says that its deprecated. What is the standard for loading Collada files into browser games?
I could write my own python script to convert it, but Collada seems pretty dynamic with lots of different options to consider... it would be very time consuming.

Thanks,
Achilles

Share this post


Link to post
Share on other sites
Advertisement
JSON isn't a model format -- it's a generic data storage format like XML.

COLLADA (dae) files are actually stored as XML documents, so you could use a XML->JSON converter.... but I don't know what that would achieve (it would still just be a collada file represented in a different form).


Because collada is so complicated, most games don't import collada files directly. Usually they've got an external program that you can run to convert from collada into the game's internal model format.
To illustrate -- I've got a 60MB DAE file which converts to a 1MB model file...

I'm (foolishly?) writing a converter at the moment, and yes it is very time consuming :(

Instead of starting from scratch, you could check out Assimp, COLLADA-DOM or OpenCOLLADA.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!