jit.pwindow attribute "pickray" ?


    Nov 07 2013 | 2:00 am
    Hey, I was looking for a way to have mouseclicks inside a pwindow reporting location in pwindow's cell coordinates rather than screen pixels, then i saw the "pickray" attribute. So i tried to check that, then instantanously the jit.pwindow became buggy and glitchy, and it outputs a "pickray" message wiht numbers which are not looking so relevant. Hence, here i am, seeking to enlight my numbed soul.

    • Nov 07 2013 | 4:41 pm
      patch?
    • Nov 07 2013 | 6:18 pm
      oh a very simple one really, it was just a test ; didn't save it, i'm afraid i did not remember it well. btw macosx 1068 max614
      to get the bug : i created those things, then checked the "pickray", then try to resize/move the pwindow. Here, have a picture :
    • Nov 07 2013 | 6:22 pm
      ah it's funnny, it did'nt apear like that on my screen, rather like that :
    • Nov 07 2013 | 9:30 pm
      Hi. I've noticed it too.
      Here are the steps: 1. Turn "pickray" on. 2. Click inside the pwindow. 3. Try to grow the pwindow (bottom right corner or through the inspector, it doesn't matter). 4. It's not a momentary glitch. The pwindow never updates, even if you bang the matrix.
      On a side note, the first and second values that get out of pickray seem to be the normalized coordinates (-1 to 1) on the x and y axis, but Rob Ramirez is certainly in a better position to clarify it.
    • Nov 27 2013 | 10:22 pm
      apologies for missing this post. pickray only functions when the pwindow is the drawing destination of a gl-context.