POV-Ray : Newsgroups : povray.general : Another one for the math wizards out there : Re: Another one for the math wizards out there Server Time
7 Aug 2024 15:14:08 EDT (-0400)
  Re: Another one for the math wizards out there  
From: Ron Parker
Date: 24 Aug 2001 17:34:53
Message: <slrn9odi40.rc2.ron.parker@fwi.com>
On Fri, 24 Aug 2001 17:24:28 -0400, Jim Kress wrote:
>I have an arbitrarily shaped surface that consists of millions of triangles.
>I know the coordinates of each triangular vertex as well as the normal at
>each vertex.
>
>I also have a line defined by two points and I know the coordinates of each
>point.
>
>How do I calculate the point on the line where the surface and the line
>intersect?

trace(). :)

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.