David _
2008-04-30 12:56:20 UTC
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.
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.