Sign in to follow this  

model importing/exporting noob

This topic is 2564 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

So I've run through my graphics training enough that I'd like to start putting something together, which means learning a little 3D modelling. I've chosen blender (because it's free), and I'd like to make sure I know how to get from model to vertex data in my openGL ES project. My options are to use an existing format, such as a .x file, script out my own format, or use something taken from the 'nets. Of course I know nothing about any of these options (learning the blender script sdk AND python sound particularly life draining). Can someone recommend the easiest route to making and exporting/importing a model to my code?

Share this post


Link to post
Share on other sites
If you're comfortable using external libraries you could export an existing format and use ASSIMP to read it, would be the quickest and easiest way to get something into your program.

Otherwise I'd say OBJ export and write your own importer.

Share this post


Link to post
Share on other sites
I 2nd the vote for assimp, its very easy to use and supports tons of file formats. You'll be able to find several that Blender can already export to. You'll still want to create your own binary model file format eventually (but use assimp for the initial import) for speed and space reasons (assimp isn't designed for speed (and there's no need to use any of its post-processing options on every load) and text-based file formats are larger than they need to be).

No need to mess around writing your own exporter/importer for Blender. That's just unnecessary work, and if you ever want to use another 3d modelling program (or team up with someone who uses something else) you won't have to create yet another exporter plugin for that program as well.

Share this post


Link to post
Share on other sites

This topic is 2564 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this