POV-Ray : Newsgroups : povray.binaries.images : "Tunnel" chase : Re: "Tunnel" chase Server Time
8 Aug 2024 14:15:28 EDT (-0400)
  Re: "Tunnel" chase  
From: Sebastian H 
Date: 10 Jun 2005 15:08:15
Message: <42a9e51f@news.povray.org>
Michael Zier wrote:
> Hello,
> 
> just a quick doodle (eventually it should become kind of a wallpaper, oh
> my...)
> The motion blur was done in a single POV run without post processing. Just
> an animation loop, and the following code:
> 
> #if (clock_on)
>  #if (frame_number!=final_frame)
>   //
>   // Scene stuff goes here....
>   //
> 
>  #else
>   // composite
>   camera {
>    orthographic
>    location -z
>    look_at 0
>    right x*image_width
>    up y*image_height
>   }
> 
>   box {
>    <-image_width,-image_height,0>/2,<image_width,image_height,1>/2
>    pigment {
>     average
>     pigment_map {
> 
>      #local fn=initial_frame;
>      #while (fn<=final_frame-1)
>       #local _t=fn/(final_frame-1-initial_frame);
> 
>       [2-pow(((_t-0.5)*2),2)
>        image_map {
>         concat("mblur",str(fn,-1,0),".bmp") // Adjust "-1" to the number of
> digits in the file names
>         once
>         interpolate 4
>        }
>        translate -0.5
>        scale <image_width,image_height,1>
>       ]
> 
>       #local fn=fn+1;
>      #end
> 
>     }
>    }
>    finish { ambient 1 diffuse 0}
>   }
> 
>  #end
> #else
>  #error "Animation loop must be enabled!"
> #end
> 
> 
> single image and averaged image below.
> 
> Micha
> 
> 
> 

Nice.
Reminds me of a movie with spaceships
and a evil breathing Frankenstein.

Sebastian


Post a reply to this message

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