POV-Ray : Newsgroups : povray.general : Ray Intersection : Re: Ray Intersection Server Time
19 Nov 2024 05:27:05 EST (-0500)
  Re: Ray Intersection  
From: Alastair Murray
Date: 30 Apr 2002 14:37:14
Message: <3ccee45a$1@news.povray.org>
Cheers, I've got it working now :)


"Mike Williams" <mik### [at] nospamplease> wrote in message
news:u$SwSFAAjtz8Ewmb@econym.demon.co.uk...
> Wasn't it Alastair Murray who wrote:
> >Regardless, I still need a way of knowing how the y-coordinate at any
> >particular point on a height field.
>
> #declare Point = trace(My_Heightfield, <X,0,Z>, y);
> #declare Y = Point.y;
>
> (Actually that assumes that your height field always has y positive.)
>
> --
> Mike Williams
> Gentleman of Leisure


Post a reply to this message

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