- Home /
Need help with undocumented Mathf.PerlinNoise
Mathf.PerlinNoise (float x, float y);
I want to use PerlinNoise to create textures like http://freespace.virgin.net/hugo.elias/models/p_128.jpg for heightmaps and moisture maps as well as like http://umbrarumregnum.110mb.com/images/art_rivers_01_full.jpg for river paths.
The problem is I want to generate them at run time and for a given seed to always create the game map. I don't see any options with Mathf.PerlinNoise other then the X and Y co-ords. Can I set a starting seed? The Frequency and Amplitude? (http://freespace.virgin.net/hugo.elias/models/m_perlin.htm)
Can someone post scripts that would generate an image like:
and one like ?
Answer by Jean-Fabre · Mar 03, 2011 at 06:51 AM
Hi,
I think this is what you want:
http://www.unifycommunity.com/wiki/index.php?title=TerrainPerlinNoise
Bye,
Jean
Unless I am missing something, that doesn't answer any of my questions.
"The problem is I want to generate them at run time and for a given seed to always create the game map. I don't see any options with $$anonymous$$athf.PerlinNoise other then the X and Y co-ords. Can I set a starting seed? The Frequency and Amplitude? (http://freespace.virgin.net/hugo.elias/models/m_perlin.htm)"
Your answer
Follow this Question
Related Questions
3D Perlin Noise mesh even in all axes 1 Answer
Seeding perlin functions 1 Answer
procedurally generated rocks 0 Answers
shader based on surface distance from center ? 2 Answers
how do i procedurally generated perlin noise infinitely c# 0 Answers