On 10/22/07, Nguyen Ha Son <[EMAIL PROTECTED]> wrote: > I have found out the env. OSG_SCREEN_DISTANCE is not set. The > osg::DisplaySettings uses the value 0.5 for default distance which is > used to calculate first parameter of > camera.setProjectionMatrixAsPerspective(). This leads to an angle nearly > 180 degrees for this parameter. After setting env. OSG_SCREEN_DISTANCE > all examples work fine now. I'm wondering it seams to be nobody has this > problem like me. > Thank for your tip Paul but I didn't see anything strange after setting > OSG_NOTIFY_LEVEL=DEBUG.
Do you have other OSG_* env vars set? It certainly isn't normal to require OSG_SCREEN_DISTANCE to be set, as the defaults should work pretty well on most setups. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

