1
0
Fork 0

Random object and vegetation masks, and vegetation density control.

This commit is contained in:
Stuart Buchanan 2012-02-05 23:08:08 +00:00
parent b5a3ebf8a3
commit 207b6edf60
30 changed files with 640 additions and 619 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View file

@ -199,6 +199,30 @@
</binding> </binding>
</checkbox> </checkbox>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text>
<label>Vegetation density</label>
</text>
<slider>
<name>vegetation-density</name>
<min>0</min>
<max>10.0</max>
<property>/sim/rendering/vegetation-density</property>
<binding>
<command>dialog-apply</command>
<object-name>vegetation-density</object-name>
</binding>
</slider>
<text>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/vegetation-density</property>
</text>
</group>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Animated jetways</label> <label>Animated jetways</label>

View file

@ -109,6 +109,18 @@ Properties currently used:
effect - The name of an effect to inherit from. The default is effect - The name of an effect to inherit from. The default is
Effects/terrain-default. Effects/terrain-default.
object-mask: png file used as a mask for trees (green channel), buildings
(blue channel) and building rotation (red channel). Note that this is
used as a mask on the coverage-m2 and wood-coverage values. I.e. the
wood-coverage value is used to determine the placement of a number of
trees, which are then masked by the object-mask texture. Partial values
are randomly checked against, so a green value of 128 (0.5) means that
if the wood-coverage indicates that a tree is located at that point,
it only has a 50% chance of being added. Finally, note that if an
object-mask is defined, the tree-density and wood-size values are ignored,
and trees are placed evenly using theh wood-coverage value and
masked.
ambient, diffuse, specular, emissive, and shininess are copied into the ambient, diffuse, specular, emissive, and shininess are copied into the
parameter section of the effect created for this material. parameter section of the effect created for this material.
************************************************************************ ************************************************************************
@ -1339,6 +1351,8 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="2">Terrain/city2-relief-light.png</texture> <texture n="2">Terrain/city2-relief-light.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
@ -1357,19 +1371,14 @@ Shared parameters for various materials.
<object-group> <object-group>
<range-m>10000</range-m> <range-m>10000</range-m>
<object> <object>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>40000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-apartment.ac</path> <path>Models/Buildings/big-apartment.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object>
<object>
<path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -1378,37 +1387,35 @@ Shared parameters for various materials.
<path>Models/Residential/cube-apartment.ac</path> <path>Models/Residential/cube-apartment.ac</path>
<path>Models/Residential/medium-apartment.ac</path> <path>Models/Residential/medium-apartment.ac</path>
<path>Models/Buildings/renovated-apartment.ac</path> <path>Models/Buildings/renovated-apartment.ac</path>
<coverage-m2>1000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Commercial/small-glass-office-building.ac</path> <path>Models/Commercial/small-glass-office-building.ac</path>
<path>Models/Buildings/medium-glass-office-building.ac</path> <path>Models/Buildings/medium-glass-office-building.ac</path>
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<coverage-m2>5000000</coverage-m2> <coverage-m2>500000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Buildings/brick-school.ac</path>
<path>Models/Buildings/bank-building.ac</path> <path>Models/Buildings/bank-building.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
<coverage-m2>100000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture> <tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1441,6 +1448,8 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="2">Terrain/city2-relief-light.png</texture> <texture n="2">Terrain/city2-relief-light.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
@ -1460,23 +1469,23 @@ Shared parameters for various materials.
<range-m>10000</range-m> <range-m>10000</range-m>
<object> <object>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/oil-tanks.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/factory.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Industrial/Zone-Indus-long-ba.ac</path> <path>Models/Industrial/Zone-Indus-long-ba.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Industrial/Zone-Indus-ba.ac</path> <path>Models/Industrial/Zone-Indus-ba.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -1485,23 +1494,21 @@ Shared parameters for various materials.
<path>Models/Buildings/medium-glass-office-building.ac</path> <path>Models/Buildings/medium-glass-office-building.ac</path>
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>20000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
<coverage-m2>100000000</coverage-m2> <coverage-m2>10000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Commercial/Petrolstation1.ac</path> <path>Models/Commercial/Petrolstation1.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>50000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1530,6 +1537,8 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="4">Terrain.winter/builtup.png</texture> <texture n="4">Terrain.winter/builtup.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
@ -1547,15 +1556,15 @@ Shared parameters for various materials.
</emissive> </emissive>
<object-group> <object-group>
<range-m>10000</range-m> <range-m>10000</range-m>
<object>
<path>Models/Buildings/big-apartment.ac</path>
<coverage-m2>10000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object> <object>
<path>Models/Buildings/factory.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object>
<object>
<path>Models/Buildings/big-apartment.ac</path>
<coverage-m2>400000</coverage-m2>
<heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -1564,37 +1573,35 @@ Shared parameters for various materials.
<path>Models/Residential/cube-apartment.ac</path> <path>Models/Residential/cube-apartment.ac</path>
<path>Models/Residential/medium-apartment.ac</path> <path>Models/Residential/medium-apartment.ac</path>
<path>Models/Buildings/renovated-apartment.ac</path> <path>Models/Buildings/renovated-apartment.ac</path>
<coverage-m2>1000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Commercial/small-glass-office-building.ac</path> <path>Models/Commercial/small-glass-office-building.ac</path>
<path>Models/Buildings/medium-glass-office-building.ac</path> <path>Models/Buildings/medium-glass-office-building.ac</path>
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<coverage-m2>5000000</coverage-m2> <coverage-m2>500000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Buildings/brick-school.ac</path>
<path>Models/Buildings/bank-building.ac</path> <path>Models/Buildings/bank-building.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
<coverage-m2>100000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>25000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1625,6 +1632,8 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="4">Terrain.winter/builtup.png</texture> <texture n="4">Terrain.winter/builtup.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
@ -1644,23 +1653,23 @@ Shared parameters for various materials.
<range-m>10000</range-m> <range-m>10000</range-m>
<object> <object>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/oil-tanks.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/factory.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Industrial/Zone-Indus-long-ba.ac</path> <path>Models/Industrial/Zone-Indus-long-ba.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Industrial/Zone-Indus-ba.ac</path> <path>Models/Industrial/Zone-Indus-ba.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -1669,23 +1678,21 @@ Shared parameters for various materials.
<path>Models/Buildings/medium-glass-office-building.ac</path> <path>Models/Buildings/medium-glass-office-building.ac</path>
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>20000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
<coverage-m2>100000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Commercial/Petrolstation1.ac</path> <path>Models/Commercial/Petrolstation1.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>25000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1703,6 +1710,7 @@ Shared parameters for various materials.
<name>Town</name> <name>Town</name>
<name>SubUrban</name> <name>SubUrban</name>
<texture>Terrain/Town1.png</texture> <texture>Terrain/Town1.png</texture>
<object-mask>Terrain/Town1.mask.png</object-mask>
<xsize>1024</xsize> <xsize>1024</xsize>
<ysize>1024</ysize> <ysize>1024</ysize>
<light-coverage>100000.0</light-coverage> <light-coverage>100000.0</light-coverage>
@ -1717,33 +1725,31 @@ Shared parameters for various materials.
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/oil-tanks.ac</path>
<coverage-m2>20000000</coverage-m2> <coverage-m2>2000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Buildings/brick-school.ac</path>
<coverage-m2>200000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/shop.ac</path> <path>Models/Buildings/shop.ac</path>
<path>Models/Buildings/hosshop.ac</path> <path>Models/Buildings/hosshop.ac</path>
<path>Models/Buildings/weapshop.ac</path> <path>Models/Buildings/weapshop.ac</path>
<coverage-m2>400000</coverage-m2> <coverage-m2>20000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Residential/germanvillagehouse1.ac</path> <path>Models/Residential/germanvillagehouse1.ac</path>
<path>Models/Residential/MontHse1Grey_White.ac</path> <path>Models/Residential/MontHse1Grey_White.ac</path>
<path>Models/Residential/MontHse1Red_Tile_Yellow.ac</path> <path>Models/Residential/MontHse1Red_Tile_Yellow.ac</path>
<coverage-m2>30000</coverage-m2> <coverage-m2>5000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>5000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2043,6 +2049,9 @@ Shared parameters for various materials.
<texture>Terrain/mixedcrop1.dds</texture> <texture>Terrain/mixedcrop1.dds</texture>
<texture>Terrain/mixedcrop4.dds</texture> <texture>Terrain/mixedcrop4.dds</texture>
<texture>Terrain/mixedcrop3.dds</texture> <texture>Terrain/mixedcrop3.dds</texture>
<object-mask>Terrain/mixedcrop1.mask.png</object-mask>
<object-mask>Terrain/mixedcrop4.mask.png</object-mask>
<object-mask>Terrain/mixedcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -2055,18 +2064,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!--Disabled to avoid a tremendous osg performance penalty when <!--Disabled to avoid a tremendous osg performance penalty when
@ -2085,9 +2090,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group>--> </object-group>-->
<wood-coverage>1000000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>20000.0</wood-size>
<tree-density>4000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2112,6 +2115,9 @@ Shared parameters for various materials.
<texture>Terrain/irrcrop1.dds</texture> <texture>Terrain/irrcrop1.dds</texture>
<texture>Terrain/irrcrop2.dds</texture> <texture>Terrain/irrcrop2.dds</texture>
<texture>Terrain/irrcrop3.dds</texture> <texture>Terrain/irrcrop3.dds</texture>
<object-mask>Terrain/irrcrop1.mask.png</object-mask>
<object-mask>Terrain/irrcrop2.mask.png</object-mask>
<object-mask>Terrain/irrcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -2124,18 +2130,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -2154,7 +2156,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group>--> </object-group>-->
<wood-coverage>500000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2188,6 +2190,10 @@ Shared parameters for various materials.
<texture>Terrain/countryside4.green.dds</texture> <texture>Terrain/countryside4.green.dds</texture>
<texture n="4">Terrain.winter/countryside4.winter.dds</texture> <texture n="4">Terrain.winter/countryside4.winter.dds</texture>
</texture-set> </texture-set>
<object-mask>Terrain/countryside1.green.mask.png</object-mask>
<object-mask>Terrain/countryside2.green.mask.png</object-mask>
<object-mask>Terrain/countryside3.green.mask.png</object-mask>
<object-mask>Terrain/countryside4.green.mask.png</object-mask>
<xsize>1800</xsize> <xsize>1800</xsize>
<ysize>1800</ysize> <ysize>1800</ysize>
<solid>1</solid> <solid>1</solid>
@ -2200,18 +2206,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!--Disabled to avoid a tremendous osg performance penalty when <!--Disabled to avoid a tremendous osg performance penalty when
@ -2230,9 +2232,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group>--> </object-group>-->
<wood-coverage>500000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>20000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2250,6 +2250,7 @@ Shared parameters for various materials.
<name>NaturalCrop</name> <name>NaturalCrop</name>
<effect>Effects/transition-base-rock</effect> <effect>Effects/transition-base-rock</effect>
<texture>Terrain/naturalcrop1.png</texture> <texture>Terrain/naturalcrop1.png</texture>
<object-mask>Terrain/naturalcrop1.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<solid>1</solid> <solid>1</solid>
@ -2258,9 +2259,21 @@ Shared parameters for various materials.
<bumpiness>0.6</bumpiness> <bumpiness>0.6</bumpiness>
<load-resistance>1e30</load-resistance> <load-resistance>1e30</load-resistance>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
<object-group>
<range-m>5000</range-m>
<object>
<path>Models/Buildings/silo.ac</path>
<path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>10000</coverage-m2>
<heading-type>mask</heading-type>
</object>
</object-group>
<wood-coverage>500000.0</wood-coverage> <wood-coverage>500000.0</wood-coverage>
<wood-size>20000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2320,8 +2333,9 @@ Shared parameters for various materials.
<name>GolfCourse</name> <name>GolfCourse</name>
<effect>Effects/transition-base-dirt</effect> <effect>Effects/transition-base-dirt</effect>
<texture>Terrain/golfcourse1.png</texture> <texture>Terrain/golfcourse1.png</texture>
<xsize>400</xsize> <object-mask>Terrain/golfcourse1.mask.png</object-mask>
<ysize>400</ysize> <xsize>800</xsize>
<ysize>800</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
<diffuse> <diffuse>
<r>0.93</r> <r>0.93</r>
@ -2341,7 +2355,7 @@ Shared parameters for various materials.
<rolling-friction>0.1</rolling-friction> <rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness> <bumpiness>0.3</bumpiness>
<load-resistance>1e30</load-resistance> <load-resistance>1e30</load-resistance>
<wood-coverage>500000.0</wood-coverage> <wood-coverage>5000.0</wood-coverage>
<tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture> <tree-texture>Textures.high/Trees/mixed-summer.dds</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2361,6 +2375,7 @@ Shared parameters for various materials.
<name>AgroForest</name> <name>AgroForest</name>
<effect>Effects/transition-base-dirt</effect> <effect>Effects/transition-base-dirt</effect>
<texture>Terrain/cropwood.dds</texture> <texture>Terrain/cropwood.dds</texture>
<object-mask>Terrain/cropwood.mask.png</object-mask>
<xsize>1500</xsize> <xsize>1500</xsize>
<ysize>1500</ysize> <ysize>1500</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -2608,12 +2623,16 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="2">Terrain/city2-relief-light.png</texture> <texture n="2">Terrain/city2-relief-light.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
<texture n="2">Terrain/city3-relief-light.png</texture> <texture n="2">Terrain/city3-relief-light.png</texture>
</texture-set> </texture-set>
--> -->
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<xsize>1000</xsize> <xsize>1000</xsize>
<ysize>1000</ysize> <ysize>1000</ysize>
<light-coverage>100000.0</light-coverage> <light-coverage>100000.0</light-coverage>
@ -2633,12 +2652,12 @@ Shared parameters for various materials.
<object> <object>
<path>Models/Buildings/big-apartment.ac</path> <path>Models/Buildings/big-apartment.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>10000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/factory.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -2648,7 +2667,7 @@ Shared parameters for various materials.
<path>Models/Residential/medium-apartment.ac</path> <path>Models/Residential/medium-apartment.ac</path>
<path>Models/Buildings/renovated-apartment.ac</path> <path>Models/Buildings/renovated-apartment.ac</path>
<coverage-m2>1000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Commercial/small-glass-office-building.ac</path> <path>Models/Commercial/small-glass-office-building.ac</path>
@ -2656,18 +2675,18 @@ Shared parameters for various materials.
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>500000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<coverage-m2>5000000</coverage-m2> <coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Buildings/brick-school.ac</path>
<path>Models/Buildings/bank-building.ac</path> <path>Models/Buildings/bank-building.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
@ -2676,8 +2695,6 @@ Shared parameters for various materials.
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>250000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2707,6 +2724,8 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="2">Terrain/city2-relief-light.png</texture> <texture n="2">Terrain/city2-relief-light.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
@ -2726,23 +2745,23 @@ Shared parameters for various materials.
<range-m>10000</range-m> <range-m>10000</range-m>
<object> <object>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/oil-tanks.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/factory.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Industrial/Zone-Indus-long-ba.ac</path> <path>Models/Industrial/Zone-Indus-long-ba.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Industrial/Zone-Indus-ba.ac</path> <path>Models/Industrial/Zone-Indus-ba.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -2752,7 +2771,7 @@ Shared parameters for various materials.
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>500000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
@ -2762,12 +2781,10 @@ Shared parameters for various materials.
<object> <object>
<path>Models/Commercial/Petrolstation1.ac</path> <path>Models/Commercial/Petrolstation1.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>10000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>250000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2785,6 +2802,7 @@ Shared parameters for various materials.
<name>Town</name> <name>Town</name>
<name>SubUrban</name> <name>SubUrban</name>
<texture>Terrain.winter/Town1.png</texture> <texture>Terrain.winter/Town1.png</texture>
<object-mask>Terrain/Town1.mask.png</object-mask>
<xsize>1024</xsize> <xsize>1024</xsize>
<ysize>1024</ysize> <ysize>1024</ysize>
<light-coverage>100000.0</light-coverage> <light-coverage>100000.0</light-coverage>
@ -2797,44 +2815,34 @@ Shared parameters for various materials.
<object-group> <object-group>
<range-m>10000</range-m> <range-m>10000</range-m>
<object> <object>
<path>Models/Buildings/water-tower.ac</path>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/oil-tanks.ac</path>
<coverage-m2>20000000</coverage-m2> <coverage-m2>2000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<coverage-m2>900000</coverage-m2> <path>Models/Buildings/brick-school.ac</path>
<heading-type>random</heading-type> <coverage-m2>100000</coverage-m2>
<heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/shop.ac</path> <path>Models/Buildings/shop.ac</path>
<coverage-m2>400000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/hosshop.ac</path> <path>Models/Buildings/hosshop.ac</path>
<coverage-m2>750000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/weapshop.ac</path> <path>Models/Buildings/weapshop.ac</path>
<coverage-m2>400000</coverage-m2> <coverage-m2>20000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Residential/germanvillagehouse1.ac</path>
<coverage-m2>2850000</coverage-m2> <path>Models/Residential/MontHse1Grey_White.ac</path>
<heading-type>random</heading-type> <path>Models/Residential/MontHse1Red_Tile_Yellow.ac</path>
</object> <coverage-m2>5000</coverage-m2>
<object> <heading-type>mask</heading-type>
<path>Models/Buildings/water-tower.ac</path>
<coverage-m2>100000000</coverage-m2>
<heading-type>random</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage>
<wood-size>5000.0</wood-size> <wood-coverage>5000.0</wood-coverage>
<tree-density>2000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -3089,6 +3097,9 @@ Shared parameters for various materials.
<texture>Terrain.winter/mixedcrop1.png</texture> <texture>Terrain.winter/mixedcrop1.png</texture>
<texture>Terrain.winter/mixedcrop4.png</texture> <texture>Terrain.winter/mixedcrop4.png</texture>
<texture>Terrain.winter/mixedcrop3.png</texture> <texture>Terrain.winter/mixedcrop3.png</texture>
<object-mask>Terrain/mixedcrop1.mask.png</object-mask>
<object-mask>Terrain/mixedcrop4.mask.png</object-mask>
<object-mask>Terrain/mixedcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -3101,18 +3112,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -3157,6 +3164,9 @@ Shared parameters for various materials.
<texture>Terrain.winter/irrcrop1.png</texture> <texture>Terrain.winter/irrcrop1.png</texture>
<texture>Terrain.winter/irrcrop2.png</texture> <texture>Terrain.winter/irrcrop2.png</texture>
<texture>Terrain.winter/irrcrop3.png</texture> <texture>Terrain.winter/irrcrop3.png</texture>
<object-mask>Terrain/irrcrop1.mask.png</object-mask>
<object-mask>Terrain/irrcrop2.mask.png</object-mask>
<object-mask>Terrain/irrcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -3169,18 +3179,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -3223,13 +3229,10 @@ Shared parameters for various materials.
<texture >Terrain.winter/countryside2.winter.dds</texture> <texture >Terrain.winter/countryside2.winter.dds</texture>
<texture >Terrain.winter/countryside3.winter.dds</texture> <texture >Terrain.winter/countryside3.winter.dds</texture>
<texture >Terrain.winter/countryside3.winter.dds</texture> <texture >Terrain.winter/countryside3.winter.dds</texture>
<object-mask>Terrain/countryside1.green.mask.png</object-mask>
<!--<texture>Terrain.winter/countryside1.winter.dds</texture> <object-mask>Terrain/countryside2.green.mask.png</object-mask>
<texture>Terrain.winter/countryside2.winter.dds</texture> <object-mask>Terrain/countryside3.green.mask.png</object-mask>
<texture>Terrain.winter/drycrop1.png</texture> <object-mask>Terrain/countryside4.green.mask.png</object-mask>
<texture>Terrain.winter/drycrop2.png</texture>
<texture>Terrain.winter/drycrop3.png</texture>
<texture>Terrain.winter/drycrop4.png</texture>-->
<xsize>1800</xsize> <xsize>1800</xsize>
<ysize>1800</ysize> <ysize>1800</ysize>
<solid>1</solid> <solid>1</solid>
@ -3242,18 +3245,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -3291,6 +3290,7 @@ Shared parameters for various materials.
</condition> </condition>
<name>NaturalCrop</name> <name>NaturalCrop</name>
<texture>Terrain.winter/naturalcrop1.png</texture> <texture>Terrain.winter/naturalcrop1.png</texture>
<object-mask>Terrain/naturalcrop1.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<solid>1</solid> <solid>1</solid>
@ -3299,9 +3299,21 @@ Shared parameters for various materials.
<bumpiness>0.6</bumpiness> <bumpiness>0.6</bumpiness>
<load-resistance>1e30</load-resistance> <load-resistance>1e30</load-resistance>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
<object-group>
<range-m>5000</range-m>
<object>
<path>Models/Buildings/silo.ac</path>
<path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>10000</coverage-m2>
<heading-type>mask</heading-type>
</object>
</object-group>
<wood-coverage>150000.0</wood-coverage> <wood-coverage>150000.0</wood-coverage>
<wood-size>10000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -3362,8 +3374,9 @@ Shared parameters for various materials.
</condition> </condition>
<name>GolfCourse</name> <name>GolfCourse</name>
<texture>Terrain.winter/golfcourse.png</texture> <texture>Terrain.winter/golfcourse.png</texture>
<xsize>400</xsize> <object-mask>Terrain/golfcourse1.mask.png</object-mask>
<ysize>400</ysize> <xsize>800</xsize>
<ysize>800</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
<diffuse> <diffuse>
<r>0.93</r> <r>0.93</r>
@ -3383,9 +3396,7 @@ Shared parameters for various materials.
<rolling-friction>0.1</rolling-friction> <rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness> <bumpiness>0.3</bumpiness>
<load-resistance>1e30</load-resistance> <load-resistance>1e30</load-resistance>
<wood-coverage>150000.0</wood-coverage> <wood-coverage>5000.0</wood-coverage>
<wood-size>10000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures.high/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -3403,6 +3414,7 @@ Shared parameters for various materials.
<name>CropWoodCover</name> <name>CropWoodCover</name>
<name>AgroForest</name> <name>AgroForest</name>
<texture>Terrain.winter/cropwood.png</texture> <texture>Terrain.winter/cropwood.png</texture>
<object-mask>Terrain/cropwood.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>

