20,741
edits
m (→Problems: https://sourceforge.net/p/flightgear/mailman/message/37282835) |
m (→Testing: https://sourceforge.net/p/flightgear/mailman/message/37330229/) |
||
| Line 83: | Line 83: | ||
Latest code can be found on the 'next' branch of flightgear, simgear and fgdata. | Latest code can be found on the 'next' branch of flightgear, simgear and fgdata. | ||
=== Testing === | |||
You can try using several windows on the camera group to test, no need to use several monitors. Here is the test setup Fernando is using, just two 800x600 windows <ref>https://sourceforge.net/p/flightgear/mailman/message/37330229/</ref>: https://pastebin.com/5HVsre8G | |||
<syntaxhighlight lang="xml"><?xml version="1.0"?> | |||
<PropertyList> | |||
<sim> | |||
<rendering> | |||
<camera-group> | |||
<window> | |||
<name type="string">main</name> | |||
<host-name type="string"></host-name> | |||
<display>1</display> | |||
<screen>0</screen> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>800</width> | |||
<height>600</height> | |||
<decoration type = "bool">true</decoration> | |||
<fullscreen type = "bool">false</fullscreen> | |||
</window> | |||
<window> | |||
<name type="string">secondary</name> | |||
<host-name type="string"></host-name> | |||
<display>1</display> | |||
<screen>0</screen> | |||
<x>800</x> | |||
<y>0</y> | |||
<width>800</width> | |||
<height>600</height> | |||
<decoration type = "bool">true</decoration> | |||
<fullscreen type = "bool">false</fullscreen> | |||
</window> | |||
<camera> | |||
<name type="string">middlecamera</name> | |||
<window> | |||
<name>main</name> | |||
</window> | |||
<view> | |||
<heading-deg type="double">45.0</heading-deg> | |||
</view> | |||
<frustum> | |||
<top>0.133</top> | |||
<bottom>-0.133</bottom> | |||
<left>-.1668</left> | |||
<right>.1668</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<name type="string">leftcamera</name> | |||
<window> | |||
<name>secondary</name> | |||
</window> | |||
<view> | |||
<heading-deg type="double">0.0</heading-deg> | |||
</view> | |||
<frustum> | |||
<top>0.133</top> | |||
<bottom>-0.133</bottom> | |||
<left>-.1668</left> | |||
<right>.1668</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<gui> | |||
<window> | |||
<name type="string">main</name> | |||
</window> | |||
</gui> | |||
</camera-group> | |||
</rendering> | |||
</sim> | |||
</PropertyList> | |||
</syntaxhighlight> | |||
== Background == | == Background == | ||