Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DekuTree64

Seamless noise

This topic is 5467 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!