jit.pwindow callbacks and GL drawing with JS

May 16, 2006 at 6:26pm

jit.pwindow callbacks and GL drawing with JS

is there a way to render directly to a pwindow from javascript (keeping things on the GPU)? Also can Javascript listener get callbacks from the pwindow?



May 16, 2006 at 7:27pm

Just name the pwindow as you would normally for use with
jit.gl.render. The JitterListener notification should work properly
when supplied with the jit.pwindow name (internally, this is how the
info is sent on to jit.gl.handle, so it should work fine), but let us
know if you encounter any problems. Worst case, you can always filter
mouse messages and send them into the js object in the patcher,
though let us know any obstacles you encounter which seem like they
should be addressed by changes in functionality/features.



You must be logged in to reply to this topic.