Hi Sunil,

I am not at all surprised that performacne is slow.  What you are
doing is the best way possible to destroy performance - killing CPU
and GPU efficiency at the same, well done :-)

The right way to do what you want is to implement a custom picking
route, that enables you to pick the points you want in the they way
you want.  You should be able to build an osg::KdTree to help you,
have a look at the exisiting implementation for line intersection
(osgUtil::LineSegmentIntersection/osgUtil::IntersectionVisitor/osg::KdTree)
for inspiration.

Robert.

On Wed, Jun 23, 2010 at 9:49 AM, Sunil S Nandihalli
<[email protected]> wrote:
> Hello everybody,
>  I have a large number of points to be displayed ..(about 200,000) .. I want
> to be able to pick each one of them. I have made each point a seperate geode
> ..The rendering is very slow. Possibly if I place all of them in a single
> geometry/drawable it could improve the performance.. but then I don't know
> how to enable picking of each and every point (via mouse) .. I was wondering
> if any of you had any solution to this problem.
> Thanks in advance
> Sunil.
> _______________________________________________
> 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