jit.gl.scanslide))
do not tell me how some could be arranged in an analog object jit.scanslide in jit.gl.pix interpretation?
thank you!)
unfortunately, the jit.scanslide filter can't be done with the jitter gen objects because it uses its immediate output for the next input. The general form of the filter is
out = (in-prev_out)*slide_factor+prev_out
where prev_out was the result from the previous cell. To make this in Gen, you'd need to be able to read from the output, which isn't permitted at this point. It's impossible with jit.gl.pix because you simply can't do this on a GPU, but could be implemented in jit.gen or jit.pix in the future. I'll log a feature request.
here's the GLSL code something like inside the loop.
but it still works in the jit.scanslide 1000000 times faster)) Interestingly he can do it? is it possible to do this interpolation out of the loop?