i want to import texture and material from 3d model created in 3ds max
to opengl. How can i do that?
Please log in or register to post a reply.
I myself don’t use opengl, but
assimp has examples of
loading models in opengl and uses
devIL for textures, might be worth
looking into, it’s been a great help in dx(though still haven’t gotten
to the aniamtion stage of use with it). not sure on the versions of
3dsmax(.3ds,.ase) imports it supports but it’s been great for the
imports I’ve used and might be useful to you. sorry if it doesn’t
You will not usually be able to read 3ds max files directly. They are
very complex and undocumented. Instead you would export your model and
textures, etc. to some standard format. I’m not sure what the state of
the art is for meshes and materials, perhaps Collada. But textures
should just be image files, like PNG or JPEG. SDL can load most popular
Pick up this book:
it will show you how to do exactly what you are looking for.