Ray cone intersection

Post: #1

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:-


Which doesn't go into much detail. Can anyone please help?
Quote this message in a reply
Posts: 184
Joined: 2004.07
Post: #2

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:
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Need ray-sphere intersection code MattDiamond 23 20,916 Aug 31, 2009 02:28 PM
Last Post: Gengar003
  2d Polygon Intersection bizimCity 6 8,656 Aug 31, 2006 05:29 PM
Last Post: reubert
  Math question: deriving rotation by plane intersection TomorrowPlusX 6 5,461 Jan 24, 2006 07:28 AM
Last Post: TomorrowPlusX
  Ray - cylinder intersection nabulsr2 6 7,969 Mar 21, 2005 03:10 PM
Last Post: nabulsr2
  Intersection with arbitrary solid hamishl 2 3,653 Sep 17, 2004 01:41 PM
Last Post: codemattic