I’m trying to create a heightmap with Perlin noise and decided it would make sense to use the built in PerlinNoise2 class. I need to be able to reproduce the same image by handing it the same seed, but it seems like it cannot be seeded, unless the reference section of this site is wrong?
I just think it seems strange to create a Perlin noise function (and even include a getSeed() method!) but offer no way of setting the seed as it limits a lot of the possible uses.
Have I missed something?
Thanks for the help.
EDIT: If it is indeed impossible to seed it, perhaps this would be a useful thing to change for a future version? It shouldn’t take more than a few lines to implement and would make the class much more flexible.