POV-Ray : Newsgroups : povray.newusers : Access to height field data : Re: Access to height field data Server Time
28 Jul 2024 14:27:26 EDT (-0400)
  Re: Access to height field data  
From: m a r c
Date: 3 Sep 2008 05:00:32
Message: <48be5230@news.povray.org>

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


Post a reply to this message

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