|
|
"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
|
|
|
|
"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
|
|
|
|
"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
|
|