Hi Jan, On Dec 18, 2007 1:22 PM, Jan Ciger <[EMAIL PROTECTED]> wrote: > > An external script that invokes the 3D app only works when entering an > > application, not once its running, so it does have a bit of limited > > applicability. > > I understand that, however, how often do you need to change resolution > once the application is running? If it is needed only once when starting > it, then it is not a problem.
The OSG is a general purpose graphics library so it needs to accommodate a wide range of application usage, and also try to make it seemless across platforms - this is the advantage with wrapping it up with existing OSG interfaces for it - ones that are only implemented for Win32 so far. > > You can always make the app called and the path application/user > > definable with a sensible default for each platform one doesn't need > > to hard wire it - if a platform doesn't have anything sensible then > > you'd just have a blank app string and would therefore not call the > > res changing app. > > That could work, but I am not sure whether it is actually worth the > trouble - the original poster only wanted to change the resolution > before starting the application, not during runtime, so this could be an > overkill. Perhaps a poll to figure out whether this is a one-off request > or a more general issue would be a good thing to do. > > > BTW, I'm just trying to explore possible solutions here. > > I see. I would say that a most future-proof solution would be to > implement support for the RandR extension > (http://keithp.com/~keithp/talks/randr/). > > This is now supported by everything running X.Org X servers (Linux, > various BSDs), however proprietary Unix doesn't support it (SGI, Sun, > HP). I am not sure whether that would be a significant issue or not. > However, it is not 100% foolproof solution, because not all drivers > support it (ATI and nVidia do, though). RandR support would be a reasonable way forward. SGI and other older workstation class machines are not so prone to users wishing to change resolution - Once I had 1280x1024 on an SGI Indigo Elan back in 92 this didn't change till my final contact with SGI's with the Oynx IR2... If if users do wish support on these platforms they can step forward and implement it. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

