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=foo:0 osgtext does not have the expected
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 this,
but we could at it. The appropriate place would possible be the the default
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).
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/