<div dir="ltr">Hi Maxim,<br><div class="gmail_extra"><br><div class="gmail_quote">On 3 August 2015 at 15:02, Maxim Kuzmin <span dir="ltr"><<a href="mailto:maxrider@mail.ru" target="_blank">maxrider@mail.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For the first time, I would like to use mouse. It will be represented as it is - as cursor.</blockquote><div><br></div><div>When you using a mouse the mouse coordinates need to mapped from the distortion correction coordinates back into eye coordinates and then into world coordinates to be able to the intersection.<br><br></div><div>In the svn/trunk and OSG-3.4 branch of the OSG there is support in osgViewer for remapping coordinates when the viewer has slave Camera's that do distortion correction via texture coordinates, however, if the shader is doing the distortion correction or if the distortion correction Camera is placed in the scene graph this remapping can't be done, so you'll have to come up with a mechanism yourself.<br><br></div><div>Robert.<br></div><div> </div></div></div></div>