Adding jit.gl.handle to jit.gl.sketch in java

Jan 5, 2013 at 3:54pm

Adding jit.gl.handle to jit.gl.sketch in java

Hi, not sure how to go about this using Java – anyone any experience of this or point me at the docs on how to link these objs together?

thx Lee

#65935
Jan 13, 2013 at 12:40pm

Hi. Anyone know how to do this?

#237462
Jan 15, 2013 at 5:50am

you can add a jit.gl.handle object to a context in java, and then query it’s position and rotatexyz attributes every frame, and send those values to the jit.gl.sketch object.

#237463
Jan 16, 2013 at 3:29am

ah ok, i thought there maybe some way of linking outputs of objects to inputs of others (i.e. like plugging them together in max) rather than having to manually do this… thx

#237464
Jan 16, 2013 at 5:33am

you can also enable auto_handle mode for gl.handle (handle.auto_handle=1;)
might work for your needs.

#237465

You must be logged in to reply to this topic.