Seamless noise

Started by
2 comments, last by DekuTree64 20 years, 9 months ago
Is it possible to make perlin noise repeat after a specified time, for a nice tiling texture? I read on Ken Perlin''s page that you can use 1-z*noise(x,y,z)+z*noise(x,y,z-1) to make a repeating animation, which does exactly what I want, but only in one dimension at a time. Is there any simple extension to that for more than one dimension, or any other way to repeat in X and Y at the same time?
Advertisement
Well Im haven''t tried this But I am thinking you can by simply nesting it:

ZTiledNoise(x,y,z)=1-z*noise(x,y,z)+z*noise(x,y,z-1)
then
YZTiledNoise(x,y,z)=1-y*ZTiledNoise(x,y,z)+y*ZTiledNoise(x,y-1,z)

you can extend that to any number of dimentions
ASCII stupid question, get a stupid ANSI
Have a look at the very bottom.
http://www.robo-murito.net/code/perlin-noise-math-faq.html

The Perlin Noise Math FAQ is pretty nice, explains alot of things around perlin noise.

regards,
Stephan

eisscholle.de
Thanks for that page, but actually I came up with the exact same formula earlier today. Now it''s just a matter of tweaking things until I get some good clouds...
And of course speeding it up a lot, since my current version is quite slow, and I was hoping to be able to animate it. I could live with precalculating it if I have to though (it''s for a demo on GBA, so I don''t have a lot of processing power for it)

This topic is closed to new replies.

Advertisement