POV-Ray : Newsgroups : povray.general : Terrain Following Object Question Server Time
27 Nov 2024 10:52:40 EST (-0500)
  Terrain Following Object Question (Message 1 to 4 of 4)  
From: Bridgeofstraws
Subject: Terrain Following Object Question
Date: 13 Dec 2008 16:00:00
Message: <web.494421dfbb7daa0ee9749eba0@news.povray.org>
Hi,

I came a across this website while randomly googling:
http://www.donzoptix.co.uk/FUNMOVIES/Funmovies.html
and discovered that one of the videos (roughly half-way down the page) on this
site showed a tank that followed the terrain and left tracks.  Now I might be
mistaken but I think the video was generated in POV-Ray.  I was wondering if
anyone here knows how this might have been accomplished.  I don't intend on
implementing this in POV-Ray currently; I just found it interesting.
Thank you.

Bridgeofstraws


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Terrain Following Object Question
Date: 13 Dec 2008 16:10:10
Message: <494424b2$1@news.povray.org>
"Bridgeofstraws" <bri### [at] inboxcom> wrote in message 
news:web.494421dfbb7daa0ee9749eba0@news.povray.org...
> Hi,
>
> I came a across this website while randomly googling:
> http://www.donzoptix.co.uk/FUNMOVIES/Funmovies.html
> and discovered that one of the videos (roughly half-way down the page) on 
> this
> site showed a tank that followed the terrain and left tracks.  Now I might 
> be
> mistaken but I think the video was generated in POV-Ray.

it does say "Movies made with POVRAY" on the top of the page, so that would 
also be my guess :)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: clipka
Subject: Re: Terrain Following Object Question
Date: 13 Dec 2008 16:20:00
Message: <web.4944260a9ca353d66c22a54d0@news.povray.org>
"Bridgeofstraws" <bri### [at] inboxcom> wrote:
> Hi,
>
> I came a across this website while randomly googling:
> http://www.donzoptix.co.uk/FUNMOVIES/Funmovies.html
> and discovered that one of the videos (roughly half-way down the page) on this
> site showed a tank that followed the terrain and left tracks.  Now I might be
> mistaken but I think the video was generated in POV-Ray.  I was wondering if
> anyone here knows how this might have been accomplished.  I don't intend on
> implementing this in POV-Ray currently; I just found it interesting.
> Thank you.

Actually, the description on that page says it all:

- the X/Z position and overall heading of the tank was probably fixed beforehand

- for every frame, the trace() function was probably used to get samples of the
terrain's height where the tank should be (maybe one per each of the tank's
running wheels?)

- the tank's orientation would be tweaked accordingly, and maybe the running
wheels' position and running track geometry as well

- the tracks left behind would then be generated by difference-ing the height
field with some boxes placed according to the trace() results.

- for efficiency, the trace() results to generate the track-making boxes from
might have been written to a file and retrieved during the next frame


Post a reply to this message

From: Bridgeofstraws
Subject: Re: Terrain Following Object Question
Date: 13 Dec 2008 17:10:00
Message: <web.4944326b9ca353d6e9749eba0@news.povray.org>
"Zeger Knaepen" wrote:
> it does say "Movies made with POVRAY" on the top of the page, so that would
> also be my guess :)

I somehow missed that...

"clipka" <nomail@nomail> wrote:
>
> Actually, the description on that page says it all:
>
> - the X/Z position and overall heading of the tank was probably fixed beforehand
>
> - for every frame, the trace() function was probably used to get samples of the
> terrain's height where the tank should be (maybe one per each of the tank's
> running wheels?)
>
> - the tank's orientation would be tweaked accordingly, and maybe the running
> wheels' position and running track geometry as well
>
> - the tracks left behind would then be generated by difference-ing the height
> field with some boxes placed according to the trace() results.
>
> - for efficiency, the trace() results to generate the track-making boxes from
> might have been written to a file and retrieved during the next frame

I forgot about the trace() command.  It's now obvious to me now.  Thanks for
your explanation clipka.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.