Hi Luc,

Just to clarify, the raySphereIntersect method I referred to is _not_ in OSG, it is just our own implementation of: http://en.wikipedia.org/wiki/Line%E2%80%93sphere_intersection

You'll find a number of implementation example when googling:)

Best regards,
John

Luc Claustres wrote:
Hi,

Thanks for your reply, as you said I used this simple method that worked great.

However I did not know about the raySphereIntersect() method in OSG so I will 
update my code instead of reinventing the wheel...

Cheers,
Luc

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26548#26548





_______________________________________________
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