I am a newbie and just trying to work out how I can control diffferent things with the jit.gl.handle object.
At the minute I have a .obj and also a quicktime movie both being sent to the same GL render object. I can spin the movie around with the mouse but I want to be able to switch and also spin the .obj object then switch back and affect the movie etc. I have tap tools installed in case this helps.
you can simply change the object that handle is connected to, using
send/receive or gate or something like that.
At the minute the jit.gl.handle is connected to the render object with s and r objects. So you are saying that I can just send the jit.gl.handle to other objects that are being rendered by the same render object and that is it?
I will try that tonight when i get home.
thanks for the help.
I just tested, it’s been a while since I played with it. Turns out that its
a little trickier. The handle keeps its position from the last moved object.
You can work around it like this:
- disconnect handle from current object
- request rotation and position properties from object you want to connect
to next (getposition, getrotate)
- send them to handle, for initialization.
- connect handle to object.
I have a vague memory about an attribute for handle in case you use multiple
of them, each object its own, but I can’t find anything in the docs. Maybe
someone else can clear this up.
C74 RSS Feed | © Copyright Cycling '74