Hi Oliver,

On 18/01/11 2:21 , Oliver Neumann wrote:
> I am trying to detect which of a set of 3D points (e.g. vertices of a scene 
> model) are
> currently visible. I tried to derive from osg::Geometry and overwrite the
> drawImplementation methode. The _vertexData.array contains all points 
> specified (all
> points, also the occluded) and _vertexData.indices is NULL. I cannot find any
> information about which points are visible. Where is this information saved 
> to?

You can't find it because this information isn't stored anywhere, or even 
computed
(outside of OpenGL) for that matter.

Visibility determination is done on the Drawable/Geometry level based on the 
bounding
sphere of that object.

What do you need this information for?

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

Reply via email to