[osg-users] Event Adapter getXNormalized doesn't return normalized value

2008-08-29 Thread Mike Greene
I have a OSG 2.3.7 application with an OSG viewer and two slave cameras. The first camera is a normal drive type view. The other is rotated 90 degrees so that it looks down on a terrain. I am using a pick event adapter with code gleaned from on of the OSG examples. The pick works fine on the

Re: [osg-users] Event Adapter getXNormalized doesn't return normalized value

2008-08-29 Thread René Molenaar
Today I experienced the same problem (with scrolling in a composite viewer). I got the normalized coordinates in terms of the previous view. I solved it by first checking if the coordinate is between -1.0 and 1.0, the second event was in terms of the correct camera. Maybe the 'switch' to the