1
0
Fork 0

New Hawaii regional texture definition using new shrub texture and ALS overlay texturing effect

This commit is contained in:
Thorsten Renk 2017-09-18 12:59:19 +03:00
parent a7e2ffc869
commit a55c14c3ec
8 changed files with 387 additions and 27 deletions

View file

@ -14,24 +14,82 @@
<value>summer</value>
</equals>
</condition>
<material>
<name>Grass</name>
<name>Airport</name>
<name>AirportKeep</name>
<name>Greenspace</name>
<effect>Effects/grass</effect>
<texture-set>
<texture>Terrain/airport-grass.png</texture>
<texture n="13">Terrain/dry_pasture4.png</texture>
<texture n="14">Terrain/tundra-hawaii-green.png</texture>
<texture n="20">Terrain/dry_pasture4.png</texture>
</texture-set>
<parameters>
<grit_alpha>0.4</grit_alpha>
<use_overlay>1</use_overlay>
<overlay_bias>0.05</overlay_bias>
<use_color_overlay>0</use_color_overlay>
<base_layer_magnification>1.0</base_layer_magnification>
<overlay_layer_magnification>1.0</overlay_layer_magnification>
<max_grass_height>0.3</max_grass_height>
<grass_modulate_by_overlay>1</grass_modulate_by_overlay>
<grass_modulate_height_min>0.2</grass_modulate_height_min>
<grass_density>0.7</grass_density>
<grass_groups>3</grass_groups>
</parameters>
<xsize>256</xsize>
<ysize>256</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.7</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.1</bumpiness>
<load-resistance>1e30</load-resistance>
</material>
<material>
<effect>Effects/forest</effect>
<name>MixedForestCover</name>
<name>MixedForest</name>
<name>RainForest</name>
<name>EvergreenBroadCover</name>
<name>EvergreenForest</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/rainforest-hawaii.png</texture>
<texture n="11">Terrain/rainforest-hawaii.png</texture>
<texture n="12">Terrain/shrub-hawaii.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="20">Terrain/evergreen.png</texture>
</texture-set>
<parameters>
<max_overlay_height>2.0</max_overlay_height>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>1.0</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_brightness_top>0.6</overlay_brightness_top>
<overlay_brightness_bottom>0.2</overlay_brightness_bottom>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>5000000.0</light-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Trees/tropical.png</tree-texture>
<tree-texture>Trees/tropical-alt.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-height-m>25.0</tree-height-m>
<tree-width-m>15.0</tree-width-m>
@ -42,7 +100,29 @@
<material>
<name>DryCropPastureCover</name>
<name>DryCrop</name>
<texture>Terrain/dry_pasture4.png</texture>
<!--<texture>Terrain/dry_pasture4.png</texture>-->
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/dry_pasture4.png</texture>
<texture n="11">Terrain/lava_hires.png</texture>
<texture n="12">Terrain/tundra-hawaii-green.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="20">Terrain/dry_pasture4.png</texture>
<texture n="21">Terrain/dry_pasture4.png</texture>
</texture-set>
<parameters>
<hires_overlay_bias>-0.15</hires_overlay_bias>
<max_overlay_height>1.0</max_overlay_height>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>0.6</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
<overlay_secondary_flag>1</overlay_secondary_flag>
<overlay_secondary_hardness>0.0</overlay_secondary_hardness>
<overlay_secondary_density>1.0</overlay_secondary_density>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
<solid>1</solid>
@ -60,13 +140,11 @@
<name>Rock</name>
<name>Dump</name>
<texture-set>
<texture>Terrain/rocks-lava.png</texture>
<texture n="12">Terrain/rocks-desert.png</texture>
<texture n="14">Terrain/rock_grain01.png</texture>
<texture n="13">Terrain/void.png</texture>
<texture>Terrain/shrub-hawaii.png</texture>
<texture n="12">Terrain/shrub-hawaii.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
</texture-set>
<parameters>
<grain_strength>0.7</grain_strength>
<transition_model>0.0</transition_model>
</parameters>
<xsize>1000</xsize>
@ -82,19 +160,30 @@
<name>DeciduousForest</name>
<name>Bog</name>
<name>Heath</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/deciduous-hires.png</texture>
<texture n="12">Terrain/shrub-hawaii.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="20">Terrain/evergreen.png</texture>
</texture-set>
<parameters>
<max_overlay_height>2.0</max_overlay_height>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>1.0</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_brightness_top>0.6</overlay_brightness_top>
<overlay_brightness_bottom>0.2</overlay_brightness_bottom>
<overlay_steepness_factor>0.3</overlay_steepness_factor>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>10000000.0</light-coverage>
<wood-coverage>4000.0</wood-coverage>
<wood-coverage>5000.0</wood-coverage>
<tree-texture>Trees/deciduous-alt.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-height-m>25.0</tree-height-m>
<tree-width-m>15.0</tree-width-m>
<tree-width-m>25.0</tree-width-m>
<rolling-friction>1</rolling-friction>
<bumpiness>0.85</bumpiness>
</material>
@ -113,7 +202,7 @@
<!-- Hawaii red sand shrub cover -->
<material>
<!--<effect>Effects/landmass-scrub</effect>-->
<effect>Effects/terrain-overlay</effect>
<name>ShrubCover</name>
<name>ShrubGrassCover</name>
<name>ScrubCover</name>
@ -121,12 +210,27 @@
<name>Sclerophyllous</name>
<texture-set>
<texture>Terrain/shrub-hawaii.png</texture>
<texture n="11">Terrain/dry_pasture4.png</texture>
<texture n="12">Terrain/shrub-hawaii.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="15">Terrain/rainforest-hawaii.png</texture>
<texture n="20">Terrain/dry_pasture4.png</texture>
<texture n="21">Terrain/lava_hires.png</texture>
</texture-set>
<parameters>
<dot_size>10.0</dot_size>
<dot_size>2.0</dot_size>
<hires_overlay_bias>-0.05</hires_overlay_bias>
<max_overlay_height>1.0</max_overlay_height>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>0.6</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
<overlay_steepness_factor>0.3</overlay_steepness_factor>
<overlay_secondary_flag>1</overlay_secondary_flag>
<overlay_secondary_hardness>1.0</overlay_secondary_hardness>
<overlay_secondary_density>0.2</overlay_secondary_density>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
@ -144,11 +248,11 @@
</specular>
<shininess>1.2</shininess>
<light-coverage>20000000.0</light-coverage>
<wood-coverage>12000.0</wood-coverage>
<tree-texture>Trees/mixed-shrub.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-height-m>2.0</tree-height-m>
<tree-width-m>2.0</tree-width-m>
<wood-coverage>20000.0</wood-coverage>
<tree-texture>Trees/hawaii-shrub.png</tree-texture>
<tree-varieties>4</tree-varieties>
<tree-height-m>4.0</tree-height-m>
<tree-width-m>6.0</tree-width-m>
<rolling-friction>0.6</rolling-friction>
<bumpiness>0.4</bumpiness>
</material>
@ -182,7 +286,7 @@
<building-medium-min-floors>1</building-medium-min-floors>
<building-medium-max-floors>3</building-medium-max-floors>
<wood-coverage>5000.0</wood-coverage>
<tree-texture>Trees/tropical.png</tree-texture>
<tree-texture>Trees/tropical-alt.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-height-m>25.0</tree-height-m>
<tree-width-m>15.0</tree-width-m>
@ -233,8 +337,8 @@
<name>MixedCropPastureCover</name>
<name>MixedCrop</name>
<name>ComplexCrop</name>
<texture>Terrain/rice1.png</texture>
<object-mask>Terrain/rice1.mask.png</object-mask>
<texture>Terrain/cropgrass-madagascar.png</texture>
<object-mask>Terrain/cropgrass-hires.mask.png</object-mask>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage>
@ -242,7 +346,7 @@
<friction-factor>0.9</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.7</bumpiness>
<load-resistance>1e30</load-resistance>
<load-resistance>1e30</load-resistance>
<object-group include="Materials/base/farm-buildings.xml"/>
<wood-coverage>10000.0</wood-coverage>
<tree-texture>Trees/mixed-alt.png</tree-texture>
@ -250,5 +354,90 @@
<tree-height-m>20.0</tree-height-m>
<tree-width-m>12.0</tree-width-m>
</material>
<material>
<name>Lava</name>
<name>Burnt</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/lava1.png</texture>
<texture n="11">Terrain/dry_pasture4.png</texture>
<texture n="12">Terrain/dry_pasture4.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="20">Terrain/lava_hires.png</texture>
<texture n="21">Terrain/dry_pasture4.png</texture>
</texture-set>
<parameters>
<hires_overlay_bias>-0.1</hires_overlay_bias>
<transition_model>0.2</transition_model>
<max_overlay_height>1.2</max_overlay_height>
<overlay_hardness>1.0</overlay_hardness>
<overlay_density>0.1</overlay_density>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
<overlay_secondary_flag>1</overlay_secondary_flag>
<overlay_secondary_hardness>0.0</overlay_secondary_hardness>
<overlay_secondary_density>0.7</overlay_secondary_density>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
<solid>1</solid>
<friction-factor>0.9</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness>
</material>
<material>
<name>Grassland</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/dry_pasture4.png</texture>
<texture n="11">Terrain/lava_hires.png</texture>
<texture n="12">Terrain/tundra-hawaii-green.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="20">Terrain/dry_pasture4.png</texture>
<texture n="21">Terrain/dry_pasture4.png</texture>
</texture-set>
<parameters>
<hires_overlay_bias>-0.15</hires_overlay_bias>
<max_overlay_height>2.0</max_overlay_height>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>0.6</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
<overlay_secondary_flag>1</overlay_secondary_flag>
<overlay_secondary_hardness>0.0</overlay_secondary_hardness>
<overlay_secondary_density>1.0</overlay_secondary_density>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>2000000.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.7</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness>
<load-resistance>1e30</load-resistance>
<wood-coverage>10000.0</wood-coverage>
<tree-texture>Trees/hawaii-shrub.png</tree-texture>
<tree-varieties>4</tree-varieties>
<tree-height-m>4.0</tree-height-m>
<tree-width-m>6.0</tree-width-m>
</material>
</PropertyList>

