perlin noise
Blitz3D Forums/Blitz3D Programming/perlin noise
| ||
I found a great website about perlin noise and I have being trying to do it. A little bit down the page, it describes a way to add different levels and amounts of noise together to get a smooth line. The website is http://freespace.virgin.net/hugo.elias/models/m_perlin.htm and the code is Graphics 600,400,16,2 Dim pass1 (2);128 For p = 0 To 2 pass1 (p) = Rnd (0,128) Next Dim pass2 (4);64 For p = 0 To 4 pass2 (p) = Rnd (-32,32) Next Dim pass3 (8);32 For p = 0 To 8 pass3 (p) = Rnd (-16,16) Next ;Dim pass4 (16);16 Dim final (128) Last edited 2012 |
| ||
also, try "code archives" http://blitzbasic.com/codearcs/codearcs.php?code=2706 Juan |
| ||
Thanks Charrua, you really helped Also "Paren el mundo!(me quiero bajar)" translated means stop the world!(i Want to get off)" Sounds like your planing to stop the earth's rotation and go to mars while leaving us to freeze or burn on earth! Last edited 2012 |
| ||
[off topic] you got the idea: wry humor of :Mafalda. Well known here in South America, particulary in the "rio de la plata" where i live. http://www.todohistorietas.com.ar/mafalda.htm [/off topic] perhaps you have to thank's: MusicianKool, who share with us it's work. kind regards Juan Last edited 2012 Last edited 2012 Last edited 2012 |