Rutt-Etra synth simulation

Hi,
I’m trying to make a .tox to emulate the Rutt-Etra effect in the same way than Vade do on QuartzComposer : [url]http://v002.info/plugins/v002-rutt-etra/[/url]
Felix Turner also made a WebGL adaptation here: [url]http://airtightinteractive.com/demos/js/ruttetra/[/url]
My patch is functional but a little bit slow, I can’t get it running realtime at 60FPS, however it doesn’t look so heavy to process.
I think the problem is that the central part of the patch is processed by the CPU, because of the "TOP to"CHOP I use to calculate the Z positions of the points proportionaly to the image brightness.
Any ideas to improve this project ?
Thanks in advance

RuttEtra_RD.21.toe (6.31 KB)

Have a look at this older post of mine,

[url]PSYCHESCAPE - #5 by archo-p - Shared .tox Components - TouchDesigner forum

I’m using it to create landscape like features, but the technique is very similar I believe, you just replace the noise with your desired image.

The trick is in the GLSL shader as opposed to trying to do it by converting a texture to channel data. I believe I am just using the red channel to drive the height of the points, but it could be modified to use luminance or average, or what have you.

Thanks a lot for your help! i’m working on it, but GLSL is quite hard to learn…