1
0
Fork 0

Moisture, engine spray and contrail improvements/optimization

This commit is contained in:
vezza 2020-02-26 12:30:59 +01:00
parent 475a600c71
commit 4c3e8ad3f2
10 changed files with 243 additions and 223 deletions

View file

@ -1,15 +1,5 @@
<?xml version="1.0"?>
<!--
PRESTES Hangar - 2010 - presteshangar.wikidot.com
=================================================
Creation July 08, 2010 12:11:39 AM
Revisions
0.0.1 July 08, 2010 12:11:52 AM
Original code author Maggse.
-->
<PropertyList>
<particlesystem>
<!-- <type>trail</type>-->
@ -18,10 +8,10 @@ Original code author Maggse.
<emissive>false</emissive>
<lighting>false</lighting>
<offsets>
<x-m>0</x-m>
<x-m>3</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
<pitch-deg>90</pitch-deg>
<pitch-deg>-90</pitch-deg>
</offsets>
<attach>local</attach>
@ -40,49 +30,96 @@ Original code author Maggse.
<spread>0</spread>
</speed>
<rotation-speed>
<x-min-deg-sec>15</x-min-deg-sec>
<y-min-deg-sec>-15</y-min-deg-sec>
<z-min-deg-sec>15</z-min-deg-sec>
<x-max-deg-sec>-15</x-max-deg-sec>
<y-max-deg-sec>15</y-max-deg-sec>
<z-max-deg-sec>-15</z-max-deg-sec>
<x-min-deg-sec>0</x-min-deg-sec>
<y-min-deg-sec>0</y-min-deg-sec>
<z-min-deg-sec>0</z-min-deg-sec>
<x-max-deg-sec>0</x-max-deg-sec>
<y-max-deg-sec>0</y-max-deg-sec>
<z-max-deg-sec>0</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>50</value>
<value>150</value>
<spread>0</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red><value>0.95</value></red>
<green><value>0.95</value></green>
<blue><value>0.95</value></blue>
<alpha><value>0.05</value></alpha>
</color>
<size>
<value>1.3</value>
</size>
</start>
<end>
<color>
<red><value>1</value></red>
<green><value>1</value></green>
<blue><value>1</value></blue>
<alpha><value>0.02</value></alpha>
</color>
<size>
<value>0.4</value>
</size>
</end>
<particle>
<start>
<color>
<red>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.00000001</value>
</alpha>
</color>
<size>
<value>1</value>
</size>
</start>
<end>
<color>
<red>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.3</value>
</alpha>
</color>
<size>
<value>2</value>
</size>
</end>
<life-sec><value>1</value></life-sec>
<life-sec><value>0.4</value></life-sec>
<mass-kg>0.4</mass-kg>
<radius-m>0.1</radius-m>
</particle>

View file

@ -1,85 +1,137 @@
<?xml version="1.0"?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<particlesystem>
<name>engine-spray-reverse</name>
<texture>res/smoke.png</texture>
<emissive>false</emissive>
<lighting>false</lighting>
<attach>local</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>0</theta-min-deg>
<theta-max-deg>360</theta-max-deg>
<phi-min-deg>-5</phi-min-deg>
<phi-max-deg>5</phi-max-deg>
<speed-mps>
<value>0</value>
<spread>0</spread>
</speed-mps>
<rotation-speed>
<x-max-deg-sec>15</x-max-deg-sec>
<x-min-deg-sec>-15</x-min-deg-sec>
<y-max-deg-sec>15</y-max-deg-sec>
<y-min-deg-sec>-15</y-min-deg-sec>
<z-max-deg-sec>15</z-max-deg-sec>
<z-min-deg-sec>-15</z-min-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<property>100</property>
<particlesystem>
<name>engine-spray-reverse</name>
<texture>res/smoke.png</texture>
<emissive type="bool">false</emissive>
<lighting type="bool">false</lighting>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
<pitch-deg>180</pitch-deg>
</offsets>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>-1.5</theta-min-deg>
<theta-max-deg>1.5</theta-max-deg>
<phi-min-deg>-1.5</phi-min-deg>
<phi-max-deg>1.5</phi-max-deg>
<speed-mps>
<value>0</value>
<spread>0</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red><value>0.95</value></red>
<green><value>0.95</value></green>
<blue><value>0.95</value></blue>
<alpha><value>0.05</value></alpha>
</color>
<size>
<value>0.5</value>
</size>
</start>
<end>
<color>
<red><value>1</value></red>
<green><value>1</value></green>
<blue><value>1</value></blue>
<alpha><value>0.02</value></alpha>
</speed-mps>
<rotation-speed>
<x-min-deg-sec>0</x-min-deg-sec>
<y-min-deg-sec>0</y-min-deg-sec>
<z-min-deg-sec>0</z-min-deg-sec>
<x-max-deg-sec>0</x-max-deg-sec>
<y-max-deg-sec>0</y-max-deg-sec>
<z-max-deg-sec>0</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>50</value>
<spread>0</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.3</value>
</alpha>
</color>
<size>
<value>5</value>
</size>
<value>2</value>
</size>
</start>
<end>
<color>
<red>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.00000001</value>
</alpha>
</color>
<size>
<value>3</value>
</size>
</end>
<life-sec>
<value>1.5</value>
</life-sec>
<mass-kg>0.025</mass-kg>
<radius-m>0.175</radius-m>
</particle>
<program>
<fluid>air</fluid>
<gravity>true</gravity>
<wind>false</wind>
</program>
<life-sec>
<value>0.4</value>
</life-sec>
</particlesystem>
<mass-kg>0.5</mass-kg>
<radius-m>0.1</radius-m>
</particle>
</PropertyList>
<program>
<fluid>air</fluid>
<gravity type="bool">true</gravity>
<wind typ="bool">true</wind>
</program>
</particlesystem>
</PropertyList>

