|
|
Xilo Musimene wrote:
>
> [...]
>
> #declare StartRay = <X,2,Y>;
> #declare SurfaceTouch = StartRay;
> #while(StartRay.y > -1)
> #declare SurfaceTouch = trace(MyObject, StartRay, <X, -2, Y>);
>
> #if(SurfaceTouch.x != 0 | SurfaceTouch.y != 0 | SurfaceTouch.z != 0)
> #write(myFile str(SurfaceTouch.y, 0,3), " ")
Just read the manual. Apart from that it would also be advisable to check
what the trace function actually returns before jumping to quick
conclusions about bugs. If you did that you would see that all points
returned by a successful trace (which is tested differently than you do in
your code) are perfectly on the object surface.
I think we should introduce a new rule: everyone who falsely assumes there
is a bug in POV-Ray has to do something unpleasant (like 10 times
rendering the POV-Ray benchmark or so...)
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|