jit.sprinkle with jit.gl.pix possible ?
hello jitterists,
is it possible to bring the wonderfull [jit.sprinkle] effect to the opengl world using gen [jit.gl.pix] ?
the effect is a combination of edge detection and noise.
it would be realy great to transform this effect !
TT
You have to supply the noise texture to jit.gl.pix since jit.gl.pix doesn't have a noise operator, but otherwise it's totally possible. There are a few tricky details to this filter but here it is:
wow - Nice, Wesley.
I just had a little "make a funny face" photobooth++ session with this variation of it:
(sorry, v6)
thank you very much wesley !
now for me it is definitly time to switch to max6 :-)
is it difficult to implement a noise shader ?
it would be cool to use the gpu for generating noise !
TT
CPU-based noise functions rely on external state with some variable that is fed back onto itself. Since in shaders you can't read and write into the same buffer, GPU implementations have to take a different approach. I personally find it easier to just use a noise texture. Here's a GLSL-based noise shader:
hello wesley,
having a smal problem with the gen-sprinkle.
i can not adjust the "range x" and the "range y" independently like i can with the jit.sprinkle object. if i change both range attributes, i get always a diagonal distortion.
here is a smal patch, which shows the difference.
perhaps it is possible to get the same results with the gen variant.
thanks in advance,
TT