POV-Ray : Newsgroups : povray.binaries.programming : Motion Blurring Server Time
21 Dec 2024 12:53:12 EST (-0500)
  Motion Blurring (Message 1 to 8 of 8)  
From: H E  Day
Subject: Motion Blurring
Date: 24 Nov 1999 23:58:06
Message: <383CC147.9B49116@teleport.com>
I was wondering - is it possible to do motion blurring based on the
actual translate commands?  What I mean is, create a motion blur from
the translate amount, clock delta, and clock?  For example:

sphere {0,1 translate -20*z*clock}

would produce a linear (vector based) motion blur in the z direction,
assuming motion blurring has been turn on.  This would obviously need
some adjustment for spline based scenes. Perhaps a MBlur_Amount or
Blur_Distance?
Anyway, just an idea that would cut down on the render time required for
the use of a motion blur in povray. Can anyone make sense of these
ramblings and perhaps translate (no pun intended) them into reality?


H.E. Day


Post a reply to this message

From: Peter Popov
Subject: Re: Motion Blurring
Date: 25 Nov 1999 15:02:57
Message: <=9k8OGXhtsWwyHRMJ0IYzH6jG5OH@4ax.com>
On Wed, 24 Nov 1999 20:55:35 -0800, "H.E. Day" <mil### [at] teleportcom>
wrote:

>I was wondering - is it possible to do motion blurring based on the
>actual translate commands?  What I mean is, create a motion blur from
>the translate amount, clock delta, and clock?  For example:
>
>sphere {0,1 translate -20*z*clock}
>
>would produce a linear (vector based) motion blur in the z direction,
>assuming motion blurring has been turn on.  This would obviously need
>some adjustment for spline based scenes. Perhaps a MBlur_Amount or
>Blur_Distance?
>Anyway, just an idea that would cut down on the render time required for
>the use of a motion blur in povray. Can anyone make sense of these
>ramblings and perhaps translate (no pun intended) them into reality?
>
>H.E. Day

I have successfully used averaged frames to make motion blur. A quick
(and dirty) way to increase rendering speed is to only render those
objects that move, using the +ua option, and then superimpose the
averaged result over the previously rendered rest of the scene. This
has the disadvantage of breaking shadows and reflection, but this can
be fixed, too, though it will make more time (render- and otherwise).


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Jon A  Cruz
Subject: Re: Motion Blurring
Date: 25 Nov 1999 15:35:04
Message: <383D9DC0.B6B56729@geocities.com>
Peter Popov wrote:

> I have successfully used averaged frames to make motion blur. A quick
> (and dirty) way to increase rendering speed is to only render those
> objects that move, using the +ua option, and then superimpose the
> averaged result over the previously rendered rest of the scene. This
> has the disadvantage of breaking shadows and reflection, but this can
> be fixed, too, though it will make more time (render- and otherwise).
>

Hmmm. Ya got my brain working more.

I imagine that one could hook in some image analysis to help. Just render
two frames spaced normally. Then do a diff and locate the rectangle areas in
the images that changed from one to the next. Then re-render sub-frames with
only these sections specified. This should catch reflections, etc. also.

Hmmmm... depending on implementation details, this might actually give good
results. I imagine that it would be best for scenes with the camera
stationary, and fewer things moving. Parse-time would also need to be
monitored.

Quite an interesting problem...

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

From: Ron Parker
Subject: Re: Motion Blurring
Date: 25 Nov 1999 20:37:14
Message: <383fe3c0.40170340@news.povray.org>
On Thu, 25 Nov 1999 12:36:16 -0800, "Jon A. Cruz"
<jon### [at] geocitiescom> wrote:

>Hmmm. Ya got my brain working more.
>
>I imagine that one could hook in some image analysis to help. Just render
>two frames spaced normally. Then do a diff and locate the rectangle areas in
>the images that changed from one to the next. Then re-render sub-frames with
>only these sections specified. This should catch reflections, etc. also.

Unfortunately, it doesn't work.  If the "before" and "after" positions
of the object don't intersect in screen-space, you might neglect to
rerender the space in between for each subframe.  The object also
might not just move within the rectangle bounded by its beginning and
ending positions.


Post a reply to this message

From: H E  Day
Subject: Re: Motion Blurring
Date: 25 Nov 1999 21:32:50
Message: <383DF0B2.5E4F2B8C@teleport.com>
As have I. (take a look at my IRTC entry, the one with the pod racers.)

Peter Popov wrote:

> On Wed, 24 Nov 1999 20:55:35 -0800, "H.E. Day" <mil### [at] teleportcom>
> wrote:
>
> >I was wondering - is it possible to do motion blurring based on the
> >actual translate commands?  What I mean is, create a motion blur from
> >the translate amount, clock delta, and clock?  For example:
> >
> >sphere {0,1 translate -20*z*clock}
> >
> >would produce a linear (vector based) motion blur in the z direction,
> >assuming motion blurring has been turn on.  This would obviously need
> >some adjustment for spline based scenes. Perhaps a MBlur_Amount or
> >Blur_Distance?
> >Anyway, just an idea that would cut down on the render time required for
> >the use of a motion blur in povray. Can anyone make sense of these
> >ramblings and perhaps translate (no pun intended) them into reality?
> >
> >H.E. Day
>
> I have successfully used averaged frames to make motion blur. A quick
> (and dirty) way to increase rendering speed is to only render those
> objects that move, using the +ua option, and then superimpose the
> averaged result over the previously rendered rest of the scene. This
> has the disadvantage of breaking shadows and reflection, but this can
> be fixed, too, though it will make more time (render- and otherwise).
>
> Peter Popov
> pet### [at] usanet
> ICQ: 15002700


Post a reply to this message

From: Peter Popov
Subject: Re: Motion Blurring
Date: 26 Nov 1999 02:54:51
Message: <Zzw+ODkAKiRFaLTCvdYlssM=iH52@4ax.com>
On Thu, 25 Nov 1999 18:30:11 -0800, "H.E. Day" <mil### [at] teleportcom>
wrote:

>As have I. (take a look at my IRTC entry, the one with the pod racers.)

As have you, but did you render everything or just the moving objects
to generate the motion blur? If so, what was the speed increase over
the conventional method?


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: H E  Day
Subject: Re: Motion Blurring
Date: 26 Nov 1999 22:00:38
Message: <383F48B3.31211F2B@teleport.com>
Everything was moving, thus +UA had no effect.  I doubt this would have any
speed increase, but I'll check.

H.E. Day


Peter Popov wrote:

> On Thu, 25 Nov 1999 18:30:11 -0800, "H.E. Day" <mil### [at] teleportcom>
> wrote:
>
> >As have I. (take a look at my IRTC entry, the one with the pod racers.)
>
> As have you, but did you render everything or just the moving objects
> to generate the motion blur? If so, what was the speed increase over
> the conventional method?
>
> Peter Popov
> pet### [at] usanet
> ICQ: 15002700


Post a reply to this message

From: Peter Popov
Subject: Re: Motion Blurring
Date: 27 Nov 1999 00:34:33
Message: <4Ww=ODzFoCRg7E3vJmQrtITGBxeE@4ax.com>
On Fri, 26 Nov 1999 18:57:55 -0800, "H.E. Day" <mil### [at] teleportcom>
wrote:

>Everything was moving, thus +UA had no effect.  I doubt this would have any
>speed increase, but I'll check.
>
>H.E. Day

Object masking with +ua is of no help if the camera is moving (which
it almost always does in anims). Only simple object showoff anims will
benefit speedwise from this approach.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

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