Page 1 of 1
Touch detection from multiple sources
Posted: 14 Nov 2013, 13:16
by joysprod
Long shot: I have been wondering how I could draw on screen from multiple TUIO pads with a different colour representing each pad. Doesn't seem to be a way using the Touch Paint as all touches just use the one node.
Anyone got some ideas?
Peter
Re: Touch detection from multiple sources
Posted: 14 Nov 2013, 15:27
by Christian Krix Schmidt
I don't see how you could do it directly. THe node just does not support any possibility of using different sources. I thought maybe use the TouchPaint node on the TUIO devices with Ventuz outputting VGA over IP and bringing all those together on the target platform. But programming something yourself might be more time- and budget oriented.
Or maybe something haveway inbetween could work. Use the touch ripple node to get the touch data in. And write a small Shader that takes several input XY coordinates to draw the lines. There should be plenty of open source shaders like that available online. They are not very complex. And you could use the Tutorial in the Ventuz Manual on how to integrate external Shaders to integrate one into Ventuz. I did dabble a bit myself with Shaders and the basic stuff is pretty straight forward. Just an idea.