POV-Ray : Newsgroups : povray.general : hf_height_at : Re: hf_height_at Server Time
29 Jun 2024 05:54:37 EDT (-0400)
  Re: hf_height_at  
From: Kurts
Date: 31 May 2003 07:16:53
Message: <kurtzlepirate-33FE22.13164731052003@netplex.aussie.org>
In article <Xns### [at] povrayorg>, ingo <ing### [at] tagpovrayorg> wrote:

> Yes, instead look for "trace" in "6.1.4.6  Vector Functions" of the 3.5 
> documentation.
> 
> Ingo


okay...

i don't understand why this function was removed so i write this one
that fully replace the old one :

//
-----------------------------------------------------------------------------------------
//
-----------------------------------------------------------------------------------------
#macro hf_height_at(thisX, thisZ, thisHF)
  #local normalHF = <0.00, 0.00, 0.00>;
  #local testPoint = <thisX, 0.00, thisZ>;
  #local vectorHF = <0.00, 1.00, 0.00>;
  #local intersectionHF = trace (thisHF, testPoint,vectorHF, normalHF);
  intersectionHF.y
#end
//
-----------------------------------------------------------------------------------------
//
-----------------------------------------------------------------------------------------


because my macro has the same name, nothing to change from the source file.
just past this macro and run the script !!!!

have fun


Post a reply to this message

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