Jit.gl handle jit.matrix query


    Apr 11 2006 | 9:30 pm
    Hi,
    In Jitter tutorial 31, it’s shown how an OpenGL scene can be rendered to a jit.matrix destination by using the drawto message. The jit.gl.handle object allows direct mouse manipulation of an image along any of the x,y,z axes as well as its rotation on a jit.window or jit.pwindow. This isn’t possible on a jit.matrix. Although the jit.matrix can receive an image that is moving it can’t seem to receive an image that is being directly manipulated.
    Is there a way of showing the direct mouse manipulation in the jit.matrix? For example is there a message similar to drawto which could copy output which is being rendered to a jit.window onto a jit.matrix?

    • Apr 11 2006 | 9:53 pm
      On Apr 11, 2006, at 2:30 PM, vangillies wrote:
      > In Jitter tutorial 31, it’s shown how an OpenGL scene can be > rendered to a jit.matrix destination by using the drawto message. > The jit.gl.handle object allows direct mouse manipulation of an > image along any of the x,y,z axes as well as its rotation on a > jit.window or jit.pwindow. This isn’t possible on a > jit.matrix. Although the jit.matrix can receive an image that is > moving it can’t seem to receive an image that is being > directly manipulated.
      You could send messages on to the object in question bypassing jit.gl.handle. See the Jitter3DUtils.js and max mailing list examples that discuss using these mehtods for performing handle like functionality in the absence of jit.gl.handle.
      > Is there a way of showing the direct mouse manipulation in the > jit.matrix? For example is there a message similar to drawto which > could copy output which is being rendered to a jit.window onto a > jit.matrix?
      jit.gl.sketch glreadpixels or jit.desktop. Both of which are covered in the jit.gl.render-tomatrix.pat example patch.
      -Joshua
    • Apr 12 2006 | 7:25 am
      Thanks for the pointer. It looks like I've got a lot more learning to do...