how can i visualize(videos) data(reacTIVision) for an interactive table?
I’m doing a personal project of mine that looks like Reactable.I use the same technique; reacTIVision [http://reactivision.sourceforge.net/] for the codes* and this MAX patch to read everything:
I have it working so far that the codes* (and the values thereof) can read and that I can "manipulate"audio. I would have also a visual aspect there. That's what I'm not quite succeed. I, like many who ask something on the forum, am new to MAX. ;).
What I want to make:
As you can see in the picture below the codes are on a plate/window.
These are seen by a camera and read by Reactivision / TUIO. Under this plate is a beamer. It is the intention that the projector video's projects.
This is an external screen. (If video's are way too difficult, I am also happy with images only :))
These videos depending on values. These values are from the codes.
These values are as follows:
- ID of the code. Each has a unique ID code that corresponds to an unique video. This is a number from 0 to infinity. The number of these codes with the corresponding images must be easy to extend.
- Appear / Disappear of the code. There is a bang for when the code is detectend by the camera and when is leavs from camea sight (It makes the video appear and play / stop).
- Position of the code. These are 2 numeric values: X and Y coordinates.
- Rotation angle of the code. The camera detects how many degrees the code is turned. (0 to 360)
Scale of the visuals. This value does not becomegenerated by TUIO but is e.g. linked to the angle of rotation. For example, if you spin, get the video larger. (What I also failed to get yet.)
[first image: framework diagram-01.jpg. See below.]
How it will look like
When I put a code on the window a video Appear (Appear / Disappear fear) at the same place on the window. (This video belongs only to that code. So for each code has its own visual.) When i move the code aroudn on the windows, the video moves (the x and y coordinates). When i rotate the code the video is about the same angle of rotation. The scale can be fixed of dynamisch (eg according the rotation).
[second image: schematic drawing-01.jpg. See below.]
What i’m looking for: :)
I am looking for a base patch that can do these things.
This I can then expand / costumize. Because it is intended that I learn from it :).
I googled alot and the only thing I found is that jit.lcd (+ jit.windo for the 2nd screen: the projector) could work. The problem is that I don’t know how. But that’s why I’m here ;).
Thanks for your help!
* I mean this with "code".
My patch is downloaded often (:]), but no reaction.
Does anybody have an idea how i can do this?
Forums > Jitter