Forums > Jitter

Gaussian on multiple sketch shapes!?

June 18, 2009 | 11:43 am

Dear Community,

I’m working on a patch that is creating 8 different shapes with to be displayed on a jit.window.
What I now need is a blur on that objects.
By capturing the sketch object containing the 8 shapes to a texture, and pass that through on a videoplane worked pretty fine.

But now I want to be able to control the blur amount of each shape separately.
Therefor I created 8 sketch and 8 videoplane objects – but now I have compositing/timing/blending problems on how to display the sketches on the jit.window.

Here’s my patch simplified with only 2 sketch-objects sent through the blur to a videoplane each.
I hope someone can disclose the mystery how these objects can work together well.

– Pasted Max Patch, click to expand. –
June 18, 2009 | 12:00 pm


I think you need to tell videoplane object which texture you want, like, ‘ @texture tex2′ mor text1 and remove the @automatic 0′

Luis Marques

June 18, 2009 | 12:51 pm

Thanks a lot Luis!
one last issue: The blending of the two textures. By trying it with colormode max tends to crash. I hope someone could help me out with that last thing.
Updated patch follows. There should be the red and the white circle visible.

– Pasted Max Patch, click to expand. –
June 18, 2009 | 4:36 pm

in each of your gl.sketch command list messages, replace "reset" with "reset, glclearcolor 0. 0. 0. 0., glclear"

June 18, 2009 | 4:48 pm


I don’t know if this is a good solution, perhaps you should try poly~ to draw many circles simultaneous on the jit.window.
hope this can help.

Luis Marques

– Pasted Max Patch, click to expand. –
Viewing 5 posts - 1 through 5 (of 5 total)