> Is there a straight forward method to determine if a ground 
> xyz target point (or geode bbox centerpoint) is currently 
> visible (i.e. within the current view frustrum)?
> 
> I'm drawing a HUD target line, but don't want to draw it if 
> the target point is not in view.

In addition to the projection solution...

You could use a cull callback on the Node in question and call
CullVisitor::isCulled(). (If you have multiple cameras contributing to a
single view, then at least one of the cull traversals would have to indicate
"in view".)

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
303 859 9466

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to