diff --git a/Materials/regions/arctic_sea.xml b/Materials/regions/arctic_sea.xml new file mode 100644 index 000000000..790cc91ee --- /dev/null +++ b/Materials/regions/arctic_sea.xml @@ -0,0 +1,116 @@ +<?xml version="1.0"?> +<!-- General settings for icebergs in the ocean --> +<PropertyList> + <!-- Define the boxes with given latitude/longitude --> + <condition> + <and> + <equals> + <property>sim/startup/season</property> + <value>summer</value> + </equals> + <or> + <!-- Arctic --> + <and> + <greater-than> + <property>position/longitude-deg</property> + <value>-180.0</value> + </greater-than> + <less-than> + <property>position/longitude-deg</property> + <value>180.0</value> + </less-than> + <greater-than> + <property>position/latitude-deg</property> + <value>68.0</value> + </greater-than> + <less-than> + <property>position/latitude-deg</property> + <value>90.0</value> + </less-than> + </and> + <!-- Greenland --> + <and> + <greater-than> + <property>position/longitude-deg</property> + <value>-60.0</value> + </greater-than> + <less-than> + <property>position/longitude-deg</property> + <value>-30.0</value> + </less-than> + <greater-than> + <property>position/latitude-deg</property> + <value>60.0</value> + </greater-than> + <less-than> + <property>position/latitude-deg</property> + <value>90.0</value> + </less-than> + </and> + <!-- Antarctica --> + <and> + <greater-than> + <property>position/longitude-deg</property> + <value>-180.0</value> + </greater-than> + <less-than> + <property>position/longitude-deg</property> + <value>180.0</value> + </less-than> + <greater-than> + <property>position/latitude-deg</property> + <value>-90.0</value> + </greater-than> + <less-than> + <property>position/latitude-deg</property> + <value>-68.0</value> + </less-than> + </and> + </or> + + </and> + </condition> + + <xsize>400</xsize> + <ysize>400</ysize> + <object-group> + <range-m>40000</range-m> + <object> + <path>Models/Geometry/container_carrier.ac</path> + <coverage-m2>500000000</coverage-m2> + <heading-type>random</heading-type> + </object> + </object-group> + <object-group> + <range-m>40000</range-m> + <object> + <path>Models/Maritime/Ice/iceberg1.xml</path> + <path>Models/Maritime/Ice/iceberg2.xml</path> + <path>Models/Maritime/Ice/iceberg3.xml</path> + <coverage-m2>5000000</coverage-m2> + <heading-type>random</heading-type> + </object> + </object-group> + <ambient> + <r>0.0</r> + <g>0.0</g> + <b>0.0</b> + <a>1.0</a> + </ambient> + <diffuse> + <r>0.4</r> + <g>0.4</g> + <b>0.4</b> + <a>1.0</a> + </diffuse> + <specular> + <r>0.0</r> + <g>0.0</g> + <b>0.2</b> + <a>1.0</a> + </specular> + <shininess>0</shininess> + <solid>0</solid> + <rolling-friction>2</rolling-friction> + <bumpiness>0.8</bumpiness> +</PropertyList> diff --git a/Materials/regions/materials.xml b/Materials/regions/materials.xml index 99897235f..4d6252b51 100644 --- a/Materials/regions/materials.xml +++ b/Materials/regions/materials.xml @@ -2618,7 +2618,14 @@ <load-resistance>1e30</load-resistance> </material> + <!-- ICEBERGS IN THE ARCTIC SEA REGIONS --> + <material include="Materials/regions/arctic_sea.xml"> + <name>Ocean</name> + <effect>Effects/water</effect> + <texture>Terrain/water.png</texture> + </material> + <!-- DEFAULT SUMMER DEFINITIONS -->