<div dir="ltr">something like this:L<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 27, 2016 at 9:12 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>
Thank you for your answer.<br>
i can't find this method asCullVisitor(). I am using osg 3.4.0.<br>
I am so sorry, and I am new to osg. So I wonder if you can give me more hint.<br>
Thank you again.<br>
<span class=""><br>
<br>
Trajce Nikolov NICK wrote:<br>
> Try CullCallback, in there you can get the handle of the CullVisitor and do something like this in your callback:<br>
><br>
><br>
> CullVisitor* cv = nv->asCullVisitor()<br>
><br>
> cv->isCulled(node)<br>
><br>
><br>
><br>
</span><span class="">> On Mon, Jun 27, 2016 at 8:30 AM, John Lee < ()> wrote:<br>
><br>
> > 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>
</span>> > <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> (<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>
> > ()<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> (<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>
> ><br>
><br>
><br>
><br>
> --<br>
> trajce nikolov nick<br>
><br>
> ------------------<br>
> Post generated by Mail2Forum<br>
<span class=""><br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=67836#67836" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=67836#67836</a><br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>