Hi Daniel,
A more complex and efficient way to achieve that would be to use Render2Texture
approach:
-Add a Camera attached to a lower resolution osg::Image
-render your point cloud using a vertex shader that use gl_VertexID to affect a
custom color
-do your picking in the resulting image the
Hi Daniel,
The PolytopeIntersector is the simplest route. If you want to make
things more efficient then you may well need to come up with a custom
approach.
The LineSegmentIntersector is able to take advantage of KdTree graphs
if they have been built for your scene graph and enables O(logn)
Hi,
I have a Pickhandler and a dynamically changing scene which consists only of a
geometry node. To be more specific, the geometry node represents a point cloud
consisting over ~10 vertices.
Using a line intersector makes it nearly impossible to get an intersection, but
the Intersector I
3 matches
Mail list logo