Hi Cullam,
On Wednesday 14 May 2008 14:56:07 cullam Bruce-Lockhart wrote:
> Hi there. I'm investigating into the best way to run three copies of
> Flight Gear on one PC. Currently, I'm using a medium line PC, and
> I've been able to run three unconnected copies simultaneously at a
> semi-adequate level. However, I'm about to get a much more souped up
> machine with dual video cards running through SLI, a 3Ghz Core 2 Duo
> Processor, and 3 GB of RAM. So system resources shouldn't be an
> issue.
>
> All the answers on this I've managed to find talked about how I can
> run several copies on multiple PCs, and network them. However, it
> clearly works on just one PC. So how can I get them to talk to one
> another? I'm getting my telemetry data live from an Aerodonde UAV, as
> opposed to flying the thing myself. So there might be a simple way of
> simply passing that data to all three copies at once, and then just
> pointing the view ports in different directions.
>
> Even better, is there a way that I can get one copy of Flightgear to
> run multiple view windows? Meaning that it would only need to model
> the world once, and then render it in three separate view ports. This
> would save an awful lot of graphics power. Thanks a lot of the help!
> -cullam
it will be pretty easy to use one FlightGear process with multiple
views:
But I can answer your question only for Linux. If your OS is Linux you
need an "xorg.conf" configuration with as many "Device" and "Screen"
sections as monitors you would like to connect. You should not use SLI.
In your case the maximum will be four monitors. In addition you have to
add a camera section in the "preferences.xml" file in your FlightGear
data directory.
Here is my "xorg.conf" configuration:
##################################################
Section "ServerLayout"
Identifier "Default Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Geforce 8800 GTS 512"
BusID "PCI:1:0:0"
Screen 0
Option "AddARGBGLXVisuals" "True"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Geforce 8800 GTS 512"
BusID "PCI:1:0:0"
Screen 1
Option "AddARGBGLXVisuals" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
DefaultDepth 24
Option "metamodes" "DFP-1: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
##################################################
Here is the part of the camera section of "preferences.xml":
##################################################
<rendering>
...
<!-- begin camera section for multiple screens -->
<camera>
<host-name type="string"></host-name>
<display>0</display>
<screen>0</screen>
<shear-x>0</shear-x>
<shear-y>0</shear-y>
<width>1920</width>
<height>1200</height>
<fullscreen type="bool">true</fullscreen>
</camera>
<camera>
<host-name type="string"></host-name>
<display>0</display>
<screen>1</screen>
<shear-x>2</shear-x>
<shear-y>0</shear-y>
<width>1280</width>
<height>1024</height>
<fullscreen type="bool">true</fullscreen>
</camera>
<!-- end camera section for multiple screens -->
...
</rendering>
##################################################
Matthias
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users