<div dir="ltr"><div dir="ltr">Hi Renzo,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Oct 2020 at 09:05, OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
thanks for pointing out how cull traversal operates.<br>
<br>
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.<br></div></blockquote><div><br></div><div>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::<span class="gmail-pl-en">getCalculatedNearPlane</span>() and <span class="gmail-pl-en">getCalculatedFarPlane</span>()</div><div><br></div><div>Robert.<br></div><div> </div></div></div>