|
 |
sacrofts wrote:
> #declare Mycyl = cylinder { <0, -3, 0>,<0,3,0>, 2 }
> #declare Norm = <0, 0, 0>;
> #declare Start = <5,0,0>;
> #declare End = <-5,-3,0>;
> #declare Inter= trace ( Mycyl, Start, End, Norm);
IIRC, the third parameter should be a direction, not a point to shoot towards. Instead
of getting the point where the line form Start to End intersects the cylinder, you're
getting the point for the line Start to (Start+End).
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
 |