GL Shapes with Chromakey Feedback

    Aug 23 2012 | 8:33 am
    I'm still getting acclimated with GL - but I'm especially in the dark about jit.slabs/jit.gen functions... What I'd like to do is pretty straight-forward outside of the GL realm: simply taking a matrix, chromakeying out colors, and feeding it back into itself, slightly askew.
    I've seen the example of using jit.videoplane for feedback and seen the chromakey.jsx slab example - but I'm still pretty uncertain on how to combine these two elements, firstly...and importantly, how to expand this effect to 3-dimensional geometry, rather than flat planes.
    Any direction would be greatly appreciated.

    • Aug 23 2012 | 8:46 am
      Here is where I'm at with the patch currently...
    • Aug 23 2012 | 6:32 pm
      The simplest way to do this kind of thing is to capture whatever geometry you want involved in the feedback process with a You can take the texture output of it and feed it into a chain of slabs. In the patch below, I've used an xfade for feedback. You'll want to replace it with a chromakey. Also, I used a very simple translation in the feedback path for illustration purposes. You can do some much more complicated things there.
    • Aug 26 2012 | 3:53 pm
      Is that a 6.0.7 Max patch, Wesley? ;-)
    • Aug 26 2012 | 4:37 pm
      Yes, but it'll work in 6.0.5