|
![](/i/fill.gif) |
Mick Hazelgrove wrote:
>
> Thanks Ron
>
> That does it
>
> Now how can I use trace to test the height of a HF... Hmmmm
>
> Mick
It's quite simple actually
#declare your heigtfield (eg. #declare HF=heightfield{...})
#declare the maximum height of the heightfield (#declare MaxHeight=(the
y-scale of the hf + 1)
then when you want to know the heigth at point (x,z)
just trace(HF,<x,MaxHeight,z>,<0,-1,0>)
I did this straight from my memory so there might be some errors but
hopefully you get the main idea
Post a reply to this message
|
![](/i/fill.gif) |