View file

@ -48,8 +48,8 @@
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<and>
<greater-than>
@ -84,8 +84,8 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
@ -108,9 +108,6 @@
<property>engines/engine[0]/n1</property>
<value>60</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -151,9 +148,6 @@
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -183,15 +177,12 @@
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>60</value>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>

View file

@ -48,8 +48,8 @@
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<and>
<greater-than>
@ -84,8 +84,8 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
@ -151,9 +151,6 @@
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -183,15 +180,12 @@
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>60</value>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>

View file

@ -35,8 +35,8 @@
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<and>
<greater-than>
@ -71,8 +71,8 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
@ -95,9 +95,6 @@
<property>engines/engine[0]/n1</property>
<value>65</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -138,9 +135,6 @@
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -174,17 +168,14 @@
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>0.875</x-m>
<x-m>1.5</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-1</z-m>
</offsets>
</model>

View file

@ -35,8 +35,8 @@
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<and>
<greater-than>
@ -71,8 +71,8 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
@ -95,9 +95,6 @@
<property>engines/engine[1]/n1</property>
<value>65</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -138,9 +135,6 @@
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -169,22 +163,19 @@
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<property>engines/engine[1]/n1-actual</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
<x-m>0.875</x-m>
<x-m>1.5</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
<z-m>-1</z-m>
</offsets>
</model>

View file

@ -37,8 +37,8 @@
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<and>
<greater-than>
@ -73,8 +73,8 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
@ -97,9 +97,6 @@
<property>engines/engine[0]/n1</property>
<value>65</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -140,9 +137,6 @@
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -172,15 +166,12 @@
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>60</value>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>

View file

@ -97,9 +97,6 @@
<property>engines/engine[1]/n1</property>
<value>60</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -140,9 +137,6 @@
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -172,15 +166,12 @@
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>60</value>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>

View file

@ -34,8 +34,8 @@
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<and>
<greater-than>
@ -70,8 +70,8 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
@ -94,9 +94,6 @@
<property>engines/engine[0]/n1</property>
<value>65</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -137,9 +134,6 @@
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -160,8 +154,8 @@
<value>1</value>
</greater-than>
<greater-than>
<property>environment/relative-humidity</property>
<value>60</value>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
@ -169,15 +163,12 @@
</less-than-equals>
<greater-than>
<property>engines/engine[0]/n1-actual</property>
<value>60</value>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>

View file

@ -34,8 +34,8 @@
</model>
<model>
<name>contrail</name>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrail</name>
<condition>
<and>
<greater-than>
@ -70,8 +70,8 @@
<!-- Takeoff/Landing Engine Moisture -->
<model>
<name>moisture</name>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moisture</name>
<condition>
<and>
<greater-than>
@ -94,9 +94,6 @@
<property>engines/engine[1]/n1</property>
<value>60</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -137,9 +134,6 @@
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>
@ -169,15 +163,12 @@
</less-than-equals>
<greater-than>
<property>engines/engine[1]/n1-actual</property>
<value>60</value>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.5</value>
<value>0.75</value>
</greater-than>
<!-- <not>
<property>sim/crashed</property>
</not> -->
</and>
</condition>
<offsets>