Re: [osg-users] Raycasting

2010-06-10 Thread Jean-Sébastien Guay
Hi Nikhil, I need to cast rays from a point(cone like beam) recognizing obstacles . That's clearer. So what Robert said would probably work for you: look into LineSegmentIntersector, enabling kd-trees, and the osgintersection example in the OSG sources. Hope this helps, J-S -- ___

Re: [osg-users] Raycasting

2010-06-10 Thread nikhil raprolu simha
Hi, Thanks Robert. And @all sorry for being vague in my previous post. I need to simulate range space of a sensor. (or more clearly) I need to cast rays from a point(cone like beam) recognizing obstacles . Thanks, nikhil -- Read this topic online here: http://forum.openscenegr

Re: [osg-users] Raycasting

2010-06-10 Thread Robert Osfield
Hi Nikhil, On Thu, Jun 10, 2010 at 11:33 AM, nikhil raprolu simha wrote: > Is there a way or a library to ray cast in OSG? The OSG doesn't natively support ray casting of convention OpenGL geometry. The osgVolume NodeKIt does ray casting of 3d textures on the GPU but I presume you don't mean th

[osg-users] Raycasting

2010-06-10 Thread nikhil raprolu simha
Is there a way or a library to ray cast in OSG? Thanks, Nikhil. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28775#28775 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.