I’ve been trying to figure out how to query the jit.qt.sketch object
to give me its current drawing position, something along the lines of
the "getpenloc" message one would send to an lcd. If it’s in the
docs its buried deep. Does anyone know the answer to this off the
top of their heads?
> Ouch, that hurts. Would there be some other way of determining if
> the object was drawing beyond the visible GL world?
If you can record your "movetos" and concatenate your matrix
transformations (glposition/scale/rotate) appropriately, you will
have a point. You can then use the JS accessible worldtoscreen to
determine if this point is in your window. In a future version
jit.gl.render will have worldtoscreen/screentoworld available as part
of the patcher.