Hi Anders,
FYI, Ive submitted a fix for this issue. Once merged by Robert, let me know if you still have issues doing these operations. André From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders Backman Sent: September-20-07 2:55 AM To: [email protected] Subject: [osg-users] BUG?: mouse coordinate changes after window move Hi, Im using a recent svn version (a few weeks old) of osg under windows (both VISTA and XP). I have noticed that if I: 1. Start osgviewer cow.osg 2. press 'f' to get into windowed mode 3. if I now move the whole window and release it, I can see that the view/projection changes slightly. Another illustration: A small app that output the coordinates of a mouse click in the window 1. start that application and make it windowed 'f' 2. click on a specific point in the scene, ea.getX (), ea.getY() reports: (132, 171) 3. move the window a little bit, click in the same point in the scene ea.getX(), ea.getY() reports: (139 ,121) 4. move the window again to any position on the screen, and now ea.getX (), ea.getY() reports consistent results. So to me it seems that the first move-window messes (or corrects) the view/projection. Now I tried this on a ubuntu machine, but on that one the windowed mode did not work at all. Pressing 'f' results in a brief flicker of the window, and I can for a fraction of a second see a smaller cow, no window decoration in the lower left corner of the display. Anyone else noticed these two problems? -- ________________________________________________________________ Anders Backman Email: [EMAIL PROTECTED] HPC2N/VRlab Phone: +46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 http://www.cs.umu.se/~andersb <http://www.cs.umu.se/~andersb>
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

