Wow very nice!
Regards, Mav
well, i know that this is an old thread, but it would be nice if there was some information about this rendering technique at the wiki. Me and lots of other developers would like to start implementing this on some aircraft, but need some more information
sanhozay wrote in Fri Apr 14, 2017 11:59 pm:http://wiki.flightgear.org/ALS_technical_notes#ALS_procedural_lights
<intensity_scale>
<property>/rendering/nav-lights-factor</property>
</intensity_scale>
<?xml version="1.0"?>
<PropertyList>
<path>/Models/Effects/procedural_light.xml</path>
<animation>
<type>select</type>
<object-name>procedural_light</object-name>
<condition>
<greater-than>
<property>systems/electrical/outputs/inst_ac</property>
<value>30</value>
</greater-than>
</condition>
</animation>
<effect>
<inherits-from>Model/Effects/draken-light-nav-left</inherits-from>
<object-name>procedural_light</object-name>
</effect>
</PropertyList>
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>draken-light-nav-left</name>
<inherits-from>Effects/procedural-light</inherits-from>
<parameters>
<light_color_base_r type="float">1.000</light_color_base_r>
<light_color_base_g type="float">0.320</light_color_base_g>
<light_color_base_b type="float">0.320</light_color_base_b>
<light_color_center_r type="float">1.0</light_color_center_r>
<light_color_center_g type="float">1.0</light_color_center_g>
<light_color_center_b type="float">1.0</light_color_center_b>
<intensity_scale>
<use>/rendering/nav-lights-factor</use>
</intensity_scale>
<pointing_x type="float">0.7002075382097097</pointing_x>
<pointing_y type="float">1.0</pointing_y>
<pointing_z type="float">0.0</pointing_z>
<is_directional type="bool">true</is_directional>
<is_strobe type="bool">false</is_strobe>
<inner_angle type="float">0.96</inner_angle>
<outer_angle type="float">1.04</outer_angle>
<zero_angle type="float">1.13</zero_angle>
<outer_gain type="float">0.1</outer_gain>
</parameters>
</PropertyList>
Users browsing this forum: No registered users and 1 guest