Ray cone intersection
Hi,
I'm trying to come up with a technique for determining whether a ray intersects a cone. The cone is truncated, i.e. one of the ends does not necessarily have a radius of zero, and the cone is not based at the origin.
I'm having real trouble with this at the moment because I've been unable to locate any really useful resources on the net and there aren't any similar topics on this forum. The best thing I've found so far is the following:
http://www.bmsc.washington.edu/people/me...drics.html
Which doesn't go into much detail. Can anyone please help?
I'm trying to come up with a technique for determining whether a ray intersects a cone. The cone is truncated, i.e. one of the ends does not necessarily have a radius of zero, and the cone is not based at the origin.
I'm having real trouble with this at the moment because I've been unable to locate any really useful resources on the net and there aren't any similar topics on this forum. The best thing I've found so far is the following:
http://www.bmsc.washington.edu/people/me...drics.html
Which doesn't go into much detail. Can anyone please help?
http://www.geometrictools.com/Intersection.html
The above link (formely Wild Magic) has a ton of source code for doing a variety of intersections, including line/code (to get raycone, do linecone first, and then find where on the line the intersection is.)
Here's how the algorithm works:
http://www.geometrictools.com/Documentat...neCone.pdf
The above link (formely Wild Magic) has a ton of source code for doing a variety of intersections, including line/code (to get raycone, do linecone first, and then find where on the line the intersection is.)
Here's how the algorithm works:
http://www.geometrictools.com/Documentat...neCone.pdf
Possibly Related Threads...
Thread:  Author  Replies:  Views:  Last Post  
Need raysphere intersection code  MattDiamond  23  18,206 
Aug 31, 2009 02:28 PM Last Post: Gengar003 

2d Polygon Intersection  bizimCity  6  7,645 
Aug 31, 2006 05:29 PM Last Post: reubert 

Math question: deriving rotation by plane intersection  TomorrowPlusX  6  4,797 
Jan 24, 2006 07:28 AM Last Post: TomorrowPlusX 

Ray  cylinder intersection  nabulsr2  6  7,174 
Mar 21, 2005 03:10 PM Last Post: nabulsr2 

Intersection with arbitrary solid  hamishl  2  3,302 
Sep 17, 2004 01:41 PM Last Post: codemattic 