Hi

i would like to manually specify the near and far clip planes of the camera

right now i´m using something like this

osg_viewer->getCamera()->setProjectionMatrixAsPerspective(90.0, 1.333, 0.001, 
100);

the documentation says this

void setProjectionMatrixAsPerspective (double fovy, double aspectRatio, double 
zNear, double zFar)

the FOV and aspect ratio parameters are working, but no matter the values i 
write in the last two parameters, the clip planes distance remains the same

any idea?

thanks

_________________________________________________________________
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar 
siempre a la última
Guapos y guapas, clips musicales y estrenos de cine. 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to