suckah functionality on a fullscreen world


    Jan 30 2019 | 11:23 pm
    seems like it should be doable but how could I just collect the rgb value of a spot I click on the fullscreen world without suckah?

    • Jan 31 2019 | 5:15 pm
      if it's matrix input, you can use the mouse coordinates from clicking on the jit.window (output the dump out) to calculate a getcell message to the input matrix. you'd have to convert mouse coords to matrix-cell coords, but that's simply two scale objects.
      if it's gl input, you'll have to readback to a matrix using jit.gl.asyncread (for faster asynchronous readback) or jit.matrix (for slower synchronous readback).