POV-Ray : Newsgroups : povray.unofficial.patches : Using trace : Re: Using trace Server Time
6 Oct 2024 11:42:08 EDT (-0400)
  Re: Using trace  
From: Rune
Date: 21 Jul 2001 06:40:37
Message: <3b595c25@news.povray.org>
"Andrea Ryan" wrote:
> #declare Start = <xtrans,10000,ztrans>;
> #declare Inter =
> trace ( Island, Start, <xtrans,-10000,ztrans>);
>
> object { tower translate <xtrans,0,ztrans>+Inter*y }

The third parameter in trace is a direction, not a point.

Try the following (not tested):

> #declare Start = <xtrans,10000,ztrans>;
> #declare Inter =
> trace ( Island, Start, -y);
>
> object { tower translate Inter }

Hope that helps!

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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