All,
 
In my OpenGL app I use gluPerspective and gluLookAt to render my scenes.
I now want my users to inport scene from a 3ds file.
 
The gluPerspective is an easy one, I can use the fov, near and far directly.
But gluLookAt is more difficult, as the camera parameters are not directly map'able.
 
I tried to assign camera.position to the first 3 positions of LookAt and camera.target to the next 3. But that doesn't give me the correct scene. Also, not sure what to do with camera.roll.
 
Can anyone help?
 
- Bart
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to