[GEM-dev] motion blur
Erich Berger
eb at randomseed.org
Mon Aug 21 12:21:31 CEST 2006
hi chris,
thx for your patience in the motion blur business :-) .
it works well - but unfortunately its a motionblur in
single buffering. but there is also another problem:
unless i make something wrong it works for 2d but not 3d.
only those pixels of the scene which have the same
z-coordinate as the rectangle for the blur get blurred, the rest
gets drawn like in single buffer mode
e
> I found a stupidly simple way to get 'motion blur' with next to zero
> resources. Ready?
>
> Use single buffer rendering
> Set up the scene to draw
> draw everything with positive gemhead numbers
> set up a gemhead -1
> add the alpha, colorRGB 0 0 0 0 and a rectangle object
> make the rectangle equal the porpotions of the window (4 4 for square,
> 5.334 for 4:3 rectangle)
> modulate the alpha inlet to control the blur amount
>
> Stupid enough?
>
> cgc
More information about the GEM-dev
mailing list