Hi, thank you for your reply. I solved the problem by computing the world's 
bounding sphere and then computing the minimum distance from the eye to the 
near clipping plane by using a formula I found in OpenGL forums:


Code:

boundingSphere.radius() / sin( osg::DegreesToRadians( FIELD_OF_VIEW * .5 ) )




It resulted to be the same formula mentioned in the post you suggested above ;)

Thank you!

Cheers,
Daniel

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52178#52178





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to