jit.phys.world to jit.gl.cornerpin

    Feb 25 2013 | 5:42 pm
    Hey guys I'm sure this is straight forward but i just can't figure it out correctly.
    I'm looking at jit.phys.world with a jit.gl.camera,
    now how do i send the camera view to jit.gl.cornerpin?
    Any help would be great,

    • Feb 25 2013 | 7:00 pm
      the easiest is probably to enable @capture 1 on you gl.camera, and send the output texture directly to the gl.cornerpin.
    • Feb 25 2013 | 7:27 pm
      Hey Rob thanks for your reply,
      Ive done what you said but it didn't have the result i expected. it gave a grey screen,
      here I've pasted my patch with camera capture set to 0 so you can see what I've got going on,
      It is the world i am trying to attach the cornerpin to, to map it onto a real object.
      Hope you can help me out!
    • Feb 25 2013 | 7:43 pm
      ok, in this case it's probably better to use jit.gl.node.
      simply add all your opengl objects to the jit.gl.node sub-context (by conntecting the middle outlet, or by providing the sub-context name to as the first argument to your opengl object).
      then enable capturing on the gl.node, and send to the cornerpin.
    • Feb 25 2013 | 8:40 pm
      Thanks for your fast reply Rob, perfect all working great.