"Robert Osfield" <[EMAIL PROTECTED]> writes: > Hi Loic, > > On 5/2/07, Loic Dachary <[EMAIL PROTECTED]> wrote: >> >> Apparently osgViewer, as used by the osg examples, ignores the >> DISPLAY >> environment variable. DISPLAY=3Dfoo:0 osgtext does not have the expecte= > d >> behaviour >> and it tries to connect to the default display :0 anyways. What's the >> canonical >> way of setting the osgViewer "traits" ? >> > > At present DISPLAY isn't checked. I must admit I had thought of doing th= > is, > but we could at it. The appropriate place would possible be the the defa= > ult > constructor of osg::GraphisContext::ScreenIdentifier. > > Right now you can manually you can set the hostName, displayNum and > screenNum in the GraphicsContext::Traits structure (it subclasses from > ScreenIndentifier).
Does this mean that it's not possible to run the examples if your display is not :0 ? I feel like I'm missing something. Cheers, -- +33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED] http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED] Latitude: 48.86962325498033 Longitude: 2.3623046278953552 _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
