[PD] pix_motionblur + rotateXYZ

Cyrille Henry ch at chnry.net
Fri Dec 14 16:00:13 CET 2012



Le 14/12/2012 15:42, Charles Goyard a écrit :
> Hi list,
>
> I have a simple patch that plays a film with pix_movie, with a rotateXYZ
> to rotate it clockwise or counterclockwise on screen.
>
> Now I want to add motion blur in the rotating effect.
>
> Just adding pix_motionblur to the chain does not work, because it blurs
> the movie images but not with respect to the rotation.
>
> I understand it's problably because pix_motionblur comes into play
> before the film is made into a texture and that rotateXYZ applies to the
> geo the texture is on.
>
> So what's a nice way to have motionblur applied to the rotation ?
render in a framebuffer and use this image for the motionblur.

>
> It seems there glsl and pdp examples for that but I don't understand
> them (I never used these libraries).
yes, glsl can help a lot.

you can use example : 10.glsl/14.blur, remove sceneA and sceneB in order to add :
rotateXYZ
pix_image
pix_texture
rectangle

it should work.
cheers
c

>
>
> Thanks,
>



More information about the Pd-list mailing list