POV-Ray : Newsgroups : povray.binaries.images : Lego Superman - Man of Steel : Re: Lego Superman - Man of Steel Server Time
30 Jul 2024 04:17:32 EDT (-0400)
  Re: Lego Superman - Man of Steel  
From: Samuel Benge
Date: 4 Nov 2012 12:40:01
Message: <web.5096a7c7d7842808a19076a50@news.povray.org>
Reuben Pearse <reu### [at] pearsecouk> wrote:
> On 04/11/2012 14:30, Christian Froeschlin wrote:
> > Reuben Pearse wrote:
> >
> >> Here's my latest Lego render.

cool!

> >> I've used focal blur in this scene but I
> >> think I need to use motion blur. Is motion blur available in latest
> >> version of POV-Ray
> >
> > no, but you can simulate it by rendering an animation moving the
> > object in "sub-exposure" steps and then averaging the frames. This
> > also gives you the artistic freedom to give more weight to the final
> > frame if you want a more comic-like asymmetric blur for this scene.
>
> Thanks for the info. Can you point me to any websites or tutorials that
> explain this technique in more detail? Some example POV code would be
> useful.

Here's the scene I use when averaging a number of pre-rendered frames:

#version 3.7;
global_settings{assumed_gamma 1.0}
#default{finish{ambient 1}}

camera{
 orthographic
 right x up y
 location -z
}

#declare n_frames = 80;
#declare image_name_ = "superman"
#macro image_type_() png #end

plane{z,0
 pigment{
  average
  pigment_map{
   #for(V, 1, n_frames)
    [1
     #declare image_name = concat(image_name_, str(V, -(log(n_frames)/log(10) +
1), 0))
     image_map{image_type_() image_name}
     translate -(x+y)/2
    ]
   #end
  }
 }
}


Memory requirements can become pretty high when using large numbers of images,
especially if they are in the HDR format (but they work really well, especially
when rendering star fields).

Sam


Post a reply to this message

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