model importing/exporting noob
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?
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.
Otherwise I'd say OBJ export and write your own importer.
Both options sound reasonable. I'll look into them both. Thank you very much.
If anyone else has suggestions by all means post away. I'll check back from time to time.
If anyone else has suggestions by all means post away. I'll check back from time to time.
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement