|
![](/i/fill.gif) |
Why not simply trace from below, e.g. trace(HF,<Px,-1,Pz>,y)
Margus
>
>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) |