View file

@ -109,6 +109,18 @@ Properties currently used:
effect - The name of an effect to inherit from. The default is effect - The name of an effect to inherit from. The default is
Effects/terrain-default. Effects/terrain-default.
object-mask: png file used as a mask for trees (green channel), buildings
(blue channel) and building rotation (red channel). Note that this is
used as a mask on the coverage-m2 and wood-coverage values. I.e. the
wood-coverage value is used to determine the placement of a number of
trees, which are then masked by the object-mask texture. Partial values
are randomly checked against, so a green value of 128 (0.5) means that
if the wood-coverage indicates that a tree is located at that point,
it only has a 50% chance of being added. Finally, note that if an
object-mask is defined, the tree-density and wood-size values are ignored,
and trees are placed evenly using theh wood-coverage value and
masked.
ambient, diffuse, specular, emissive, and shininess are copied into the ambient, diffuse, specular, emissive, and shininess are copied into the
parameter section of the effect created for this material. parameter section of the effect created for this material.
************************************************************************ ************************************************************************
@ -1120,6 +1132,8 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="2">Terrain/city2-relief-light.png</texture> <texture n="2">Terrain/city2-relief-light.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
@ -1138,19 +1152,14 @@ Shared parameters for various materials.
<object-group> <object-group>
<range-m>10000</range-m> <range-m>10000</range-m>
<object> <object>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>40000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-apartment.ac</path> <path>Models/Buildings/big-apartment.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object>
<object>
<path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -1159,36 +1168,35 @@ Shared parameters for various materials.
<path>Models/Residential/cube-apartment.ac</path> <path>Models/Residential/cube-apartment.ac</path>
<path>Models/Residential/medium-apartment.ac</path> <path>Models/Residential/medium-apartment.ac</path>
<path>Models/Buildings/renovated-apartment.ac</path> <path>Models/Buildings/renovated-apartment.ac</path>
<coverage-m2>1000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Commercial/small-glass-office-building.ac</path> <path>Models/Commercial/small-glass-office-building.ac</path>
<path>Models/Buildings/medium-glass-office-building.ac</path> <path>Models/Buildings/medium-glass-office-building.ac</path>
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<coverage-m2>5000000</coverage-m2> <coverage-m2>500000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Buildings/brick-school.ac</path>
<path>Models/Buildings/bank-building.ac</path> <path>Models/Buildings/bank-building.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
<coverage-m2>100000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density> <tree-density>2000.0</tree-density>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture> <tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
@ -1207,6 +1215,7 @@ Shared parameters for various materials.
<name>Town</name> <name>Town</name>
<name>SubUrban</name> <name>SubUrban</name>
<texture>Terrain/Town1.png</texture> <texture>Terrain/Town1.png</texture>
<object-mask>Terrain/Town1.mask.png</object-mask>
<xsize>1024</xsize> <xsize>1024</xsize>
<ysize>1024</ysize> <ysize>1024</ysize>
<light-coverage>100000.0</light-coverage> <light-coverage>100000.0</light-coverage>
@ -1221,33 +1230,31 @@ Shared parameters for various materials.
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/oil-tanks.ac</path>
<coverage-m2>20000000</coverage-m2> <coverage-m2>2000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Buildings/brick-school.ac</path>
<coverage-m2>200000</coverage-m2> <coverage-m2>100000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/shop.ac</path> <path>Models/Buildings/shop.ac</path>
<path>Models/Buildings/hosshop.ac</path> <path>Models/Buildings/hosshop.ac</path>
<path>Models/Buildings/weapshop.ac</path> <path>Models/Buildings/weapshop.ac</path>
<coverage-m2>400000</coverage-m2> <coverage-m2>20000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Residential/germanvillagehouse1.ac</path> <path>Models/Residential/germanvillagehouse1.ac</path>
<path>Models/Residential/MontHse1Grey_White.ac</path> <path>Models/Residential/MontHse1Grey_White.ac</path>
<path>Models/Residential/MontHse1Red_Tile_Yellow.ac</path> <path>Models/Residential/MontHse1Red_Tile_Yellow.ac</path>
<coverage-m2>30000</coverage-m2> <coverage-m2>5000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>5000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture> <tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1505,6 +1512,9 @@ Shared parameters for various materials.
<texture>Terrain/mixedcrop1.png</texture> <texture>Terrain/mixedcrop1.png</texture>
<texture>Terrain/mixedcrop4.png</texture> <texture>Terrain/mixedcrop4.png</texture>
<texture>Terrain/mixedcrop3.png</texture> <texture>Terrain/mixedcrop3.png</texture>
<object-mask>Terrain/mixedcrop1.mask.png</object-mask>
<object-mask>Terrain/mixedcrop4.mask.png</object-mask>
<object-mask>Terrain/mixedcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -1517,18 +1527,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -1547,9 +1553,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> --> </object-group> -->
<wood-coverage>1000000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>20000.0</wood-size>
<tree-density>4000.0</tree-density>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture> <tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1574,6 +1578,9 @@ Shared parameters for various materials.
<texture>Terrain/irrcrop1.png</texture> <texture>Terrain/irrcrop1.png</texture>
<texture>Terrain/irrcrop2.png</texture> <texture>Terrain/irrcrop2.png</texture>
<texture>Terrain/irrcrop3.png</texture> <texture>Terrain/irrcrop3.png</texture>
<object-mask>Terrain/irrcrop1.mask.png</object-mask>
<object-mask>Terrain/irrcrop2.mask.png</object-mask>
<object-mask>Terrain/irrcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -1586,18 +1593,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -1616,7 +1619,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> --> </object-group> -->
<wood-coverage>500000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture> <tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1638,6 +1641,10 @@ Shared parameters for various materials.
<texture>Terrain/drycrop2.png</texture> <texture>Terrain/drycrop2.png</texture>
<texture>Terrain/drycrop3.png</texture> <texture>Terrain/drycrop3.png</texture>
<texture>Terrain/drycrop4.png</texture> <texture>Terrain/drycrop4.png</texture>
<object-mask>Terrain/drycrop1.mask.png</object-mask>
<object-mask>Terrain/drycrop2.mask.png</object-mask>
<object-mask>Terrain/drycrop3.mask.png</object-mask>
<object-mask>Terrain/drycrop4.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<solid>1</solid> <solid>1</solid>
@ -1650,18 +1657,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -1680,9 +1683,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> --> </object-group> -->
<wood-coverage>500000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>20000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture> <tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1769,6 +1770,7 @@ Shared parameters for various materials.
</condition> </condition>
<name>GolfCourse</name> <name>GolfCourse</name>
<texture>Terrain/golfcourse1.png</texture> <texture>Terrain/golfcourse1.png</texture>
<object-mask>Terrain/golfcourse1.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -1790,7 +1792,7 @@ Shared parameters for various materials.
<rolling-friction>0.1</rolling-friction> <rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness> <bumpiness>0.3</bumpiness>
<load-resistance>1e30</load-resistance> <load-resistance>1e30</load-resistance>
<wood-coverage>500000.0</wood-coverage> <wood-coverage>5000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture> <tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -1810,6 +1812,7 @@ Shared parameters for various materials.
<name>AgroForest</name> <name>AgroForest</name>
<effect>Effects/landmass</effect> <effect>Effects/landmass</effect>
<texture>Terrain/cropwood.png</texture> <texture>Terrain/cropwood.png</texture>
<object-mask>Terrain/cropwood.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -2039,6 +2042,8 @@ Shared parameters for various materials.
<texture>Terrain/city2.png</texture> <texture>Terrain/city2.png</texture>
<texture n="2">Terrain/city2-relief-light.png</texture> <texture n="2">Terrain/city2-relief-light.png</texture>
</texture-set> </texture-set>
<object-mask>Terrain/city1.mask.png</object-mask>
<object-mask>Terrain/city2.mask.png</object-mask>
<!-- <!--
<texture-set> <texture-set>
<texture>Terrain/city3.png</texture> <texture>Terrain/city3.png</texture>
@ -2064,12 +2069,12 @@ Shared parameters for various materials.
<object> <object>
<path>Models/Buildings/big-apartment.ac</path> <path>Models/Buildings/big-apartment.ac</path>
<coverage-m2>10000000</coverage-m2> <coverage-m2>10000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/factory.ac</path> <path>Models/Buildings/factory.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<object-group> <object-group>
@ -2079,7 +2084,7 @@ Shared parameters for various materials.
<path>Models/Residential/medium-apartment.ac</path> <path>Models/Residential/medium-apartment.ac</path>
<path>Models/Buildings/renovated-apartment.ac</path> <path>Models/Buildings/renovated-apartment.ac</path>
<coverage-m2>1000000</coverage-m2> <coverage-m2>1000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Commercial/small-glass-office-building.ac</path> <path>Models/Commercial/small-glass-office-building.ac</path>
@ -2087,18 +2092,18 @@ Shared parameters for various materials.
<path>Models/Buildings/small-modern-office.ac</path> <path>Models/Buildings/small-modern-office.ac</path>
<path>Models/Buildings/small-office.ac</path> <path>Models/Buildings/small-office.ac</path>
<coverage-m2>500000</coverage-m2> <coverage-m2>500000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<coverage-m2>5000000</coverage-m2> <coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Buildings/brick-school.ac</path>
<path>Models/Buildings/bank-building.ac</path> <path>Models/Buildings/bank-building.ac</path>
<coverage-m2>4000000</coverage-m2> <coverage-m2>4000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/water-tower.ac</path> <path>Models/Buildings/water-tower.ac</path>
@ -2107,8 +2112,6 @@ Shared parameters for various materials.
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>250000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2126,6 +2129,7 @@ Shared parameters for various materials.
<name>Town</name> <name>Town</name>
<name>SubUrban</name> <name>SubUrban</name>
<texture>Terrain.winter/Town1.png</texture> <texture>Terrain.winter/Town1.png</texture>
<object-mask>Terrain/Town1.mask.png</object-mask>
<xsize>1024</xsize> <xsize>1024</xsize>
<ysize>1024</ysize> <ysize>1024</ysize>
<light-coverage>100000.0</light-coverage> <light-coverage>100000.0</light-coverage>
@ -2138,44 +2142,33 @@ Shared parameters for various materials.
<object-group> <object-group>
<range-m>10000</range-m> <range-m>10000</range-m>
<object> <object>
<path>Models/Buildings/water-tower.ac</path>
<path>Models/Buildings/oil-tanks.ac</path> <path>Models/Buildings/oil-tanks.ac</path>
<coverage-m2>20000000</coverage-m2> <coverage-m2>2000000</coverage-m2>
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/big-church.ac</path> <path>Models/Buildings/big-church.ac</path>
<coverage-m2>900000</coverage-m2> <path>Models/Buildings/brick-school.ac</path>
<heading-type>random</heading-type> <coverage-m2>100000</coverage-m2>
<heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/shop.ac</path> <path>Models/Buildings/shop.ac</path>
<coverage-m2>400000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/hosshop.ac</path> <path>Models/Buildings/hosshop.ac</path>
<coverage-m2>750000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/weapshop.ac</path> <path>Models/Buildings/weapshop.ac</path>
<coverage-m2>400000</coverage-m2> <coverage-m2>20000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
<object> <object>
<path>Models/Buildings/brick-school.ac</path> <path>Models/Residential/germanvillagehouse1.ac</path>
<coverage-m2>2850000</coverage-m2> <path>Models/Residential/MontHse1Grey_White.ac</path>
<heading-type>random</heading-type> <path>Models/Residential/MontHse1Red_Tile_Yellow.ac</path>
</object> <coverage-m2>5000</coverage-m2>
<object> <heading-type>mask</heading-type>
<path>Models/Buildings/water-tower.ac</path>
<coverage-m2>100000000</coverage-m2>
<heading-type>random</heading-type>
</object> </object>
</object-group> </object-group>
<wood-coverage>250000.0</wood-coverage> <wood-coverage>5000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>2000.0</tree-density>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2428,6 +2421,9 @@ Shared parameters for various materials.
<texture>Terrain.winter/mixedcrop1.png</texture> <texture>Terrain.winter/mixedcrop1.png</texture>
<texture>Terrain.winter/mixedcrop4.png</texture> <texture>Terrain.winter/mixedcrop4.png</texture>
<texture>Terrain.winter/mixedcrop3.png</texture> <texture>Terrain.winter/mixedcrop3.png</texture>
<object-mask>Terrain/mixedcrop1.mask.png</object-mask>
<object-mask>Terrain/mixedcrop4.mask.png</object-mask>
<object-mask>Terrain/mixedcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -2440,18 +2436,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -2470,9 +2462,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> --> </object-group> -->
<wood-coverage>1000000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>20000.0</wood-size>
<tree-density>4000.0</tree-density>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2496,6 +2486,9 @@ Shared parameters for various materials.
<texture>Terrain.winter/irrcrop1.png</texture> <texture>Terrain.winter/irrcrop1.png</texture>
<texture>Terrain.winter/irrcrop2.png</texture> <texture>Terrain.winter/irrcrop2.png</texture>
<texture>Terrain.winter/irrcrop3.png</texture> <texture>Terrain.winter/irrcrop3.png</texture>
<object-mask>Terrain/irrcrop1.mask.png</object-mask>
<object-mask>Terrain/irrcrop2.mask.png</object-mask>
<object-mask>Terrain/irrcrop3.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -2508,18 +2501,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -2538,9 +2527,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> --> </object-group> -->
<wood-coverage>150000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>10000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2561,6 +2548,10 @@ Shared parameters for various materials.
<texture>Terrain.winter/drycrop2.png</texture> <texture>Terrain.winter/drycrop2.png</texture>
<texture>Terrain.winter/drycrop3.png</texture> <texture>Terrain.winter/drycrop3.png</texture>
<texture>Terrain.winter/drycrop4.png</texture> <texture>Terrain.winter/drycrop4.png</texture>
<object-mask>Terrain/drycrop1.png</object-mask>
<object-mask>Terrain/drycrop2.png</object-mask>
<object-mask>Terrain/drycrop3.png</object-mask>
<object-mask>Terrain/drycrop4.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<solid>1</solid> <solid>1</solid>
@ -2573,18 +2564,14 @@ Shared parameters for various materials.
<range-m>5000</range-m> <range-m>5000</range-m>
<object> <object>
<path>Models/Buildings/silo.ac</path> <path>Models/Buildings/silo.ac</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
<object>
<path>Models/Buildings/red-barn.ac</path> <path>Models/Buildings/red-barn.ac</path>
<path>Models/Buildings/horse-stable.ac</path> <path>Models/Buildings/horse-stable.ac</path>
<path>Models/Buildings/cow-stable.ac</path> <path>Models/Buildings/cow-stable.ac</path>
<path>Models/Agriculture/farmhouse1.ac</path> <path>Models/Agriculture/farmhouse1.ac</path>
<path>Models/Agriculture/farmhouse2.ac</path> <path>Models/Agriculture/farmhouse2.ac</path>
<path>Models/Agriculture/farmhouse3.ac</path> <path>Models/Agriculture/farmhouse3.ac</path>
<coverage-m2>750000</coverage-m2> <coverage-m2>10000</coverage-m2>
<heading-type>random</heading-type> <heading-type>mask</heading-type>
</object> </object>
</object-group> </object-group>
<!-- Disabled to avoid a tremendous osg performance penalty when <!-- Disabled to avoid a tremendous osg performance penalty when
@ -2603,9 +2590,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type> <heading-type>random</heading-type>
</object> </object>
</object-group> --> </object-group> -->
<wood-coverage>150000.0</wood-coverage> <wood-coverage>10000.0</wood-coverage>
<wood-size>10000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2693,6 +2678,7 @@ Shared parameters for various materials.
</condition> </condition>
<name>GolfCourse</name> <name>GolfCourse</name>
<texture>Terrain.winter/golfcourse.png</texture> <texture>Terrain.winter/golfcourse.png</texture>
<object-mask>Terrain/golfcourse1.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>
@ -2714,9 +2700,7 @@ Shared parameters for various materials.
<rolling-friction>0.1</rolling-friction> <rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness> <bumpiness>0.3</bumpiness>
<load-resistance>1e30</load-resistance> <load-resistance>1e30</load-resistance>
<wood-coverage>150000.0</wood-coverage> <wood-coverage>5000.0</wood-coverage>
<wood-size>10000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture> <tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties> <tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/> <tree-range-m alias="/params/forest/tree-range-m"/>
@ -2732,8 +2716,10 @@ Shared parameters for various materials.
</equals> </equals>
</condition> </condition>
<name>CropWoodCover</name> <name>CropWoodCover</name>
<name>CropWood</name>
<name>AgroForest</name> <name>AgroForest</name>
<texture>Terrain.winter/cropwood.png</texture> <texture>Terrain.winter/cropwood.png</texture>
<object-mask>Terrain/cropwood.mask.png</object-mask>
<xsize>2000</xsize> <xsize>2000</xsize>
<ysize>2000</ysize> <ysize>2000</ysize>
<light-coverage>2000000.0</light-coverage> <light-coverage>2000000.0</light-coverage>

View file

@ -103,10 +103,9 @@ Started September 2000 by David Megginson, david@megginson.com
<ai-detailed type="double" userarchive="y">10000</ai-detailed> <ai-detailed type="double" userarchive="y">10000</ai-detailed>
<!-- ai-bare type="double" userarchive="y">10000</ai-bare --> <!-- ai-bare type="double" userarchive="y">10000</ai-bare -->
</static-lod> </static-lod>
<random-objects type="bool" <random-objects type="bool" userarchive="y">true</random-objects>
userarchive="y">true</random-objects> <random-vegetation type="bool" userarchive="y">true</random-vegetation>
<random-vegetation type="bool" <vegetation-density type="double" userarchive="y">1.0</vegetation-density>
userarchive="y">true</random-vegetation>
<horizon-effect type="bool" <horizon-effect type="bool"
userarchive="y">false</horizon-effect> userarchive="y">false</horizon-effect>
<point-sprites type="bool" <point-sprites type="bool"