On 14 February 2017 at 16:07, Daven Hem <[email protected]> wrote:
> Hello, Robert!
> It works surely.
> But how can I set maximum distance 5000 in meters?

You set the zfar to 5000 when setting up the Camera's projection
matrix.  Have a look at the
Camera::setProjectionMatrixAsFrustum/Perspetive() methods, and also
look at the OpenGL GLU docs for the associated GLU functions.

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

Reply via email to