[osg-users] Using hit records to determine which models were rendered

2013-11-11 Thread Chris Stankevitz
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

Re: [osg-users] Using hit records to determine which models were rendered

2013-11-11 Thread Robert Osfield
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

Re: [osg-users] Using hit records to determine which models were rendered

2013-11-11 Thread Chris Stankevitz
On Mon, Nov 11, 2013 at 11:03 AM, Robert Osfield robert.osfi...@gmail.com wrote: 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. Robert, Thank you this is exactly what I was looking for!