|
|
Hi all,
I have a hightfield and I put the camera on it's surface (thanks to
trace() function and I add 10m to no be "inside" the HF).
Unfortunaly, my view point should be in a hole of my terrain so ... I
can't see nothing in this case.
There is a way to find the maximum height of, let say, 100m around my
view point ? (meters is the scale I use).
Thanks for your help.
Laurent
Post a reply to this message
|
|
|
|
destroyedlolo wrote:
> Hi all,
>
> I have a hightfield and I put the camera on it's surface (thanks to
> trace() function and I add 10m to no be "inside" the HF).
>
> Unfortunaly, my view point should be in a hole of my terrain so ... I
> can't see nothing in this case.
>
> There is a way to find the maximum height of, let say, 100m around my
> view point ? (meters is the scale I use).
Sure, you just have to sample the area of the heightfield with trace in
steps not larger than the heightfield resolution.
But for ensuring the camera does not look at a 'wall' it is much more
efficient to trace from the camera in viewing direction.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|