Re: Motion Blur
Re: Motion Blur
- Subject: Re: Motion Blur
- From: Thomas Davie <email@hidden>
- Date: Sun, 13 Feb 2005 13:44:44 +0000
Hi,
I cannot reach a good resut when I export my OpenGL animation (which really
are several still images) to a QT movie with motion blur. My OpenGL
animation runs at 60 FPS, while I export it to a QT movie at 30 FPS.
So basically, I take the even frames (2nd, 4th, 6th...) with 50% alpha, and
I add them to the odd frames (1st, 3rd, 5th...) which I leave 100% alpha. SO
here I sign QT1 as the QT frame 1, and gl1 the openGL frame 1.
QT1: gl1 at 100% + gl2 at 50%
QT2: gl3 at 100% + gl4 at 50%
QT3: gl5 at 100% + gl6 at 50%
... and so forth
But the result is not good. Even if the motion blur is visible, I still see
the resulting whole image half unfocused and a little bit with a strobo
effect. Wha can I do to make it better?
I'm no expert on this, but I would suggest perhaps making something along the lines of:
QT1 = gl1@100%
QTn = gl2@100% + QT(n-1)@50%
That way you're blending in exponentially smaller amounts of all previous frames (which may or may not make the blur use data from too many frames ago, you might want to either tweak the 50% figure, or play around with making each quicktime frame be the gl frame plus the last n gl frames at exponentially smaller alpha levels.
Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Motion Blur (From: Lorenzo <email@hidden>) |