View file

@ -0,0 +1,48 @@
<?xml version="1.0"?>
<PropertyList>
<name>Hawaii Big Island</name>
<area>
<lon1>-156.5</lon1>
<lon2>-154.0</lon2>
<lat1>18.8</lat1>
<lat2>20.5</lat2>
</area>
<condition>
<equals>
<property>sim/startup/season</property>
<value>summer</value>
</equals>
</condition>
<material>
<name>Lava</name>
<name>Burnt</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/lava1.png</texture>
<texture n="12">Terrain/rocks-lava.png</texture>
<texture n="11">Terrain/lava_hires.png</texture>
<texture n="13">Terrain/rocks-lava.png</texture>
<texture n="20">Terrain/lava_hires.png</texture>
</texture-set>
<parameters>
<hires_overlay_bias>-0.05</hires_overlay_bias>
<transition_model>1.0</transition_model>
<max_overlay_height>1.2</max_overlay_height>
<overlay_hardness>1.0</overlay_hardness>
<overlay_density>0.1</overlay_density>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
<solid>1</solid>
<friction-factor>0.9</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness>
</material>
</PropertyList>

107
Materials/regions/kauai.xml Normal file
View file

@ -0,0 +1,107 @@
<?xml version="1.0"?>
<PropertyList>
<name>Kauai</name>
<area>
<lon1>-160.0</lon1>
<lon2>-159.0</lon2>
<lat1>21.5</lat1>
<lat2>22.5</lat2>
</area>
<condition>
<equals>
<property>sim/startup/season</property>
<value>summer</value>
</equals>
</condition>
<material>
<name>ShrubCover</name>
<name>ShrubGrassCover</name>
<name>ScrubCover</name>
<name>Scrub</name>
<name>Sclerophyllous</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/shrub-hawaii-green.png</texture>
<texture n="11">Terrain/rainforest-hawaii.png</texture>
<texture n="12">Terrain/shrub-hawaii-green.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="15">Terrain/rainforest-hawaii.png</texture>
<texture n="20">Terrain/evergreen.png</texture>
<texture n="21">Terrain/evergreen.png</texture>
</texture-set>
<parameters>
<transition_model>1.0</transition_model>
<rock_strata>1</rock_strata>
<max_overlay_height>2.0</max_overlay_height>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>0.7</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
<overlay_steepness_factor>0.3</overlay_steepness_factor>
<overlay_secondary_flag>1</overlay_secondary_flag>
<overlay_secondary_hardness>0.0</overlay_secondary_hardness>
<overlay_secondary_density>0.7</overlay_secondary_density>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
<diffuse>
<r>0.86</r>
<g>0.86</g>
<b>0.86</b>
<a>1.0</a>
</diffuse>
<specular>
<r>0.1</r>
<g>0.1</g>
<b>0.1</b>
<a>1.0</a>
</specular>
<shininess>1.2</shininess>
<light-coverage>20000000.0</light-coverage>
<wood-coverage>6000.0</wood-coverage>
<tree-texture>Trees/hawaii-shrub.png</tree-texture>
<tree-varieties>4</tree-varieties>
<tree-height-m>8.0</tree-height-m>
<tree-width-m>16.0</tree-width-m>
<rolling-friction>0.6</rolling-friction>
<bumpiness>0.4</bumpiness>
</material>
<material>
<name>BarrenCover</name>
<name>Dirt</name>
<name>OpenMining</name>
<name>Rock</name>
<name>Dump</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/shrub-hawaii.png</texture>
<texture n="12">Terrain/shrub-hawaii.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="20">Terrain/evergreen.png</texture>
</texture-set>
<parameters>
<transition_model>0.0</transition_model>
<rock_strata>1</rock_strata>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>0.5</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
<overlay_steepness_factor>0.6</overlay_steepness_factor>
</parameters>
<xsize>1000</xsize>
<ysize>1000</ysize>
<solid>1</solid>
<friction-factor>0.9</friction-factor>
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness>
</material>
</PropertyList>

