Hi Tom, Am 29.09.10 02:43, schrieb Thomas Hogarth: > Good news on this > > All seems to be working, I've also improved > the IPhoneWindowingSystemInterface to handle true resolutions and multiple > screens. So on IPad we should now be able to set a window to an external > screen and also change the res of the screen (I don't have an IPad though so > needs testing, but should work, gulp :) ) > > In the end I've gone for the approach of IPhoneWindowingSystemInterface > providing the actual pixel res of the screen. Then by default if the user > does not set a viewContentScaleFactor in their windowData, the screens > scaleFactor is used. This means the default context created by osg viewer > will always be full pixel res and the window will be full points res. This > was so that I didn't have to create a context of a different size to that > requested by default. > > If the user needs backward compatibility they have to set the traits width > and height themselves and set the windowData viewContentScaleFactor to 1.0. > > I still need to do a bit of testing as I think my objective c code is > leaking but I'll get the changes checked in asap.
Wow, nice work, I am eager to test your new code on the ipad with an external display. I added yesterday support for MSAA to GraphicsWindowIPhone, it's available when you setup your base sdk to a version >= 4.0 and set the GraphicsContext::Traits accordingly. cheers, Stephan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

