[osg-users] Oculus DK2 and intersections

Robert Osfield robert.osfield at gmail.com
Mon Jan 18 02:47:41 PST 2016


On 18 January 2016 at 10:47, Maxim Kuzmin <maxrider at mail.ru> wrote:
> Hi Robert,
>
> You've mentioned that osgViewer in OSG 3.4 has support of coordinates remapping:
>
>
> robertosfield wrote:
>>
>> 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,
>>
>
>
> Could you name entities (classes, methods, etc.), which are responsible for this functionality?

There are various colloborating elements, from what I recall the key
parts are found in osgGA::GUIEventAdapter, and
osgViewer::Viewer/CompositeViewer::reprojectPointerData(..) and
generateSlavePointerData(..) implementations.


More information about the osg-users mailing list