.3DS and openGL matrices & transformations

Hi there!

I’ve a little problem with loading my .3ds scenes into openGL. It seems that when i render the whole thing it appears in wrong orientation. I use gluLookAt() for my camera. So i’m wondering what is the right order for transformations & matrix operations in openGL and am I missing something to get the scene oriented right?

Hi,

You should look at Plib, this library has
some code to manage 3ds files. It’s easily
findable on yahoo !

3D max and OpenGL use different coordinate systems. you should swap the y and z coordinates you get from .3ds before you use them in OpenGL

Carl