first version of tgad
authornireco
Tue, 09 Dec 2008 01:55:04 +0000
changeset 343 6675e370b377
parent 342 4abe994e61d5
child 344 a1ac08c37f0f
first version of tgad
doc/texture_generation.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/texture_generation.txt	Tue Dec 09 01:55:04 2008 +0000
@@ -0,0 +1,16 @@
+In texture generation is used random fractal terrain generation algorithm 
+[http://www.gameprogrammer.com/fractal.html].
+
+In 1 dimension algorithm starts with one straight line. Then it affects to that 
+line's midpoint with some random multiplied with H-value. After those first steps 
+it simply calls itself to both parts of line changing H-value smaller.
+
+Two dimensional version (programmed to the code) needs step for point's between 
+last density and step diagonal to last density's points, otherwise quite similar 
+to 1 dimensional version.
+
+Version of algorithm in our code is decided to be coded as iterative.
+
+
+
+