[PD] Duplicate image

Claude Heiland-Allen claudiusmaximus at goto10.org
Fri May 23 13:29:50 CEST 2008

Eirik Blekesaune wrote:
> Hi list,
> I'm trying to find an GEM object that can duplicate an image with a  
> rectangle and blends them together with controllable offsets and  
> random posistion.
> Any hints?

from Pd:


from Gem:

[pix_image]      -- load image
[pix_texture]    -- upload to GPU
[pix_coordinate] -- warp image (eg, crop, repeat)
[rectangle]      -- geo to be textured
[alpha]          -- enable blending
[GEMglBlendFunc] -- for more interesting blending
[translate]      -- move geos around

For arbitrary blending functions you'll need multitexture GLSL shaders.

Hope this helps,


More information about the Pd-list mailing list