Hi John,

As Nick suggest you can use a cull callback to report back when a node
and it's subgraph are likely to be within the view frustum, however,
this is constrains you to doing the test in the cull traversal.

However, if you want to do the test outside the cull traversal then
you'll need to use the PolytopeIntersector, creating a Polytope as the
frustum.

Robert.

On 27 June 2016 at 07:30, John Lee <357059...@qq.com> wrote:
> Hi,
>
> I don't know how to judge if an object is in the frustum? I want to get which 
> node is in the frustum.
>
> Thank you!
>
> Cheers,
> John
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=67832#67832
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to