Hello, this is my first gift to the community here at irrlicht. It is a perlin noise generator. It can generate a 2D array of perlin noise, or it can render it out to a texture. My example shows how to class can be expanded to create intresting things, such as procedural clouds. The FPS represented is probably as false as can be, I'm on an anceint computer. So if anyone compiles this it would be much appreciated to return the FPS you get. If anyone finds bug/ways to optimize/errrors please let me know. I will appreciate it much.
Now without further adeu:
Screenshot:
download: http://home.earthlink.net/~spikeball264 ... nNoise.zip
Included in the zip:
CPerlinNoise.h: Noise class also containing cloud class
main.cpp: example showing how to use the class
functions.h: some simple functions, not really important, but one is needed for the example.
2D Perlin Noise and 2D Animated Perlin Clouds Classes
-
- Posts: 11
- Joined: Mon Dec 05, 2005 11:21 pm
- Location: Griffin, Georgia
2D Perlin Noise and 2D Animated Perlin Clouds Classes
You wouldn't hit a kid with contacts would you?!
LOL. I think you are correct about your fps.
I compiled your main and got the following:
http://www.3dcentral.net/screen/perlin/ <-screenshots
I changed the octaves setting.
2= 47fps
4= 28
6= 20
8= 15
Not a bad little app you made there.
I compiled your main and got the following:
http://www.3dcentral.net/screen/perlin/ <-screenshots
I changed the octaves setting.
2= 47fps
4= 28
6= 20
8= 15
Not a bad little app you made there.
If it exists in the real world, it can be created in 3d
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
-
- Posts: 11
- Joined: Mon Dec 05, 2005 11:21 pm
- Location: Griffin, Georgia
Libnoise and FxGen
Libnoise had done a pretty cool job and can be integrated easily with Irrlicht.
Check it out at: http://libnoise.sourceforge.net/
Also take a look at FxGen:
http://sourceforge.net/projects/fxgen/
Renato F. Salas
Check it out at: http://libnoise.sourceforge.net/
Also take a look at FxGen:
http://sourceforge.net/projects/fxgen/
Renato F. Salas