Try CullCallback, in there you can get the handle of the CullVisitor and do
something like this in your callback:

CullVisitor* cv = nv->asCullVisitor()
cv->isCulled(node)

On Mon, Jun 27, 2016 at 8:30 AM, 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
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to