LWJGL Forum

Programming => OpenGL => Topic started by: Otinu on December 20, 2006, 05:34:00

Title: Model Loader
Post by: Otinu on December 20, 2006, 05:34:00
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.
Title: Re: Model Loader
Post by: Evil-Devil on December 20, 2006, 13:12:42
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
Title: Re: Model Loader
Post by: cornholio on December 28, 2006, 02:01:18
i would suggest you start with the ASE - format:
http://wiki.beyondunreal.com/wiki/ASE_File_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 (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':

(http://lotz.it/etmod/screenie1.png)
Title: Re: Model Loader
Post by: Otinu on December 30, 2006, 01:11:42
Thanks for the links and tips guys.

Andy