[osg-users] Detecting if a node is within viewfrustum

Robert Osfield robert.osfield at gmail.com
Mon Aug 29 00:08:21 PDT 2016


HI Suraj,

Have a look at the NodeTrackerManipulator, it tracks a user defined
node cantering it at the center of the view frustum.

Robert.

On 29 August 2016 at 06:37, Suraj Paul <osgforum at tevs.eu> wrote:
> Hi Robert,
>
> Thanks for throwing light in the issue.
>
> I will explore OsgUtil::PolytopeIntersector.
>
> I am particularly interested in detecting if a particular node is within the view frustum.
>
> My purpose is to move the camera manually to contain the node within the view only when it moves out of the view frustum.
>
> ...
>
> Thank you!
>
> Cheers,
> Suraj
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68472#68472
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list