1
0
Fork 0

Stuart Buchanan: I've been working on a small patch to allow trees to be grouped together into woods. This allows what seems to me to be a more realistic grouping of trees for farmland in particular.

This commit is contained in:
torsten 2009-08-09 10:51:51 +00:00
parent 943ba2a4fe
commit 50e7bd1ff2

View file

@ -80,8 +80,16 @@ Properties currently used:
sub-entries: name, left (default: 0.0), right (default: 1.0)
(left and right describe the horizontal position in the texture.)
tree-coverage: The coverage of trees in m^2. A lower number means a
higher density of trees. A value of 0 indicates no trees.
wood-coverage: The coverage of woods in m^2. A lower number means a
higher density of woods. A value of 0 indicates no woods.
wood-size: The average size of each wood in m^2. A lower number
means smaller individual woods. If not set, each wood is considered
to contain a single tree, causing even distribution.
tree-density: The area covered by each tree in the wood in m^2. A
lower number means denser individual woods. Ignored if wood-size
is not set.
tree-range-m: The range at which trees become visible. Note that this
is not absolute, as trees are loaded in blocks. A lower number means
@ -682,7 +690,7 @@ Shared parameters for various materials.
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/coniferous-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -708,7 +716,7 @@ Shared parameters for various materials.
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/deciduous-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -733,7 +741,7 @@ Shared parameters for various materials.
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>5000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -757,7 +765,7 @@ Shared parameters for various materials.
<xsize>1000</xsize>
<ysize>1000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/coniferous-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -780,7 +788,7 @@ Shared parameters for various materials.
<xsize>1000</xsize>
<ysize>1000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/coniferous-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -840,7 +848,7 @@ Shared parameters for various materials.
</specular>
<shininess>1.2</shininess>
<light-coverage>20000000.0</light-coverage>
<tree-coverage>12000.0</tree-coverage>
<wood-coverage>12000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-shrub.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -923,7 +931,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>250000.0</tree-coverage>
<wood-coverage>250000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -987,7 +997,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>250000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1272,7 +1284,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>1000000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1331,7 +1345,7 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>500000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1391,7 +1405,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>500000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1432,7 +1448,7 @@ Shared parameters for various materials.
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness>
<load-resistance>1e30</load-resistance>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>500000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1458,7 +1474,7 @@ Shared parameters for various materials.
<rolling-friction>0.6</rolling-friction>
<bumpiness>0.7</bumpiness>
<load-resistance>10</load-resistance>
<tree-coverage>200000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-summer.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1488,7 +1504,7 @@ Shared parameters for various materials.
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/coniferous-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1513,7 +1529,7 @@ Shared parameters for various materials.
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/deciduous-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1537,7 +1553,7 @@ Shared parameters for various materials.
<xsize>2000</xsize>
<ysize>2000</ysize>
<light-coverage>5000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1560,7 +1576,7 @@ Shared parameters for various materials.
<xsize>1000</xsize>
<ysize>1000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/coniferous-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1582,7 +1598,7 @@ Shared parameters for various materials.
<xsize>1000</xsize>
<ysize>1000</ysize>
<light-coverage>10000000.0</light-coverage>
<tree-coverage>4000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/coniferous-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1641,7 +1657,7 @@ Shared parameters for various materials.
</specular>
<shininess>1.2</shininess>
<light-coverage>20000000.0</light-coverage>
<tree-coverage>8000.0</tree-coverage>
<wood-coverage>8000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-shrub-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1724,7 +1740,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>250000.0</tree-coverage>
<wood-coverage>250000.0</wood-coverage>
<wood-size>5000.0</wood-size>
<tree-density>5000.0</tree-density>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -1788,7 +1806,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -2070,7 +2090,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>1000000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -2128,7 +2150,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>150000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -2187,7 +2211,9 @@ Shared parameters for various materials.
<heading-type>random</heading-type>
</object>
</object-group>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>150000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -2227,7 +2253,9 @@ Shared parameters for various materials.
<rolling-friction>0.1</rolling-friction>
<bumpiness>0.3</bumpiness>
<load-resistance>1e30</load-resistance>
<tree-coverage>500000.0</tree-coverage>
<wood-coverage>150000.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-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>
@ -2252,7 +2280,7 @@ Shared parameters for various materials.
<rolling-friction>0.6</rolling-friction>
<bumpiness>0.7</bumpiness>
<load-resistance>10</load-resistance>
<tree-coverage>200000.0</tree-coverage>
<wood-coverage>4000.0</wood-coverage>
<tree-texture>Textures/Trees/mixed-winter.png</tree-texture>
<tree-varieties>8</tree-varieties>
<tree-range-m alias="/params/forest/tree-range-m"/>