"Bald Eagle" <cre### [at] netscape net> wrote:
> I'll likely now be poring over the line/ray-cylinder intersection articles.
>
> (Since it is directly related to sor spline bounding, but also there seems to be
> issue with correctly rendering cylinders with an essentially unbounded endpoint)
Desmos 3d Graph
All vector math, no algebraic solver needed!
https://www.desmos.com/3d/c795aacwsb
(Just click on the orange surface icon on (at present) line 14 to toggle the
cylinder and see the vectors)
"A benefit of this geometric approach to the ray-cylinder intersection is that
it deals directly in object-space coordinates. This avoids the overhead of
transforming either the rays and/or the bounded cylinder into a canonical form
for testing."
Will work on adding the end cap intersections and surface normals.
Enjoy,
- BE
Post a reply to this message
Attachments:
Download 'screenshot 2025-10-17 140817.png' (64 KB)
Preview of image 'screenshot 2025-10-17 140817.png'

|