gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Help Wanted > School 3D Project

#82282 - Mr Snowflake - Thu May 04, 2006 10:48 pm

I have to make a OpenGL Project for school, pretty basic functionality:
- should be able to move camera.
- make simple 3d scene (no collision detection needed)
- make a 3d model importer

This post is about the last one: Our project should be able to import/use model that have been made with a common 3D Moddeling program and exported in some fileformat. Which format is the most common and maybe the easiest to use? We are allowed to use already existing code (in C ofcourse ;)).

Hope you understand it and you can help me.

Snow
_________________
http://www.mrsnowflake.be

#82355 - Chris Holmes - Fri May 05, 2006 3:07 pm

One of the best OpenGL source's is Nehe:

http://nehe.gamedev.net/

Check out the tutorials. There's one specifically on model loading.

http://nehe.gamedev.net/lesson.asp?index=07

One of the more popular model formats is MD2 from Quake2. You can find lots of loaders already written for it.

If you want to write something new, I would suggest the GE2 format. Maya can export it, and since the format is simple plain-text, it's very easy to parse.

Chris

#82665 - Mr Snowflake - Mon May 08, 2006 10:27 am

Thanks, I'm looking through the NeHe tuts, but I'm at 5 I believe :).
_________________
http://www.mrsnowflake.be

#84874 - Ant6n - Thu May 25, 2006 4:43 am

i agree that md2 is a good place to start.
Found this great page:
http://tfc.duke.free.fr/coding/md2-specs-en.html
its specs, explanation, how-to and example code - the kind of tutorials i like

#93502 - clone dad - Wed Jul 19, 2006 4:11 pm

a really good 3d modelling program is blender3d( www.blender3d.org ).
it's also open source.
_________________
I don't know anything.