|
|
> but this does not work in povray, does it?
If I understand you correctly, you want to do something like this (code
from shapes.inc):
#macro Isect(Pt, Dir, Obj, OPt)
#local Norm = <0,0,0>;
#local IPt = trace(Obj, Pt, Dir, Norm);
#if (vlength(Norm) > 0)
#declare OPt = IPt;
#local Return=true;
#else
#local Return=false;
#end
(Return)
#end
HTH,
Florian
--
$ping http://www.real-life.org
ping: unknown host
[------------ http://www.torfbold.com - POV-Ray gallery ------------]
Post a reply to this message
|
|