2022-01-29 14:05:57 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<path>light.ac</path>
|
|
|
|
<nopreview/>
|
|
|
|
|
|
|
|
<params>
|
|
|
|
<power-source>/controls/lighting/nav-lights</power-source>
|
|
|
|
<name>pointlight</name>
|
|
|
|
<x-m>0</x-m>
|
|
|
|
<y-m>0</y-m>
|
|
|
|
<z-m>0</z-m>
|
|
|
|
<direction>
|
|
|
|
<x/>
|
|
|
|
<y/>
|
|
|
|
<z/>
|
|
|
|
</direction>
|
|
|
|
<ambient>
|
|
|
|
<r>0.5</r>
|
|
|
|
<g>0.5</g>
|
|
|
|
<b>0.4</b>
|
|
|
|
</ambient>
|
|
|
|
<specular>
|
|
|
|
<r>1.0</r>
|
|
|
|
<g>1.0</g>
|
|
|
|
<b>1.0</b>
|
|
|
|
</specular>
|
|
|
|
<attenuation>
|
2022-01-30 09:27:21 +00:00
|
|
|
<c>1.0</c>
|
|
|
|
<l>0.7</l>
|
|
|
|
<q>1.1</q>
|
2022-01-29 14:05:57 +00:00
|
|
|
</attenuation>
|
|
|
|
<inner-angle>0.75</inner-angle>
|
|
|
|
<outer-angle>0.85</outer-angle>
|
|
|
|
<zero-angle>0.9</zero-angle>
|
|
|
|
<outer-gain>0.1</outer-gain>
|
|
|
|
<dist-scale>1.5</dist-scale>
|
|
|
|
<range-m>50</range-m>
|
|
|
|
</params>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>scale</type>
|
|
|
|
<x-offset>0.175</x-offset>
|
|
|
|
<y-offset>0.175</y-offset>
|
|
|
|
<z-offset>0.175</z-offset>
|
|
|
|
</animation>
|
2022-01-30 09:27:21 +00:00
|
|
|
|
2022-02-19 22:29:01 +00:00
|
|
|
<animation>
|
|
|
|
<type>scale</type>
|
|
|
|
<object-name>light</object-name>
|
|
|
|
<property>sim/current-view/z-offset-m</property>
|
|
|
|
<x-min>1.0</x-min>
|
|
|
|
<y-min>1.0</y-min>
|
|
|
|
<z-min>1.0</z-min>
|
|
|
|
<x-factor>-0.065</x-factor>
|
|
|
|
<y-factor>-0.065</y-factor>
|
|
|
|
<z-factor>-0.065</z-factor>
|
|
|
|
</animation>
|
|
|
|
|
2022-01-29 14:05:57 +00:00
|
|
|
<animation>
|
|
|
|
<type>dist-scale</type>
|
|
|
|
<object-name>light</object-name>
|
2022-02-19 22:29:01 +00:00
|
|
|
<factor>100</factor>
|
2022-01-29 14:05:57 +00:00
|
|
|
<interpolation>
|
|
|
|
<entry>
|
|
|
|
<ind>0</ind>
|
|
|
|
<dep alias="/params/dist-scale"/>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
2022-02-19 22:29:01 +00:00
|
|
|
<ind alias="/params/range-m"/>
|
|
|
|
<dep>1</dep>
|
2022-01-29 14:05:57 +00:00
|
|
|
</entry>
|
|
|
|
</interpolation>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>noshadow</type>
|
|
|
|
<object-name>light</object-name>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>light</object-name>
|
|
|
|
<condition>
|
|
|
|
<property alias="/params/power-source"/>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<effect>
|
2022-01-30 09:27:21 +00:00
|
|
|
<name>Effects/pointlight</name>
|
2022-01-29 14:05:57 +00:00
|
|
|
<object-name>light</object-name>
|
|
|
|
<inherits-from>Effects/procedural-light</inherits-from>
|
|
|
|
<parameters>
|
|
|
|
<texture n="0">
|
|
|
|
<type>white</type>
|
|
|
|
</texture>
|
|
|
|
<light_color_base_r alias="/params/ambient/r"/>
|
|
|
|
<light_color_base_g alias="/params/ambient/g"/>
|
|
|
|
<light_color_base_b alias="/params/ambient/b"/>
|
|
|
|
<light_color_center_r alias="/params/specular/r"/>
|
|
|
|
<light_color_center_g alias="/params/specular/g"/>
|
|
|
|
<light_color_center_b alias="/params/specular/b"/>
|
2022-01-30 09:27:21 +00:00
|
|
|
<intensity_scale>1.0</intensity_scale>
|
2022-01-29 14:05:57 +00:00
|
|
|
<pointing_x alias="/params/direction/x"/>
|
|
|
|
<pointing_y alias="/params/direction/y"/>
|
|
|
|
<pointing_z alias="/params/direction/z"/>
|
2022-01-30 09:27:21 +00:00
|
|
|
<is_directional type="bool">false</is_directional>
|
2022-01-29 14:05:57 +00:00
|
|
|
<is_strobe type="bool">false</is_strobe>
|
|
|
|
<inner_angle alias="/params/inner-angle"/>
|
|
|
|
<outer_angle alias="/params/outer-angle"/>
|
|
|
|
<zero_angle alias="/params/zero-angle"/>
|
|
|
|
<outer_gain alias="/params/outer-gain"/>
|
|
|
|
<visibility><use>/environment/ground-visibility-m</use></visibility>
|
|
|
|
<avisibility><use>/environment/visibility-m</use></avisibility>
|
|
|
|
<lthickness><use>/environment/ground-haze-thickness-m</use></lthickness>
|
|
|
|
<terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt>
|
|
|
|
<eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt>
|
|
|
|
<terminator><use>/environment/terminator-relative-position-m</use></terminator>
|
|
|
|
</parameters>
|
|
|
|
</effect>
|
|
|
|
|
|
|
|
<light>
|
|
|
|
<name alias="/params/name"/>
|
|
|
|
<type>point</type>
|
|
|
|
<position>
|
|
|
|
<x alias="/params/x-m"/>
|
|
|
|
<y alias="/params/y-m"/>
|
|
|
|
<z alias="/params/z-m"/>
|
|
|
|
</position>
|
|
|
|
<direction>
|
|
|
|
<pointing_x alias="/params/direction/x"/>
|
|
|
|
<pointing_y alias="/params/direction/y"/>
|
|
|
|
<pointing_z alias="/params/direction/z"/>
|
|
|
|
</direction>
|
|
|
|
<ambient>
|
|
|
|
<r alias="/params/ambient/r"/>
|
|
|
|
<g alias="/params/ambient/g"/>
|
|
|
|
<b alias="/params/ambient/b"/>
|
|
|
|
<a>1.0</a>
|
|
|
|
</ambient>
|
|
|
|
<diffuse>
|
|
|
|
<r alias="/params/specular/r"/>
|
|
|
|
<g alias="/params/specular/g"/>
|
|
|
|
<b alias="/params/specular/b"/>
|
|
|
|
<a>1.0</a>
|
|
|
|
</diffuse>
|
|
|
|
<specular>
|
|
|
|
<r alias="/params/specular/r"/>
|
|
|
|
<g alias="/params/specular/g"/>
|
|
|
|
<b alias="/params/specular/b"/>
|
|
|
|
<a>1.0</a>
|
|
|
|
</specular>
|
|
|
|
<attenuation>
|
|
|
|
<c alias="/params/attenuation/c"/>
|
|
|
|
<l alias="/params/attenuation/l"/>
|
|
|
|
<q alias="/params/attenuation/q"/>
|
|
|
|
</attenuation>
|
|
|
|
<range-m alias="/params/range-m"/>
|
2022-01-30 09:27:21 +00:00
|
|
|
<dim-factor><property alias="/params/power-source"/></dim-factor>
|
2022-01-29 14:05:57 +00:00
|
|
|
</light>
|
|
|
|
|
|
|
|
</PropertyList>
|