Add volcano simulation for Etna
This commit is contained in:
parent
6575f2f71e
commit
3d1921dd1f
20 changed files with 2140 additions and 0 deletions
|
@ -15,4 +15,10 @@
|
|||
<side-activity type="int" userarchive="y">0</side-activity>
|
||||
</stromboli>
|
||||
|
||||
<etna>
|
||||
<southeast-activity type="int" userarchive="y">0</southeast-activity>
|
||||
<northeast-activity type="int" userarchive="y">0</northeast-activity>
|
||||
<flank-activity type="int" userarchive="y">0</flank-activity>
|
||||
</etna>
|
||||
|
||||
</PropertyList>
|
||||
|
|
BIN
Models/Volcanoes/Etna/ash.png
Executable file
BIN
Models/Volcanoes/Etna/ash.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 198 KiB |
150
Models/Volcanoes/Etna/etna.nas
Executable file
150
Models/Volcanoes/Etna/etna.nas
Executable file
|
@ -0,0 +1,150 @@
|
|||
var etna_ash_loop_flag = 0;
|
||||
var etna_fountain_loop_flag = 0;
|
||||
|
||||
var etna_se_factor = 1.0;
|
||||
var etna_ne_factor = 1.0;
|
||||
|
||||
var etna_se_probability = 0.985;
|
||||
var etna_ne_probability = 0.985;
|
||||
|
||||
|
||||
var etna_ash_loop = func (timer) {
|
||||
|
||||
if (etna_ash_loop_flag == 0)
|
||||
{
|
||||
print("Ending Etna ash eruption simulation.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (timer < 0.0)
|
||||
{
|
||||
|
||||
if (rand() > 0.6)
|
||||
{
|
||||
setprop("/environment/volcanoes/etna/ash-se-alpha", (rand() - 0.5) * 60.0);
|
||||
setprop("/environment/volcanoes/etna/ash-se-beta", (rand() - 0.5) * 60.0);
|
||||
setprop("/environment/volcanoes/etna/ash-ne-alpha", (rand() - 0.5) * 60.0);
|
||||
setprop("/environment/volcanoes/etna/ash-ne-beta", (rand() - 0.5) * 60.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
setprop("/environment/volcanoes/etna/ash-se-alpha", 0.0);
|
||||
setprop("/environment/volcanoes/etna/ash-se-beta", 0.0);
|
||||
setprop("/environment/volcanoes/etna/ash-ne-alpha", 0.0);
|
||||
setprop("/environment/volcanoes/etna/ash-ne-beta", 0.0);
|
||||
}
|
||||
timer = 2.0 + 3.0 * rand();
|
||||
}
|
||||
|
||||
timer = timer - 0.1;
|
||||
|
||||
settimer(func {etna_ash_loop(timer);}, 0.1);
|
||||
}
|
||||
|
||||
|
||||
var etna_fountain_loop = func (timer, strength, timer_sec, strength_sec) {
|
||||
|
||||
if (etna_fountain_loop_flag == 0)
|
||||
{
|
||||
print("Ending Etna lava fountain simulation.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if ((timer <= 0.0) and (rand() > etna_se_probability))
|
||||
{
|
||||
strength = 180.0 + 70.0 * rand();
|
||||
strength *= etna_se_factor;
|
||||
timer = 0.4 + 0.4 * rand();
|
||||
setprop("/environment/volcanoes/etna/ash-se-alpha", (rand() - 0.5) * 40.0);
|
||||
setprop("/environment/volcanoes/etna/ash-se-beta", (rand() - 0.5) * 40.0);
|
||||
}
|
||||
else if (timer <= 0.0)
|
||||
{
|
||||
strength = strength - 3.0;
|
||||
}
|
||||
else
|
||||
{
|
||||
strength = strength - 0.5;
|
||||
}
|
||||
|
||||
if (strength < 10.0) {strength = 10.0;}
|
||||
|
||||
|
||||
setprop("/environment/volcanoes/etna/se-strength", strength );
|
||||
setprop("/environment/volcanoes/etna/se-strength-inner", 0.95 * strength );
|
||||
setprop("/environment/volcanoes/etna/se-quantity", int(5.0*strength + rand()));
|
||||
setprop("/environment/volcanoes/etna/se-quantity-inner", int(1.0*strength + 0.2 * rand()));
|
||||
|
||||
timer = timer - 0.1;
|
||||
|
||||
|
||||
if ((timer_sec <= 0.0) and (rand() > etna_ne_probability))
|
||||
{
|
||||
strength_sec = 140.0 + 60.0 * rand();
|
||||
strength_sec *= etna_ne_factor;
|
||||
timer_sec = 0.2 + 0.2 * rand();
|
||||
setprop("/environment/volcanoes/etna/ash-ne-alpha", (rand() - 0.5) * 40.0);
|
||||
setprop("/environment/volcanoes/etna/ash-ne-beta", (rand() - 0.5) * 40.0);
|
||||
}
|
||||
else if (timer_sec <= 0.0)
|
||||
{
|
||||
strength_sec = strength_sec - 3.0;
|
||||
}
|
||||
else
|
||||
{
|
||||
strength_sec = strength_sec - 0.5;
|
||||
}
|
||||
|
||||
if (strength_sec < 10.0) {strength_sec = 10.0;}
|
||||
|
||||
|
||||
setprop("/environment/volcanoes/etna/ne-strength", 0.95 * ((0.9 + 0.1 * rand()) * strength_sec) );
|
||||
setprop("/environment/volcanoes/etna/ne-strength-inner", ((0.9 + 0.1 * rand()) * strength_sec) );
|
||||
setprop("/environment/volcanoes/etna/ne-quantity", int(5.0*strength_sec + rand()));
|
||||
setprop("/environment/volcanoes/etna/ne-quantity-inner", int(1.0*strength_sec + 0.2 * rand()));
|
||||
|
||||
timer_sec = timer_sec - 0.1;
|
||||
|
||||
settimer(func {etna_fountain_loop(timer, strength, timer_sec, strength_sec);}, 0.1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
etna_state_manager = func {
|
||||
|
||||
var state_se = getprop("/environment/volcanoes/etna/southeast-activity");
|
||||
var state_ne = getprop("/environment/volcanoes/etna/northeast-activity");
|
||||
var state_flank = getprop("/environment/volcanoes/etna/flank-activity");
|
||||
|
||||
if (((state_se > 2) or (state_ne > 2)) and (etna_ash_loop_flag == 0))
|
||||
{
|
||||
print ("Starting Etna ash eruption simulation.");
|
||||
etna_ash_loop_flag = 1;
|
||||
etna_ash_loop(0.0);
|
||||
}
|
||||
else if ((state_se < 3) and (state_ne < 3) and (etna_ash_loop_flag == 1))
|
||||
{
|
||||
etna_ash_loop_flag = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (((state_se == 2) or (state_ne == 2)) and (etna_fountain_loop_flag == 0))
|
||||
{
|
||||
print ("Starting Etna lava fountain simulation.");
|
||||
etna_fountain_loop_flag = 1;
|
||||
etna_fountain_loop(0.0, 0.0, 0.0, 0.0);
|
||||
}
|
||||
else if ((state_se < 2) and (state_ne < 2) and (etna_fountain_loop_flag == 1))
|
||||
{
|
||||
etna_fountain_loop_flag = 0;
|
||||
}
|
||||
}
|
||||
|
||||
# call state manager once to get correct autosaved behavior, otherwise use listener
|
||||
|
||||
etna_state_manager();
|
||||
|
||||
setlistener("/environment/volcanoes/etna/southeast-activity", etna_state_manager);
|
||||
setlistener("/environment/volcanoes/etna/northeast-activity", etna_state_manager);
|
142
Models/Volcanoes/Etna/etna_ne_ash_eruption.xml
Executable file
142
Models/Volcanoes/Etna/etna_ne_ash_eruption.xml
Executable file
|
@ -0,0 +1,142 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-ne-ash-eruption</name>
|
||||
<texture>ash.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>5</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>220</value>
|
||||
<spread>200</spread>
|
||||
</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>-20</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>20</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>5</value>
|
||||
<spread>1</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.5</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>100.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>1050.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>120</value>
|
||||
</life-sec>
|
||||
<mass-kg>6.15</mass-kg>
|
||||
<radius-m>0.05</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">false</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
|
||||
<!--<animation>
|
||||
<object-name>etna-ash-eruption</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ash-eruption</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>-->
|
||||
|
||||
</PropertyList>
|
142
Models/Volcanoes/Etna/etna_ne_ash_eruption_secondary.xml
Executable file
142
Models/Volcanoes/Etna/etna_ne_ash_eruption_secondary.xml
Executable file
|
@ -0,0 +1,142 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-ne-ash-eruption-secondary</name>
|
||||
<texture>ash.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>5</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>200</value>
|
||||
<spread>180</spread>
|
||||
</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>-20</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>20</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>10</value>
|
||||
<spread>1</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.5</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>100.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>850.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>80</value>
|
||||
</life-sec>
|
||||
<mass-kg>6.15</mass-kg>
|
||||
<radius-m>0.05</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">false</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ne-ash-eruption-secondary</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-ne-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ne-ash-eruption-secondary</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-ne-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
146
Models/Volcanoes/Etna/etna_ne_lava_fountain.xml
Executable file
146
Models/Volcanoes/Etna/etna_ne_lava_fountain.xml
Executable file
|
@ -0,0 +1,146 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-ne-lava-fountain</name>
|
||||
<texture>lava.png</texture>
|
||||
<emissive>true</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>sector</type>
|
||||
<radius-min-m>0.0</radius-min-m>
|
||||
<radius-max-m>25.0</radius-max-m>
|
||||
<phi-min-deg>0.0</phi-min-deg>
|
||||
<phi-max-deg>360.0</phi-max-deg>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>15</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<!--<value>60</value>-->
|
||||
<property>/environment/volcanoes/etna/ne-strength</property>
|
||||
<spread>150.0</spread>
|
||||
</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>10</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>40</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<property>/environment/volcanoes/etna/ne-quantity</property>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<value>1.0</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.2</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.2</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>4.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.5</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.1</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.1</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>4.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>22</value>
|
||||
</life-sec>
|
||||
<mass-kg>200.0</mass-kg>
|
||||
<radius-m>0.50</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ne-lava-fountain</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-ne-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ne-lava-fountain</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-ne-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
146
Models/Volcanoes/Etna/etna_ne_lava_fountain_inner.xml
Executable file
146
Models/Volcanoes/Etna/etna_ne_lava_fountain_inner.xml
Executable file
|
@ -0,0 +1,146 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-ne-lava-fountain-inner</name>
|
||||
<texture>lava.png</texture>
|
||||
<emissive>true</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>sector</type>
|
||||
<radius-min-m>0.0</radius-min-m>
|
||||
<radius-max-m>10.0</radius-max-m>
|
||||
<phi-min-deg>0.0</phi-min-deg>
|
||||
<phi-max-deg>360.0</phi-max-deg>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>3</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<!--<value>60</value>-->
|
||||
<property>/environment/volcanoes/etna/ne-strength-inner</property>
|
||||
<spread>150.0</spread>
|
||||
</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>10</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>40</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<property>/environment/volcanoes/etna/ne-quantity-inner</property>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<value>1.0</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.2</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.2</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.5</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.1</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.1</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>22</value>
|
||||
</life-sec>
|
||||
<mass-kg>200.0</mass-kg>
|
||||
<radius-m>0.50</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ne-lava-fountain-inner</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-ne-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ne-lava-fountain-inner</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-ne-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
141
Models/Volcanoes/Etna/etna_plinian_eruption.xml
Executable file
141
Models/Volcanoes/Etna/etna_plinian_eruption.xml
Executable file
|
@ -0,0 +1,141 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-plinian-eruption</name>
|
||||
<texture>ash.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>5</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>550</value>
|
||||
<spread>500</spread>
|
||||
</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>-10</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>10</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>32</value>
|
||||
<spread>1</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.6</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>800.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>8850.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>120</value>
|
||||
</life-sec>
|
||||
<mass-kg>6.15</mass-kg>
|
||||
<radius-m>0.015</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">false</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-plinian-eruption</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-plinian-eruption</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
142
Models/Volcanoes/Etna/etna_se_ash_eruption.xml
Executable file
142
Models/Volcanoes/Etna/etna_se_ash_eruption.xml
Executable file
|
@ -0,0 +1,142 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-se-ash-eruption</name>
|
||||
<texture>ash.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>5</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>220</value>
|
||||
<spread>200</spread>
|
||||
</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>-20</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>20</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>5</value>
|
||||
<spread>1</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.5</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>100.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>1050.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>120</value>
|
||||
</life-sec>
|
||||
<mass-kg>6.15</mass-kg>
|
||||
<radius-m>0.05</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">false</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
|
||||
<!--<animation>
|
||||
<object-name>etna-ash-eruption</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-ash-eruption</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>-->
|
||||
|
||||
</PropertyList>
|
142
Models/Volcanoes/Etna/etna_se_ash_eruption_secondary.xml
Executable file
142
Models/Volcanoes/Etna/etna_se_ash_eruption_secondary.xml
Executable file
|
@ -0,0 +1,142 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-se-ash-eruption-secondary</name>
|
||||
<texture>ash.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>5</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>200</value>
|
||||
<spread>180</spread>
|
||||
</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>-20</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>20</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>10</value>
|
||||
<spread>1</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.5</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>100.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>850.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>80</value>
|
||||
</life-sec>
|
||||
<mass-kg>6.15</mass-kg>
|
||||
<radius-m>0.05</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">false</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
|
||||
<animation>
|
||||
<object-name>etna-se-ash-eruption-secondary</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-se-ash-eruption-secondary</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
146
Models/Volcanoes/Etna/etna_se_lava_fountain.xml
Executable file
146
Models/Volcanoes/Etna/etna_se_lava_fountain.xml
Executable file
|
@ -0,0 +1,146 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-se-lava-fountain</name>
|
||||
<texture>lava.png</texture>
|
||||
<emissive>true</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>sector</type>
|
||||
<radius-min-m>0.0</radius-min-m>
|
||||
<radius-max-m>25.0</radius-max-m>
|
||||
<phi-min-deg>0.0</phi-min-deg>
|
||||
<phi-max-deg>360.0</phi-max-deg>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>15</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<!--<value>60</value>-->
|
||||
<property>/environment/volcanoes/etna/se-strength</property>
|
||||
<spread>150.0</spread>
|
||||
</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>10</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>40</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<property>/environment/volcanoes/etna/se-quantity</property>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<value>1.0</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.2</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.2</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>4.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.5</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.1</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.1</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>4.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>22</value>
|
||||
</life-sec>
|
||||
<mass-kg>200.0</mass-kg>
|
||||
<radius-m>0.50</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-se-lava-fountain</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-se-lava-fountain</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
146
Models/Volcanoes/Etna/etna_se_lava_fountain_inner.xml
Executable file
146
Models/Volcanoes/Etna/etna_se_lava_fountain_inner.xml
Executable file
|
@ -0,0 +1,146 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-se-lava-fountain-inner</name>
|
||||
<texture>lava.png</texture>
|
||||
<emissive>true</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>global</attach>
|
||||
|
||||
<placer>
|
||||
<type>sector</type>
|
||||
<radius-min-m>0.0</radius-min-m>
|
||||
<radius-max-m>10.0</radius-max-m>
|
||||
<phi-min-deg>0.0</phi-min-deg>
|
||||
<phi-max-deg>360.0</phi-max-deg>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>0</theta-min-deg>
|
||||
<theta-max-deg>3</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>360</phi-max-deg>
|
||||
<speed-mps>
|
||||
<!--<value>60</value>-->
|
||||
<property>/environment/volcanoes/etna/se-strength-inner</property>
|
||||
<spread>150.0</spread>
|
||||
</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>10</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>40</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<property>/environment/volcanoes/etna/se-quantity-inner</property>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<value>1.0</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.2</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.2</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.5</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.1</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.1</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>1.0</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>22</value>
|
||||
</life-sec>
|
||||
<mass-kg>200.0</mass-kg>
|
||||
<radius-m>0.50</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-se-lava-fountain-inner</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-alpha</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<object-name>etna-se-lava-fountain-inner</object-name>
|
||||
<type>rotate</type>
|
||||
<property>/environment/volcanoes/etna/ash-se-beta</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
107
Models/Volcanoes/Etna/etna_smoke_main.xml
Executable file
107
Models/Volcanoes/Etna/etna_smoke_main.xml
Executable file
|
@ -0,0 +1,107 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>stromboli-smoke</name>
|
||||
<texture>smoke_turbulent.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>local</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>90</theta-min-deg>
|
||||
<theta-max-deg>90</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>0</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>20</value>
|
||||
<spread>10</spread>
|
||||
</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>-40</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>40</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>1</value>
|
||||
<spread>1</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.6</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>50.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.1</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>350.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>120</value>
|
||||
</life-sec>
|
||||
<mass-kg>1.0</mass-kg>
|
||||
<radius-m>2.50</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
107
Models/Volcanoes/Etna/etna_smoke_minor.xml
Executable file
107
Models/Volcanoes/Etna/etna_smoke_minor.xml
Executable file
|
@ -0,0 +1,107 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>etna-smoke-minor</name>
|
||||
<texture>smoke_turbulent.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<heading-deg>0.0</heading-deg>
|
||||
|
||||
|
||||
<attach>local</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>90</theta-min-deg>
|
||||
<theta-max-deg>90</theta-max-deg>
|
||||
<phi-min-deg>0</phi-min-deg>
|
||||
<phi-max-deg>0</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>20</value>
|
||||
<spread>10</spread>
|
||||
</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>-40</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>40</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>4</value>
|
||||
<spread>1</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.6</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>10.0</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</red>
|
||||
<green>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</green>
|
||||
<blue>
|
||||
<property>/rendering/scene/diffuse/green</property>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.1</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>50.0</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>30</value>
|
||||
</life-sec>
|
||||
<mass-kg>1.0</mass-kg>
|
||||
<radius-m>2.50</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind type="bool">true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
BIN
Models/Volcanoes/Etna/lava.png
Executable file
BIN
Models/Volcanoes/Etna/lava.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
167
Models/Volcanoes/Etna/northeast_crater.xml
Executable file
167
Models/Volcanoes/Etna/northeast_crater.xml
Executable file
|
@ -0,0 +1,167 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- Etna northeast crater activity -->
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
|
||||
<model>
|
||||
<path>etna_smoke_main.xml</path>
|
||||
<offsets>
|
||||
<x-m>50.0</x-m>
|
||||
<y-m>-10.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>3</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_smoke_minor.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>110.0</y-m>
|
||||
<z-m>-20.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>3</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_smoke_minor.xml</path>
|
||||
<offsets>
|
||||
<x-m>-120.0</x-m>
|
||||
<y-m>40.0</y-m>
|
||||
<z-m>-20.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>3</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_smoke_minor.xml</path>
|
||||
<offsets>
|
||||
<x-m>-60.0</x-m>
|
||||
<y-m>-80.0</y-m>
|
||||
<z-m>-20.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>3</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_ne_lava_fountain.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_ne_lava_fountain_inner.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_ne_ash_eruption.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>2</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_ne_ash_eruption_secondary.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<value>2</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</PropertyList>
|
BIN
Models/Volcanoes/Etna/smoke_turbulent.png
Executable file
BIN
Models/Volcanoes/Etna/smoke_turbulent.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
156
Models/Volcanoes/Etna/southeast_crater.xml
Executable file
156
Models/Volcanoes/Etna/southeast_crater.xml
Executable file
|
@ -0,0 +1,156 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- Etna southeast crater activity -->
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
|
||||
<!--<model>
|
||||
<path>etna_plinian_eruption.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
|
||||
</model>-->
|
||||
|
||||
<model>
|
||||
<path>etna_smoke_main.xml</path>
|
||||
<offsets>
|
||||
<x-m>-50.0</x-m>
|
||||
<y-m>-80.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>3</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_smoke_minor.xml</path>
|
||||
<offsets>
|
||||
<x-m>-150.0</x-m>
|
||||
<y-m>100.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>3</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_smoke_minor.xml</path>
|
||||
<offsets>
|
||||
<x-m>80.0</x-m>
|
||||
<y-m>-100.0</y-m>
|
||||
<z-m>-40.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>3</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_se_lava_fountain.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_se_lava_fountain_inner.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_se_ash_eruption.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>2</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>etna_se_ash_eruption_secondary.xml</path>
|
||||
<offsets>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
<heading-deg>0</heading-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<value>2</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</PropertyList>
|
|
@ -113,6 +113,15 @@ geo.put_model("Models/Volcanoes/Stromboli/central_crater.xml", 38.7892, 15.2105)
|
|||
geo.put_model("Models/Volcanoes/Stromboli/side_crater.xml", 38.7950, 15.2139);
|
||||
}
|
||||
|
||||
var set_etna = func {
|
||||
|
||||
io.include("Models/Volcanoes/Etna/etna.nas");
|
||||
geo.put_model("Models/Volcanoes/Etna/southeast_crater.xml", 37.7472, 14.9984 );
|
||||
geo.put_model("Models/Volcanoes/Etna/northeast_crater.xml", 37.7552, 14.9967 );
|
||||
|
||||
}
|
||||
|
||||
|
||||
# volcano definitions
|
||||
|
||||
var kilauea = volcano.new("Kilauea", 19.39, -155.20);
|
||||
|
@ -123,6 +132,10 @@ var stromboli = volcano.new("Stromboli", 38.78, 15.21);
|
|||
stromboli.set = set_stromboli;
|
||||
append(volcano_manager.volcano_array, stromboli);
|
||||
|
||||
var etna = volcano.new("Etna", 37.74, 14.99 );
|
||||
etna.set = set_etna;
|
||||
append(volcano_manager.volcano_array, etna);
|
||||
|
||||
|
||||
# start the manager when autosaved (need some delay for terrain loading to finish)
|
||||
|
||||
|
|
141
gui/dialogs/volcano-etna.xml
Normal file
141
gui/dialogs/volcano-etna.xml
Normal file
|
@ -0,0 +1,141 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<name>Etna</name>
|
||||
<layout>vbox</layout>
|
||||
<default-padding>1</default-padding>
|
||||
<modal>false</modal>
|
||||
<width>400</width>
|
||||
|
||||
<empty>
|
||||
<pref-height>6</pref-height>
|
||||
</empty>
|
||||
|
||||
<text>
|
||||
<label>Etna activity</label>
|
||||
</text>
|
||||
|
||||
<empty>
|
||||
<pref-height>4</pref-height>
|
||||
</empty>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>table</layout>
|
||||
|
||||
<text>
|
||||
<label>Southeast crater activity</label>
|
||||
<halign>left</halign>
|
||||
<row>0</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<label>dormant</label>
|
||||
<row>0</row>
|
||||
<col>1</col>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<name>se</name>
|
||||
<row>0</row>
|
||||
<col>2</col>
|
||||
<min>0</min>
|
||||
<max>3</max>
|
||||
<step>1</step>
|
||||
<live>true</live>
|
||||
<property>/environment/volcanoes/etna/southeast-activity</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
<object-name>se</object-name>
|
||||
</binding>
|
||||
</slider>
|
||||
|
||||
<text>
|
||||
<label>active</label>
|
||||
<row>0</row>
|
||||
<col>3</col>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<label>Northeast crater activity</label>
|
||||
<halign>left</halign>
|
||||
<row>1</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<label>dormant</label>
|
||||
<row>1</row>
|
||||
<col>1</col>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<name>ne</name>
|
||||
<row>1</row>
|
||||
<col>2</col>
|
||||
<min>0</min>
|
||||
<max>3</max>
|
||||
<step>1</step>
|
||||
<live>true</live>
|
||||
<property>/environment/volcanoes/etna/northeast-activity</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
<object-name>ne</object-name>
|
||||
</binding>
|
||||
</slider>
|
||||
|
||||
<text>
|
||||
<label>active</label>
|
||||
<row>1</row>
|
||||
<col>3</col>
|
||||
</text>
|
||||
|
||||
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
<empty>
|
||||
<pref-height>12</pref-height>
|
||||
</empty>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<empty>
|
||||
<pref-height>20</pref-height>
|
||||
</empty>
|
||||
|
||||
<group>
|
||||
<layout>table</layout>
|
||||
|
||||
<button>
|
||||
<row>0</row>
|
||||
<col>0</col>
|
||||
<legend>OK</legend>
|
||||
<default>true</default>
|
||||
<equal>true</equal>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button>
|
||||
<row>0</row>
|
||||
<col>1</col>
|
||||
<legend>Close</legend>
|
||||
<default>true</default>
|
||||
<key>Esc</key>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
</group>
|
||||
|
||||
</PropertyList>
|
Loading…
Reference in a new issue