Forums > Java

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


Lee
January 5, 2013 | 3:54 pm

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



Lee
January 13, 2013 | 12:40 pm

Hi. Anyone know how to do this?


January 15, 2013 | 5:50 am

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.



Lee
January 16, 2013 | 3:29 am

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


January 16, 2013 | 5:33 am

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


Viewing 5 posts - 1 through 5 (of 5 total)