Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

kenjin

model loader which is good

This topic is 5777 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to load up models from lightwave into my opengl code. I used milkshake and a nice guy wrote a code to import the model into opengl but it doesn''t bring inthe textures. Does anybody know of any site that has code or a program that will translate the model into a format that openg gl can easily read as well as reading in the textures. Or a program where you can bring in animations as well from lightwave into openg gl code that would be great. Kenjin

Share this post


Link to post
Share on other sites
Advertisement
This is a question that seems to get asked a lot. The answer to what you have asked is that OpenGL does not "read" ANY 3D model format at all. OpenGL knows how to render things like triangle lists, line lists... It is up to you to write C code to convert however your 3D modelling program saves its files/animations to something OpenGL understands, but there is no OpenGL format.

You have 2 choices. One is to find code which imports/renders lightwave models, and offhand I don''t know where you can find this. Your second choice is to read up on how lightwave model information is stored, then figure out yourself how to put this into a format that can be rendered by OpenGL.

You will learn more if you go the second route.

Good luck.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Apron Tutorials

http://apron.morrowland.com

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Apron Tutorials

http://apron.morrowland.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!