1
0
Fork 0

Regional texturing for tropical South America

This commit is contained in:
Thorsten Renk 2012-10-04 15:38:10 +03:00 committed by Stuart Buchanan
parent 397fdf1cc4
commit ce4452c5d0
2 changed files with 149 additions and 3 deletions

View file

@ -1282,6 +1282,123 @@
<tree-width-m>12.0</tree-width-m>
</material>
<!-- REGIONAL DEFINITIONS - SOUTH AMERICAN RAINFOREST BELT -->
<material include="Materials/regions/tropical_south_america.xml">
<name>EvergreenBroadCover</name>
<name>EvergreenForest</name>
<effect>Effects/forest</effect>
<texture-set>
<texture>Terrain/rainforest-hawaii.png</texture>
<texture n="11">Terrain/rainforest-hawaii.png</texture>
<texture n="12">Terrain/dirtrock.png</texture>
</texture-set>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>10000000.0</light-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Trees/tropical-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
<tree-height-m>35.0</tree-height-m>
<tree-width-m>30.0</tree-width-m>
<rolling-friction>1</rolling-friction>
<bumpiness>1</bumpiness>
</material>
<material include="Materials/regions/tropical_south_america.xml">
<name>HerbTundraCover</name>
<name>HerbTundra</name>
<effect>Effects/herbtundra</effect>
<texture-set>
<texture>Terrain/herbtundra.png</texture>
<texture n="11">Terrain/grass_hires.png</texture>
<texture n="12">Terrain/dirtrock.png</texture>
</texture-set>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>4000000.0</light-coverage>
<diffuse>
<r>0.93</r>
<g>0.95</g>
<b>0.93</b>
<a>1.0</a>
</diffuse>
<specular>
<r>0.1</r>
<g>0.12</g>
<b>0.1</b>
<a>1.0</a>
</specular>
<shininess>1.2</shininess>
<solid>1</solid>
<friction-factor>0.8</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.15</bumpiness>
<load-resistance>1e30</load-resistance>
<wood-coverage>70000.0</wood-coverage>
<tree-texture>Trees/tropical-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
<tree-height-m>25.0</tree-height-m>
<tree-width-m>18.0</tree-width-m>
</material>
<material include="Materials/regions/tropical_south_america.xml">
<name>MixedCropPastureCover</name>
<name>MixedCrop</name>
<name>ComplexCrop</name>
<texture-set>
<texture>Terrain/shrub1.png</texture>
<texture n="11">Terrain/grass_hires.png</texture>
<texture n="12">Terrain/dirtrock.png</texture>
</texture-set>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage>
<solid>1</solid>
<friction-factor>0.9</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.7</bumpiness>
<load-resistance>1e30</load-resistance>
<wood-coverage>10000.0</wood-coverage>
<tree-texture>Trees/tropical-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
<tree-height-m>20.0</tree-height-m>
<tree-width-m>12.0</tree-width-m>
</material>
<material include="Materials/regions/tropical_south_america.xml">
<effect>Effects/crop</effect>
<name>DryCropPastureCover</name>
<name>DryCrop</name>
<texture-set>
<texture>Terrain/tundra-hawaii-green.png</texture>
<texture n="11">Terrain/grass_hires.png</texture>
<texture n="12">Terrain/dirtrock.png</texture>
</texture-set>
<xsize>2000</xsize>
<ysize>2000</ysize>
<solid>1</solid>
<friction-factor>0.9</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.6</bumpiness>
<load-resistance>1e30</load-resistance>
<light-coverage>2000000.0</light-coverage>
<wood-coverage>50000.0</wood-coverage>
<tree-texture>Trees/tropical-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
<tree-height-m>20.0</tree-height-m>
<tree-width-m>12.0</tree-width-m>
</material>
<!-- DEFAULT SUMMER DEFINITIONS -->
<material>
@ -1788,9 +1905,11 @@
<name>MixedTundraCover</name>
<name>Cemetery</name>
<effect>Effects/landmass-nowood</effect>
<texture>Terrain/tundra.png</texture>
<texture>Terrain/tundra2.png</texture>
<texture>Terrain/tundra3.png</texture>
<texture-set>
<texture>Terrain/tundra-hawaii-green.png</texture>
<texture n="11">Terrain/rainforest-hawaii.png</texture>
<texture n="12">Terrain/dirtrock.png</texture>
</texture-set>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>4000000.0</light-coverage>

View file

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!-- General settings for all tropical South American materials -->
<PropertyList>
<!-- Define tropical South America as a box with given latitude/longitude -->
<condition>
<and>
<greater-than>
<property>position/longitude-deg</property>
<value>-90.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>-15.0</value>
</greater-than>
<less-than>
<property>position/latitude-deg</property>
<value>15.0</value>
</less-than>
</and>
</condition>
</PropertyList>