Hi Renzo, On Thu, 15 Oct 2020 at 09:05, OpenSceneGraph Users < [email protected]> wrote:
> thanks for pointing out how cull traversal operates. > > Yes, it might be I am searching in the wrong direction. I need to get the > minimum and the maximum Z coordinate of the geometry vertices in order to > apply a color range. This is quite easy to do for the whole geometry but I > would know if there is a way just for the vertices inside the view frustum. > The CullVisitor maintains the near and far values used in the view frustum so after the cull traversal you should be able query the settings. See CullVisitor::getCalculatedNearPlane() and getCalculatedFarPlane() Robert. -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/mailman.21889.1602778907.3538.osg-users-openscenegraph.org%40lists.openscenegraph.org.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/mailman.21889.1602778907.3538.osg-users-openscenegraph.org%40lists.openscenegraph.org.

