|
|
Appending the following code to the code you provided, it works
perfectly well in my MegaPOV 0.5A, Win95. Hope this could help in
debugging purposes.
#include "colors.inc"
camera {location <10,10,10> direction z*1 look_at <0,0,0>}
object {Torus2 pigment {White}}
#declare MinX=-5;
#declare MinZ=-5;
#declare MaxX=5;
#declare MaxZ=5;
#declare ScanStep=.5;
#declare ScanHeight=5;
#declare StockNormal=<0,0,0>;
#declare I=MinX;
#while (I < MaxX)
#declare J=MinZ;
#while (J < MaxZ)
#declare FoundPoint =
trace (Torus2,<I,ScanHeight,J>,-y,StockNormal);
disc {FoundPoint,StockNormal,.15 pigment {Red}}
#declare J=J+ScanStep;
#end
#declare I=I+ScanStep;
#end
light_source {<400,500,300> White*2}
Post a reply to this message
|
|