PDA

View Full Version : How to use perspective matrix in openinventor?



hughnxy
03-21-2008, 08:26 PM
Hi,all
In OpenGl,the following code can be used to set the perspective martix to mat:
glMatrixMode( GL_PROJECTION );
glLoadMatrixf( mat );
I also want to use my own perspective martix in OIV instead of setting the fields of SoPerspectiveCamera,how can I do this?
Thanks in advance.