View file

@ -48,6 +48,8 @@
<region include="Materials/regions/southeast_asia.xml"/>
<region include="Materials/regions/hawaii.xml"/>
<region include="Materials/regions/oahu.xml"/>
<region include="Materials/regions/hawaii_big_island.xml"/>
<region include="Materials/regions/kauai.xml"/>
<!-- Africa -->
<region include="Materials/regions/africa_savanna.xml"/>

View file

@ -17,21 +17,35 @@
</condition>
<material>
<!--<effect>Effects/landmass-scrub</effect>-->
<name>ShrubCover</name>
<name>ShrubGrassCover</name>
<name>ScrubCover</name>
<name>Scrub</name>
<name>Sclerophyllous</name>
<effect>Effects/terrain-overlay</effect>
<texture-set>
<texture>Terrain/shrub-hawaii-green.png</texture>
<texture n="11">Terrain/rainforest-hawaii.png</texture>
<texture n="12">Terrain/shrub-hawaii-green.png</texture>
<texture n="13">Terrain/shrub-hawaii.png</texture>
<texture n="15">Terrain/rainforest-hawaii.png</texture>
<texture n="20">Terrain/evergreen.png</texture>
<texture n="21">Terrain/evergreen.png</texture>
</texture-set>
<parameters>
<transition_model>1.0</transition_model>
<rock_strata>0</rock_strata>
<max_overlay_height>2.0</max_overlay_height>
<overlay_hardness>0.0</overlay_hardness>
<overlay_density>0.7</overlay_density>
<overlay_scale>2.0</overlay_scale>
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_brightness_top>0.8</overlay_brightness_top>
<overlay_brightness_bottom>0.4</overlay_brightness_bottom>
<overlay_steepness_factor>0.3</overlay_steepness_factor>
<overlay_secondary_flag>1</overlay_secondary_flag>
<overlay_secondary_hardness>0.0</overlay_secondary_hardness>
<overlay_secondary_density>0.7</overlay_secondary_density>
</parameters>
<xsize>2000</xsize>
<ysize>2000</ysize>
@ -49,11 +63,11 @@
</specular>
<shininess>1.2</shininess>
<light-coverage>20000000.0</light-coverage>
<wood-coverage>12000.0</wood-coverage>
<tree-texture>Trees/mixed-shrub.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-height-m>2.0</tree-height-m>
<tree-width-m>2.0</tree-width-m>
<wood-coverage>6000.0</wood-coverage>
<tree-texture>Trees/hawaii-shrub.png</tree-texture>
<tree-varieties>4</tree-varieties>
<tree-height-m>8.0</tree-height-m>
<tree-width-m>16.0</tree-width-m>
<rolling-friction>0.6</rolling-friction>
<bumpiness>0.4</bumpiness>
</material>

0
Textures/Trees/evergreen-mediterranean.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.2 MiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

0
Textures/Trees/mojave-shrub.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB