POV-Ray : Newsgroups : povray.newusers : Access to height field data : Re: Access to height field data Server Time
28 Jul 2024 14:18:58 EDT (-0400)
  Re: Access to height field data  
From: Phil
Date: 3 Sep 2008 06:20:01
Message: <web.48be63a3cd5c214363a46a3b0@news.povray.org>
"m_a_r_c" <jac### [at] wanadoofr> wrote:

> web.48bddbcdcd5c21439ef408df0@news.povray.org...
> >
> > #while (IN A REGION WE WANT TO PLANT)
> >  #declare h = trace(map, <x,y,2>, <x,y,0>, norm);
>
> // beware trace() waits for a coordinates  vector then a DIRECTION vector,
> not a destination one.
> // I'd  write instead  trace(map, <x,y,2>, -z , norm);
>
> Marc

Yup, you're totally right.


Post a reply to this message

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