HI Chris,

The OSG cull traversal builds a rendering graph that contains a list of all
the Drawable leaves and the StateSet's associated with them, some of the
objects might not actual render any pixels but there bounding volumes will
be in the view frustum so it'll be a conservative list.

If you really need to know whether pixels from drawable make it into the
frame buffer then you'll needs to the occlusion query test that the OSG
supports.  See the osgocclusionquery example for inspiration.

Robert.


On 11 November 2013 17:42, Chris Stankevitz <[email protected]>wrote:

> I spent 10 minutes googling this.  I got nothing, probably because I
> do not know the correct vocabulary.
>
> Does OSG allow me to determine whether or not a model in my scene
> appeared in the most recently rendered frame?  I'm looking for
> something similar to OpenGL's hit records/select
> buffer/glPushName/glRenderMode
>
> Thank you,
>
> Chris
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to