Hi every one
I was unable to find an implementation of "Perlin Noise" inside the Qt-Libary. So I sifted through the Internet for something useable and was able to find a decent Java-class that I adapted to be used with c++
So I wrapped it in a class, named it adequately
QNoiseand decided to share it with the community. As I think it's a quite handy class to have at and.
The repository can be found here:
There's also a ready to use example in there showing how the class could be used to create interesting data/shapes.
Some screenshots from that example:
Edit: reduced the screenshot sizes.
Thanks for sharing ! :-)
What do you use it for?
Me in partikular or in general ?
Perlin Noise is a gradient noise algorithm. So you can use it for example to create a "random" data set for a graph, where the points "flow" and don't jump from one end of the spectrum to an other.
I'm currently using that.
An other prominent feature is to use it for Terrain-Generation in games (2d and 3D) something I wanted to work on for quite a while.
You can create synthetic textures using Perlin Noise to make computer-generated visual elements – such as object surfaces, fire, smoke, or clouds
Or you can use it to do some amazing computed artwork like these: [made by Etienne Jacob]