|
|
Steven Jones wrote:
>
> I'm trying to make an animation of a landscape with the camera flying
> around some mountains. How can I calculate the height of each part of
> the height field so I don't fly the camera into a mountain?
There are several approaches:
1. Use a code such as Leveller (free), Vue d'Esprit (free demo),
or some other package which allows one to move a camera around a height
field. Leveller is especially good at this. Then record the coordinates
for use in your animation (Leveller is designed to be used w/ POV).
Vue d'Esprit can do POV export in its registered version.... I'm not
sure it handles tga16, however (version 1 did not, but 2.02 is
massively expanded).
2. Use a tga16-compatible package like hf-lab or by John Beale to sample
points in the height field. If you use my #system() patch this can
be done from within POV, otherwise record the coordinates by hand
or script.
3. Use tmpov, which has a height field patch with a height field sampling
function which allows you to sample height field values. For now it's
only 3.02, however.
Dan
--
http://www.flash.net/~djconnel/
Post a reply to this message
|
|
|
|
If you want to do some work, you could convert the image to an ascii
version (oct and pgm come to mind) the read in the values and scale them
and you'd have a pretty good idea where the mountains are... you could
convert them to exact coordinates, or use the values as part of your
program. Actually you probably don't need all the points, you could
probably deal with 100 or 200 in each direction because they'd probably
average out the rest of the slopes... but not necessarily.. depends on
the height field... (Beale's HFLab will do tga to ascii conversions)
Steve Lavedas
Steven Jones wrote:
>
> I'm trying to make an animation of a landscape with the camera flying
> around some mountains. How can I calculate the height of each part of
> the height field so I don't fly the camera into a mountain?
Post a reply to this message
|
|