model loader which is good
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
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement