jit.sprinkle with jit.gl.pix possible ?


    Dec 29 2011 | 5:31 pm
    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

    • Dec 29 2011 | 8:09 pm
      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:
    • Dec 29 2011 | 9:00 pm
      wow - Nice, Wesley.
      I just had a little "make a funny face" photobooth++ session with this variation of it:
      (sorry, v6)
    • Dec 30 2011 | 8:35 pm
      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
    • Dec 30 2011 | 10:26 pm
      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:
    • Feb 27 2012 | 3:01 pm
      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