PDA

View Full Version : Using mesh files??



Hachaso
02-24-2004, 11:31 PM
Hi!

Don't know if I'm lost or on the right track here.
Well I was wondering if OpenGL supports all kinds of file-types or only ones like .md3, .3ds etc...

Is it possible to use for instance .max files or Microsofts .x files?

Have I not understood the concept of using mesh files?
Maybe it supports all types.

Another question if you have time to answer. Some where I read that when you use .3ds files it's devided by chunks. It also said that you don't need to do write code to read all the chunks. How can I find out which chunks are important an so on.
I've already read the document explaining how .3ds files are built. So please explain here cause I didn't get it.

Thanks!

nexusone
02-25-2004, 04:49 AM
OpenGL is a rendering API, it does not support any type of file loading.

You ether have to use a model loading routine or library created by someone or write you own.

You can do a google search and find examples of how to load a model into openGL.

147-2
02-25-2004, 07:47 AM
There are excellent tutorials out there, check out www.gametutorials.com (http://www.gametutorials.com) and NeHe's tutorials.