View Full Version : 3d models

01-09-2012, 01:11 PM

I wonder if someone could share a bit on the topic of creating models (to be used in OpenGL) using some modeling tool.

I tried Blender to create some simple stuff and wrote a wave-front parser. I spent some days on this, but Blender is quite complicated. Maybe I just need to put more time into it...

Is this the way forward? Is it possible to configure blender to export directly into a custom format? How does Collada come into the picture?

What are my options? I feel a bit lost here and would appreciate some guidance.


Dark Photon
01-09-2012, 04:32 PM
Some posts from the archives that pertain to this:

* which is Best 3D model file to learn and use. (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=306047&Searchpa ge=1&Main=58962&Words=blender&Search=true#Post3060 47) (Nov 2011)
* Opinions on 3D model File Formats (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=301549&Searchpa ge=1&Main=58142&Words=blender&Search=true#Post3015 49) (Aug 2011)
* Display a complex mesh in openGL (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=300501&Searchpa ge=1&Main=57935&Words=blender&Search=true#Post3005 01) (July 2011)
* Creating 3D objects (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=287493&Searchpa ge=1&Main=55571&Words=%2Bblender+%2Bpython&Search= true#Post287493) (Dec 2010)
* Need help with 3D models: recomended formats? (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=285348&Searchpa ge=1&Main=55185&Words=blender&Search=true#Post2853 48) (Nov 2010)
* convert 3d model to ms3d and load via OpenGL in C (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=277367#Post2773 67) (May 2010)

(For more hits, just click the "Search" button up above and search for "blender")

In short, it depends on what you're needs are.

Is it possible to configure blender to export directly into a custom format?

Use the integrated Python scripting. Check this out:
* Skeletal Animation (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=263620&Searchpa ge=1&Main=51051&Words=%2Bblender+%2Bpython&Search= true#Post263620) (Sept 2009)
* Blender, OpenGl, effects & models (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=261671&Searchpa ge=1&Main=50739&Words=%2Bblender+%2Bpython&Search= true#Post261671) (Aug 2009)

Also, a few of the above-linked posts talk about doing this.

And an OpenGL wiki entry on this, just for completeness:
* What 3D file format should I use? (http://www.opengl.org/wiki/FAQ#What_3D_file_format_should_I_use.3F) (OpenGL Wiki)

01-10-2012, 02:35 AM
Thanks for the collection of information!


01-10-2012, 03:45 AM
In games (like for example battelfield), how are the worlds/maps created? :-)

I found this...