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 ray-cone, do line-cone 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 ray-cone, do line-cone 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 ray-sphere intersection code | MattDiamond | 23 | 12,816 |
Aug 31, 2009 02:28 PM Last Post: Gengar003 |
|
| 2d Polygon Intersection | bizimCity | 6 | 5,977 |
Aug 31, 2006 05:29 PM Last Post: reubert |
|
| Math question: deriving rotation by plane intersection | TomorrowPlusX | 6 | 3,469 |
Jan 24, 2006 07:28 AM Last Post: TomorrowPlusX |
|
| Ray - cylinder intersection | nabulsr2 | 6 | 5,426 |
Mar 21, 2005 03:10 PM Last Post: nabulsr2 |
|
| Intersection with arbitrary solid | hamishl | 2 | 2,643 |
Sep 17, 2004 01:41 PM Last Post: codemattic |
|

