PDA

View Full Version : .3DS and openGL matrices & transformations



07-03-2001, 06:42 AM
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?

Morglum
07-05-2001, 02:01 AM
Hi,

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

dUckmAnn
07-05-2001, 05:32 AM
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