texture import from 3ds max to opengl

A29e72e14013d48abe209f39eaacbd5f
0
badsha6642 101 Jan 19, 2012 at 03:56 android textures opengl-es

i want to import texture and material from 3d model created in 3ds max to opengl. How can i do that?

3 Replies

Please log in or register to post a reply.

5000fdaaeeeb9f038be93cf67eb3b130
0
David_Gallagher 102 Jan 19, 2012 at 09:02

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 help/not relevant.

820ce9018b365a6aeba6e23847f17eda
0
geon 101 Jan 19, 2012 at 10:55

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 image formats.

500367065665a05a847242a39a0bc69e
0
mmakrzem 101 Feb 06, 2012 at 10:48

Pick up this book: http://www.amazon.com/Focus-Models-Premier-Press-Development/dp/1592000339
it will show you how to do exactly what you are looking for.