## jit.gl.cornerpin & jit.gl.node : coordinates

Apr 07 2013 | 5:58 pm
Hi there, Thanks to the 'screentoworld' message you can get openGL coordinates from a jit.window. But if a drawing (i.e. from jit.gl.sketch) is sent to jit.gl.node, then sent to jit.gl.cornerpin, the drawing's coordinates are still OK considering jit.gl.render, but wrong considering jit.gl.sketch. Is it possible to get the right coordinates for jit.gl.sketch ? A capture and the patch to explain. Many thanks, Eric

• Apr 07 2013 | 6:00 pm
Patch in copy/paste way :
• Apr 08 2013 | 7:05 pm
if i understand you correctly, you want to get the click coordinates prior to the gl.cornerpin distortion? this not possible. perhaps a workaround is to create a preview gl-context, that displays the scene without the cornerpin, and use that to obtain your coordinates.