POV-Ray : Newsgroups : povray.unofficial.patches : megapatch and motion-blur Server Time
2 Sep 2024 16:19:58 EDT (-0400)
  megapatch and motion-blur (Message 1 to 5 of 5)  
From: Carl Bartels
Subject: megapatch and motion-blur
Date: 12 Dec 1999 16:32:15
Message: <3854145E.5568E300@bravo435.chem.mcgill.ca>
Is it possible to make it blur in just one direction?  Something like
the trailing streamers they sometimes put in cartoons to indicate
something is moving fast.
-- 
Carl Bartels, Department of Chemsitry, Mcgill University, to reply to
me,
just kill a and 5 from the email name, Montreal, QC, cAnAdA


Post a reply to this message

From: Chris Huff
Subject: Re: megapatch and motion-blur
Date: 12 Dec 1999 16:54:43
Message: <chrishuff_99-F83C6B.16551012121999@news.povray.org>
In article <3854145E.5568E300@bravo435.chem.mcgill.ca>, Carl Bartels 
<cab### [at] bravo435chemmcgillca> wrote:

> Is it possible to make it blur in just one direction?  Something like
> the trailing streamers they sometimes put in cartoons to indicate
> something is moving fast.

It should be possible to do something like this, motion_blur is 
basically a loop with special rendering. Transform the object using a 
counter instead of the clock variable, and if you need to use the clock 
variable, using something like
#declare Time = clock;
motion_blur {...use Time instead of clock...}
should work instead, without having the clock variable affect the blur.
Try something like this(excuse any errors, this is all from memory and 
is untested):

#declare MotionBlurSamples = the number of samples for motion blur
#declare BlurLength = the desired length of the motion blur

#declare Time = clock;
#declare Ctr = 0;//counter variable
motion_blur {
    sphere {<0, 0, 0>, 1
        translate x*(Time*3 + pow(Ctr/MotionBlurSamples,2)*BlurLength)
    }
    #declare Ctr = Ctr + 1;
}

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Nathan Kopp
Subject: Re: megapatch and motion-blur
Date: 13 Dec 1999 22:30:38
Message: <3855b9de@news.povray.org>
Just remember that when averaging samples, all motion blur samples are given
equal weight.  I plan to add new motion blur 'modes' in the future.  These
will be specified by an optional third parameter to the 'motion_blur'
keyword in global_settings.  If anyone has suggestions for sampling methods
(especially methods used in other rendering programs or that produce
true-to-life results), I'd like to hear them.

-Nathan

Chris Huff <chr### [at] yahoocom> wrote...
> In article <3854145E.5568E300@bravo435.chem.mcgill.ca>, Carl Bartels
> <cab### [at] bravo435chemmcgillca> wrote:
>
> > Is it possible to make it blur in just one direction?  Something like
> > the trailing streamers they sometimes put in cartoons to indicate
> > something is moving fast.
>
> It should be possible to do something like this, motion_blur is
> basically a loop with special rendering. Transform the object using a
> counter instead of the clock variable, and if you need to use the clock
> variable, using something like
> #declare Time = clock;
> motion_blur {...use Time instead of clock...}
> should work instead, without having the clock variable affect the blur.
> Try something like this(excuse any errors, this is all from memory and
> is untested):
>
> #declare MotionBlurSamples = the number of samples for motion blur
> #declare BlurLength = the desired length of the motion blur
>
> #declare Time = clock;
> #declare Ctr = 0;//counter variable
> motion_blur {
>     sphere {<0, 0, 0>, 1
>         translate x*(Time*3 + pow(Ctr/MotionBlurSamples,2)*BlurLength)
>     }
>     #declare Ctr = Ctr + 1;
> }
>
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Matthew Corey Brown - XenoArch
Subject: Re: megapatch and motion-blur
Date: 13 Dec 1999 23:06:20
Message: <3855C239.D4C60AFA@xenoarch.com>
Anti-Aliasing =} not exactly a mode but...
however i don't see how easily you could 
do it with your implementation (with out
using alot of memory)



Nathan Kopp wrote:
> 
> Just remember that when averaging samples, all motion blur samples are given
> equal weight.  I plan to add new motion blur 'modes' in the future.  These
> will be specified by an optional third parameter to the 'motion_blur'
> keyword in global_settings.  If anyone has suggestions for sampling methods
> (especially methods used in other rendering programs or that produce
> true-to-life results), I'd like to hear them.
> 
> -Nathan
> 

-- 
Matthew Corey Brown                                         XenoArch
mcb### [at] xenoarchcom                             http://www.xenoarch.com


Post a reply to this message

From: Nieminen Juha
Subject: Re: megapatch and motion-blur
Date: 14 Dec 1999 06:04:48
Message: <38562450@news.povray.org>
Matthew Corey Brown - XenoArch <mcb### [at] xenoarchcom> wrote:
: Anti-Aliasing =} not exactly a mode but...

  I think that the correct term is super-sampling?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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