Specification of random tree models and densities. From Stuart Buchanan.
This commit is contained in:
parent
45efa41608
commit
a511a1d020
1 changed files with 49 additions and 54 deletions
103
materials.xml
103
materials.xml
|
@ -79,6 +79,22 @@ Properties currently used:
|
||||||
glyph: group that defines one letter/digit/symbol in a font texture
|
glyph: group that defines one letter/digit/symbol in a font texture
|
||||||
subentries: name, left (default: 0.0), right (default: 1.0)
|
subentries: name, left (default: 0.0), right (default: 1.0)
|
||||||
(left and right describe the horizontal position in the texture.)
|
(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.
|
||||||
|
|
||||||
|
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
|
||||||
|
trees will not become visible until you are closer.
|
||||||
|
|
||||||
|
tree-texture: A texture to use for the trees. Multiple textures may be
|
||||||
|
defined, but currently each tile will only use one of them.
|
||||||
|
|
||||||
|
tree-height-m: The average height of the trees cover. Actual tree height
|
||||||
|
will vary by +/- 20%.
|
||||||
|
|
||||||
|
tree-width-m: The average width of the tree cover. Actual tree width
|
||||||
|
will vary by +/- 20%.
|
||||||
************************************************************************
|
************************************************************************
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
@ -90,9 +106,7 @@ Shared parameters for various materials.
|
||||||
<params>
|
<params>
|
||||||
<forest>
|
<forest>
|
||||||
<!-- Maximum distance from which a tree is visible -->
|
<!-- Maximum distance from which a tree is visible -->
|
||||||
<tree-range-m>2000</tree-range-m>
|
<tree-range-m>8000</tree-range-m>
|
||||||
<!-- Average number of square meters per tree with one type -->
|
|
||||||
<tree-coverage-m2>10000</tree-coverage-m2>
|
|
||||||
</forest>
|
</forest>
|
||||||
</params>
|
</params>
|
||||||
|
|
||||||
|
@ -652,17 +666,14 @@ Shared parameters for various materials.
|
||||||
<xsize>2000</xsize>
|
<xsize>2000</xsize>
|
||||||
<ysize>2000</ysize>
|
<ysize>2000</ysize>
|
||||||
<light-coverage>10000000.0</light-coverage>
|
<light-coverage>10000000.0</light-coverage>
|
||||||
|
<tree-coverage>4000.0</tree-coverage>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree.rgb</tree-texture>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree2.rgb</tree-texture>
|
||||||
|
<tree-range-m alias="/params/forest/tree-range-m"/>
|
||||||
|
<tree-height-m>6.0</tree-height-m>
|
||||||
|
<tree-width-m>4.0</tree-width-m>
|
||||||
<rolling-friction>1</rolling-friction>
|
<rolling-friction>1</rolling-friction>
|
||||||
<bumpiness>1</bumpiness>
|
<bumpiness>1</bumpiness>
|
||||||
<object-group>
|
|
||||||
<range-m alias="/params/forest/tree-range-m"/>
|
|
||||||
<object>
|
|
||||||
<path>Models/Trees/coniferous-tree.ac</path>
|
|
||||||
<path>Models/Trees/coniferous-tree3.ac</path>
|
|
||||||
<coverage-m2 alias="/params/forest/tree-coverage-m2"/>
|
|
||||||
<heading-type>billboard</heading-type>
|
|
||||||
</object>
|
|
||||||
</object-group>
|
|
||||||
</material>
|
</material>
|
||||||
|
|
||||||
<material>
|
<material>
|
||||||
|
@ -674,18 +685,14 @@ Shared parameters for various materials.
|
||||||
<xsize>2000</xsize>
|
<xsize>2000</xsize>
|
||||||
<ysize>2000</ysize>
|
<ysize>2000</ysize>
|
||||||
<light-coverage>10000000.0</light-coverage>
|
<light-coverage>10000000.0</light-coverage>
|
||||||
|
<tree-coverage>4000.0</tree-coverage>
|
||||||
|
<tree-texture>Models/Trees/deciduous-tree.rgb</tree-texture>
|
||||||
|
<tree-texture>Models/Trees/deciduous-tree2.rgb</tree-texture>
|
||||||
|
<tree-range-m alias="/params/forest/tree-range-m"/>
|
||||||
|
<tree-height-m>5.0</tree-height-m>
|
||||||
|
<tree-width-m>4.0</tree-width-m>
|
||||||
<rolling-friction>1</rolling-friction>
|
<rolling-friction>1</rolling-friction>
|
||||||
<bumpiness>0.85</bumpiness>
|
<bumpiness>0.85</bumpiness>
|
||||||
<object-group>
|
|
||||||
<range-m alias="/params/forest/tree-range-m"/>
|
|
||||||
<object>
|
|
||||||
<path>Models/Trees/deciduous-tree.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree2.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree3.ac</path>
|
|
||||||
<coverage-m2 alias="/params/forest/tree-coverage-m2"/>
|
|
||||||
<heading-type>billboard</heading-type>
|
|
||||||
</object>
|
|
||||||
</object-group>
|
|
||||||
</material>
|
</material>
|
||||||
|
|
||||||
<material>
|
<material>
|
||||||
|
@ -696,21 +703,16 @@ Shared parameters for various materials.
|
||||||
<xsize>2000</xsize>
|
<xsize>2000</xsize>
|
||||||
<ysize>2000</ysize>
|
<ysize>2000</ysize>
|
||||||
<light-coverage>5000000.0</light-coverage>
|
<light-coverage>5000000.0</light-coverage>
|
||||||
|
<tree-coverage>4000.0</tree-coverage>
|
||||||
|
<tree-texture>Models/Trees/deciduous-tree.rgb</tree-texture>
|
||||||
|
<tree-texture>Models/Trees/deciduous-tree2.rgb</tree-texture>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree.rgb</tree-texture>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree2.rgb</tree-texture>
|
||||||
|
<tree-range-m alias="/params/forest/tree-range-m"/>
|
||||||
|
<tree-height-m>5.0</tree-height-m>
|
||||||
|
<tree-width-m>4.0</tree-width-m>
|
||||||
<rolling-friction>1</rolling-friction>
|
<rolling-friction>1</rolling-friction>
|
||||||
<bumpiness>0.95</bumpiness>
|
<bumpiness>0.95</bumpiness>
|
||||||
<object-group>
|
|
||||||
<range-m alias="/params/forest/tree-range-m"/>
|
|
||||||
<object>
|
|
||||||
<path>Models/Trees/deciduous-tree.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree2.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree3.ac</path>
|
|
||||||
<path>Models/Trees/coniferous-tree.ac</path>
|
|
||||||
<path>Models/Trees/coniferous-tree2.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree3.ac</path>
|
|
||||||
<coverage-m2 alias="/params/forest/tree-coverage-m2"/>
|
|
||||||
<heading-type>billboard</heading-type>
|
|
||||||
</object>
|
|
||||||
</object-group>
|
|
||||||
</material>
|
</material>
|
||||||
|
|
||||||
<material>
|
<material>
|
||||||
|
@ -720,17 +722,14 @@ Shared parameters for various materials.
|
||||||
<xsize>1000</xsize>
|
<xsize>1000</xsize>
|
||||||
<ysize>1000</ysize>
|
<ysize>1000</ysize>
|
||||||
<light-coverage>10000000.0</light-coverage>
|
<light-coverage>10000000.0</light-coverage>
|
||||||
|
<tree-coverage>4000.0</tree-coverage>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree.rgb</tree-texture>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree2.rgb</tree-texture>
|
||||||
|
<tree-range-m alias="/params/forest/tree-range-m"/>
|
||||||
|
<tree-height-m>7.0</tree-height-m>
|
||||||
|
<tree-width-m>4.0</tree-width-m>
|
||||||
<rolling-friction>1</rolling-friction>
|
<rolling-friction>1</rolling-friction>
|
||||||
<bumpiness>1</bumpiness>
|
<bumpiness>1</bumpiness>
|
||||||
<object-group>
|
|
||||||
<range-m alias="/params/forest/tree-range-m"/>
|
|
||||||
<object>
|
|
||||||
<path>Models/Trees/coniferous-tree.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree3.ac</path>
|
|
||||||
<coverage-m2 alias="/params/forest/tree-coverage-m2"/>
|
|
||||||
<heading-type>billboard</heading-type>
|
|
||||||
</object>
|
|
||||||
</object-group>
|
|
||||||
</material>
|
</material>
|
||||||
|
|
||||||
<material>
|
<material>
|
||||||
|
@ -739,18 +738,14 @@ Shared parameters for various materials.
|
||||||
<xsize>1000</xsize>
|
<xsize>1000</xsize>
|
||||||
<ysize>1000</ysize>
|
<ysize>1000</ysize>
|
||||||
<light-coverage>10000000.0</light-coverage>
|
<light-coverage>10000000.0</light-coverage>
|
||||||
|
<tree-coverage>4000.0</tree-coverage>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree.rgb</tree-texture>
|
||||||
|
<tree-texture>Models/Trees/coniferous-tree2.rgb</tree-texture>
|
||||||
|
<tree-range-m alias="/params/forest/tree-range-m"/>
|
||||||
|
<tree-height-m>5.0</tree-height-m>
|
||||||
|
<tree-width-m>4.0</tree-width-m>
|
||||||
<rolling-friction>1</rolling-friction>
|
<rolling-friction>1</rolling-friction>
|
||||||
<bumpiness>1</bumpiness>
|
<bumpiness>1</bumpiness>
|
||||||
<object-group>
|
|
||||||
<range-m alias="/params/forest/tree-range-m"/>
|
|
||||||
<object>
|
|
||||||
<path>Models/Trees/deciduous-tree.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree2.ac</path>
|
|
||||||
<path>Models/Trees/deciduous-tree3.ac</path>
|
|
||||||
<coverage-m2 alias="/params/forest/tree-coverage-m2"/>
|
|
||||||
<heading-type>billboard</heading-type>
|
|
||||||
</object>
|
|
||||||
</object-group>
|
|
||||||
</material>
|
</material>
|
||||||
|
|
||||||
<material>
|
<material>
|
||||||
|
|
Loading…
Reference in a new issue