[osg-users] OSG on overlapping screen wall

Ryven ryven.kicks.ass at gmail.com
Tue Sep 2 09:27:47 PDT 2008


Hi There,
to build a power wall without a blending zone, you should create 2
screens (and update your server layout) in xorg.conf, that way
osgviewer will span across all screens automatically.
to have a blending zone you can create 2 windows (one in each screen),
and adjust the projection of each camera/graphicscontext, check
osgwindows.cpp example

best regards


On Tue, Sep 2, 2008 at 5:11 PM, Yanling Liu <vrnova at gmail.com> wrote:
> Hello, I am using OSG with a overlapping screen wall (two projecters
> overlapped to create a large display). A problem is that osgViewer won't use
> all display area: Two projectors display two sub-screens overlapping
> together for a large screen. But osgViewer only use one sub-screen. I have
> tried to use different parameters of --display and --screen but no help at
> all.
>
> Please help... many thanks,
> Yanling
>
> This is my xorg.conf:
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 1.0  (buildmeister at builder58)  Thu Jul 17
> 18:39:00 PDT 2008
>
> # nvidia-settings: X configuration file generated by nvidia-settings
> # nvidia-settings:  version 1.0  (buildmeister at builder26)  Thu Feb 14
> 18:14:18 PST 2008
>
> Section "ServerLayout"
>     Identifier     "Layout0"
>     Screen      0  "Screen0" 0 0
>     InputDevice    "Keyboard0" "CoreKeyboard"
>     InputDevice    "Mouse0" "CorePointer"
> EndSection
>
> Section "Files"
>     RgbPath         "/usr/X11R6/lib/X11/rgb"
>     FontPath        "unix/:7100"
> EndSection
>
> Section "Module"
>     Load           "dbe"
>     Load           "extmod"
>     Load           "type1"
>     Load           "freetype"
>     Load           "glx"
> EndSection
>
> Section "ServerFlags"
>     Option         "Xinerama" "0"
> EndSection
>
> Section "InputDevice"
>
>     # generated from default
>     Identifier     "Mouse0"
>     Driver         "mouse"
>     Option         "Protocol" "auto"
>     Option         "Device" "/dev/input/mice"
>     Option         "Emulate3Buttons" "no"
>     Option         "ZAxisMapping" "4 5"
> EndSection
>
> Section "InputDevice"
>
>     # generated from data in "/etc/sysconfig/keyboard"
>     Identifier     "Keyboard0"
>     Driver         "kbd"
>     Option         "XkbLayout" "us"
>     Option         "XkbModel" "pc105"
> EndSection
>
> Section "Monitor"
>
>     # HorizSync source: xconfig, VertRefresh source: xconfig
>     Identifier     "Monitor0"
>     VendorName     "Unknown"
>     ModelName      "CRT-0"
>     HorizSync       30.0 - 140.0
>     VertRefresh     48.0 - 160.0
>     ModeLine       "1400x1050_96_wall" 205.4 1400 1512 1664 1928 1050 1051
> 1054 1110 -hsync -vsync
>     Option         "DPMS"
> EndSection
>
> Section "Device"
>     Identifier     "Videocard0"
>     Driver         "nvidia"
>     VendorName     "NVIDIA Corporation"
>     BoardName      "Quadro FX 5600"
> EndSection
>
> Section "Screen"
>     Identifier     "Screen0"
>     Device         "Videocard0"
>     Monitor        "Monitor0"
>     DefaultDepth    24
>     Option         "TwinView" "1"
>     Option         "TwinViewXineramaInfoOrder" "CRT-0"
>     Option         "metamodes" "CRT-0: 1400x1050_96_wall +0+0, CRT-1:
> 1400x1050_96_wall +1022+0"
>     Option         "Stereo" "3"
>     Option         "AddARGBGLXVisuals" "False"
>     SubSection     "Display"
>         Depth       24
>     EndSubSection
> EndSection
>
> Section "Extensions"
>     Option         "Composite" "off"
> EndSection
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



-- 
Rui Varela - rui.filipe.varela at gmail.com
Adetti/CGM - Computer Graphics and Multimedia Lab.
Adetti/Iscte - ICT Research & Development
Av. Forças Armadas, Edifício ISCTE 1600 - 082 Lisboa, Portugal
tel. +351 21 782 64 81 fax. +351 21 782 64 88
Visit our Web site: http://www.adetti.pt
Visit my "non professional" Web site: http://rui.filipe.varela.googlepages.com/



More information about the osg-users mailing list