Hi Lalit,

for a similar problem I've added a CullCullback on the node I'm interested
in (the geode in your case).
The custom callback notifies me when it is invoked, which means that the
node is currently in the view frustum.

AFAIK the cull visit acts on the geode bounding sphere, so if you need more
precise control you better go at drawables level, or you can customize the
way the bounding volume is computed.
Another alternative might be disable the default culling test and implement
your own test in the custom cull callback.

Hope this helps,
Ricky



On Fri, Nov 19, 2010 at 14:06, Lalit Manchwari <[email protected]>wrote:

> Hi,
>
> I am working with LiDAR data. Its a huge data containing the information of
> X, Y, Z co-ordinates. I have divided this data into spatial blocks and
> making a
> Geode for every block. I want to increase the density of point cloud as the
> user zoom in the data.
> I want to know how can I identify that which Geode or block is inside or
> outside the viewport.
>
> Thank you!
>
> Cheers,
> Lalit
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=33861#33861
>
>
>
>
>
> _______________________________________________
> 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