Model Loader

Started by Otinu, December 20, 2006, 05:34:00

Previous topic - Next topic

Otinu

What are people doing regarding loading models in? I would like a really simple model loading class, pretty much so an idiot (ie me) can use it but can't seem to find anything on the net. Something with tex coords in would be nice, not just pure vert info. I can't believe everyone writes their own for every game but yet, no code is obvious. No one's ported NeHe's model loader yet either :( I think i've been spoiled with JSR-184 in J2ME - now there's a format even a fool can use! I don't want to use the monkey engine though.

Evil-Devil

You might using elias4444 obj loader.
http://lwjgl.org/forum/index.php/topic,917.0.html

For practicing, its better to write your own model loader. Just grab a model format document and write the loader against the document.

Evil

cornholio

i would suggest you start with the ASE - format:
http://wiki.beyondunreal.com/wiki/ASE_File_Format

it is simple and the model data is stored as plain text.
there are also loads of free models available...

for more information on file formats look here:
http://java3d.j3d.org/utilities/loaders.html

i just wrote a model-loader for the skeletal animation
used in the open-source game 'Enemy Territory':


Otinu

Thanks for the links and tips guys.

Andy