|
![](/i/fill.gif) |
In article <38ffd58d@news.povray.org>, "Mark Wagner"
<mar### [at] gte net> wrote:
> I've been working on the same thing for a fly-through of the Grand
> Canyon, and I've been running into the exact same problem. My
> solution is to use the average of four successive
> positions/orientations to determine the camera placement.
I haven't looked at the source, but I did something similar a while ago,
with spheres flying over a height field instead(the camera was
stationary). I did a simple particle simulation: the spheres had mass
and were affected by gravity, and they used multiple trace() calls to
simulate a repulsion effect from the height field. The spheres followed
the depressions in the height field, like water running off of it.
You could also make some kind of "fuzzy logic" system, maybe specify a
preferred height which the camera would try to stay close to, and only
move to avoid collisions.
--
Christopher James Huff - Personal e-mail: chr### [at] yahoo com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |