From a511a1d0204fb061c77c4edbea5f64904a3f6b2d Mon Sep 17 00:00:00 2001 From: timoore Date: Sat, 2 Feb 2008 23:10:08 +0000 Subject: [PATCH] Specification of random tree models and densities. From Stuart Buchanan. --- materials.xml | 103 ++++++++++++++++++++++++-------------------------- 1 file changed, 49 insertions(+), 54 deletions(-) diff --git a/materials.xml b/materials.xml index 45e6a1499..d0c16acc2 100644 --- a/materials.xml +++ b/materials.xml @@ -79,6 +79,22 @@ Properties currently used: glyph: group that defines one letter/digit/symbol in a font texture subentries: 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. + + 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. - 2000 - - 10000 + 8000 @@ -652,17 +666,14 @@ Shared parameters for various materials. 2000 2000 10000000.0 + 4000.0 + Models/Trees/coniferous-tree.rgb + Models/Trees/coniferous-tree2.rgb + + 6.0 + 4.0 1 1 - - - - Models/Trees/coniferous-tree.ac - Models/Trees/coniferous-tree3.ac - - billboard - - @@ -674,18 +685,14 @@ Shared parameters for various materials. 2000 2000 10000000.0 + 4000.0 + Models/Trees/deciduous-tree.rgb + Models/Trees/deciduous-tree2.rgb + + 5.0 + 4.0 1 0.85 - - - - Models/Trees/deciduous-tree.ac - Models/Trees/deciduous-tree2.ac - Models/Trees/deciduous-tree3.ac - - billboard - - @@ -696,21 +703,16 @@ Shared parameters for various materials. 2000 2000 5000000.0 + 4000.0 + Models/Trees/deciduous-tree.rgb + Models/Trees/deciduous-tree2.rgb + Models/Trees/coniferous-tree.rgb + Models/Trees/coniferous-tree2.rgb + + 5.0 + 4.0 1 0.95 - - - - Models/Trees/deciduous-tree.ac - Models/Trees/deciduous-tree2.ac - Models/Trees/deciduous-tree3.ac - Models/Trees/coniferous-tree.ac - Models/Trees/coniferous-tree2.ac - Models/Trees/deciduous-tree3.ac - - billboard - - @@ -720,17 +722,14 @@ Shared parameters for various materials. 1000 1000 10000000.0 + 4000.0 + Models/Trees/coniferous-tree.rgb + Models/Trees/coniferous-tree2.rgb + + 7.0 + 4.0 1 1 - - - - Models/Trees/coniferous-tree.ac - Models/Trees/deciduous-tree3.ac - - billboard - - @@ -739,18 +738,14 @@ Shared parameters for various materials. 1000 1000 10000000.0 + 4000.0 + Models/Trees/coniferous-tree.rgb + Models/Trees/coniferous-tree2.rgb + + 5.0 + 4.0 1 1 - - - - Models/Trees/deciduous-tree.ac - Models/Trees/deciduous-tree2.ac - Models/Trees/deciduous-tree3.ac - - billboard - -