-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Björn,
On 07/03/2013 05:54 PM, Björn Blissing wrote: > NP! > > I have also made progress with the sensor integration and have > successfully added correction for chromatic aberration in my > shader. I can upload it tomorrow if anyone is interested. > > Best regards Björn I have tested your code and it does work! You have done a good job there. I had to disable all the OVR-related functionality, because the SDK isn't available for Linux yet, but for test it is good enough. However, I am wondering about two things. - - Why a composite viewer? I was trying to do it using a normal viewer, having two RTT cameras and then two ortho cameras rendering into the two halves of the viewport. I thought that composite viewer is more for the case when you have several *independent* views (like the 3-4 views in Blender/3DS Max), not a single one rendered in a specific way (side-by-side stereo). - - The second thing is related - I have noticed that you are manually copying the view matrix to both RTT cameras, despite both views having the camera manipulator assigned. It would be more logical to make the RTT camera slave of the master camera of each view, then the view matrix would auto-update from the camera manipulator and the copying in the main loop wouldn't be needed. I have tried that, but I have a problem with the projection matrix of the slaves being messed up, despite setting the master's projection matrix to identity. Could you test this? I am really wondering whether it is me doing something dumb or whether my OSG is buggy :( Regards, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFR1K4Wn11XseNj94gRAj48AKCxOfsicFlMnDFV2zkm8qTstVl08ACeI0+Z joL6ujLTGyVPVEVl7PMiv1I= =uLhB -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org