|
![](/i/fill.gif) |
In article <Xns### [at] povray org>, ingo <ing### [at] tag povray org> 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
|
![](/i/fill.gif) |