POV-Ray : Newsgroups : povray.general : Ray Intersection : Re: Ray Intersection Server Time
6 Aug 2024 06:16:17 EDT (-0400)
  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.