<div dir="ltr"><div>Try CullCallback, in there you can get the handle of the CullVisitor and do something like this in your callback:<br><br></div><div>CullVisitor* cv = nv->asCullVisitor()<br></div><div>cv->isCulled(node)<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 27, 2016 at 8:30 AM, John Lee <span dir="ltr"><<a href="mailto:357059570@qq.com" target="_blank">357059570@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I don't know how to judge if an object is in the frustum? I want to get which node is in the frustum.<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
John<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=67832#67832" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=67832#67832</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>