Re: debris & jit.gen &

Forums > Jitter > debris & jit.gen &
Oct 15 2012 | 9:26 pm

Not sure exactly what was going on there, but I took some time to simplify things a little and lean a little more on to do the heavy lifting in the patch. You will notice that the object that was converting rgb2luma now handles both the current frame and the previous one and packs the luminance maps together into a single texture (like using jit.pack). Also, it uses the built-in vector "dot" operation which is just a little more efficient and easier to read. Instead of downsampling the textures going into the main object, I use the "blocks" param to do a pixelated sample of the incoming textures. It’s a pretty simple idea once you get how it works, and it really simplifies the patch. I hope this helps.


-- Pasted Max Patch, click to expand. --

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required