Howto:CameraGroup talks

From FlightGear wiki
Revision as of 21:42, 18 July 2017 by Hooray (talk | contribs)
Jump to navigation Jump to search

$FG_HOME/cameras.xml

<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>

<camera>
    <host-name type="string"></host-name>
    <display>0</display>
    <screen>0</screen>
    <shear-x>2</shear-x>
    <shear-y>1</shear-y>
    <width>320</width>
    <height>240</height>
    <fullscreen type="bool">false</fullscreen>
</camera>

</PropertyList>


Open the Nasal Console:

var path = getprop("/sim/fg-home") ~ "/cameras.xml";
io.read_properties(path, "/sim/rendering");