| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<PropertyList> |
| 3 |
|
| 4 |
<name>procedural-light-nav-tail</name> |
| 5 |
<inherits-from>Effects/procedural-light</inherits-from> |
| 6 |
|
| 7 |
<parameters> |
| 8 |
<light_color_base_r type="float">0.790</light_color_base_r> |
| 9 |
<light_color_base_g type="float">0.790</light_color_base_g> |
| 10 |
<light_color_base_b type="float">1.000</light_color_base_b> |
| 11 |
<light_color_center_r type="float">1.0</light_color_center_r> |
| 12 |
<light_color_center_g type="float">1.0</light_color_center_g> |
| 13 |
<light_color_center_b type="float">1.0</light_color_center_b> |
| 14 |
<intensity_scale type="float">1.0</intensity_scale> |
| 15 |
|
| 16 |
<!-- Arc is 140 deg, is 70 deg per side --> |
| 17 |
<pointing_x type="float">-1.0</pointing_x> |
| 18 |
<pointing_y type="float">0.0</pointing_y> |
| 19 |
<pointing_z type="float">0.0</pointing_z> |
| 20 |
|
| 21 |
<is_directional type="bool">true</is_directional> |
| 22 |
<is_strobe type="bool">false</is_strobe> |
| 23 |
|
| 24 |
<!-- Angles are 0.0 at 0 deg from pointing direction, 1.0 at |
| 25 |
90/-90 deg, and 0.0 at 180/-180 deg. |
| 26 |
|
| 27 |
For tail navigation light we use -70/-50 .. +50/+70 for |
| 28 |
the inner/outer range. This gives an arc of 60/110 deg, |
| 29 |
or 30/55 deg from center. |
| 30 |
|
| 31 |
Value = sin(angle in degrees) |
| 32 |
|
| 33 |
0.76604444311 = 50 deg (* 2 = 50 deg inner angle) |
| 34 |
0.9396926207859083 = 70 deg (* 2 = 140 deg outer angle) |
| 35 |
--> |
| 36 |
<inner_angle type="float">0.76604444311</inner_angle> |
| 37 |
<outer_angle type="float">0.9396926207859083</outer_angle> |
| 38 |
<zero_angle type="float">0.9396926207859083</zero_angle> |
| 39 |
<outer_gain type="float">0.1</outer_gain> |
| 40 |
</parameters> |
| 41 |
|
| 42 |
</PropertyList> |