.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Fourth-age: Still making noise, dammit! (http://forum.shrapnelgames.com/showthread.php?t=45116)

Ink March 14th, 2010 01:14 AM

Fourth-age: Still making noise, dammit!
 
Fourth-age has just gotten a Procedural Content Generation boost!

http://www.pygame.org/shots/1442.jpg

I've ported the venerable C++ libnoise library to Python. This is pure Python, but I mainly just want the module logic in Python to make using it from Fourth age more 'Pythonic'. There does exist a Perlin noise generator implemented in Python's C API, so I hope to shortly adopt this and use it instead of a pure Python implementation.

Notice that's no ordinary Perlin noise. libnoise (and now noiselib) works by taking base noise generators, and wrapping the generators in functions which modify the output. Each module taking a set of noise sources acts as another noise source which can in turn be passed to another module. Through this sort of composition complex noise-scapes can be made. The one in the screen shot produces wide-scale terrain with mountain ridges and rolling lowlands. Noise is fractal, so if you zoom in and amplify noise in some small sector then you get noise which resembles that which you zoomed in on (of course, the noise function is not infinite resolution, so you need a high resolution array of noise to do this satisfactorily).

So that's just a little of what Fourth age development has been up to recently. We soon hope to begin moving into more concrete game programming (and not just low level libraries like this).

For the curious, that's an 11 octave, 0.5 persistance ridged-multifractal generator along with a so-called 'billow noise' generator at 8 octaves and 0.75 persistance and scaled to 0.125 and biased by -0.75 then blended to the ridged multifractal generator using that generator itself as the control value for the blend lerp (the ridged multifractal is the '1' end of the lerp scale). That way the ridges stay sharp and as the height drops the rolling effect of the billow noise become more pronounced.

Fantomen March 14th, 2010 04:32 AM

Re: Fourth-age: Still making noise, dammit!
 
And what is fourth age?

Gregstrom March 14th, 2010 04:43 AM

Re: Fourth-age: Still making noise, dammit!
 
The Dom3 roguelike spinoff, I think.

NTJedi March 16th, 2010 06:12 PM

Re: Fourth-age: Still making noise, dammit!
 
Wow... looks like the creator of this thread Ink was recently banned. Could it have been related to this topic?

Gandalf Parker March 16th, 2010 06:38 PM

Re: Fourth-age: Still making noise, dammit!
 
Bring him back.
He is NOT my alt!
He will be good. Really.

Fantomen March 16th, 2010 07:42 PM

Re: Fourth-age: Still making noise, dammit!
 
Quote:

Originally Posted by NTJedi (Post 735826)
Wow... looks like the creator of this thread Ink was recently banned. Could it have been related to this topic?

Hardly this topic, but I'm not surprised.

Foodstamp March 16th, 2010 08:22 PM

Re: Fourth-age: Still making noise, dammit!
 
I heard it had something to do with the IRC crowd.

Gandalf Parker March 16th, 2010 09:27 PM

Re: Fourth-age: Still making noise, dammit!
 
Really? I thought he was rather mercenary to their favorite topics.
Maybe he was my alt.

Edi March 17th, 2010 06:55 AM

Re: Fourth-age: Still making noise, dammit!
 
Quote:

Originally Posted by NTJedi (Post 735826)
Wow... looks like the creator of this thread Ink was recently banned. Could it have been related to this topic?

No. He was the sockpuppet of a user banned for piracy. That's all there is to it.

lch March 17th, 2010 09:06 AM

Re: Fourth-age: Still making noise, dammit!
 
I hope that this "Dominions Fourth Age" roguelike spinoff project still comes to a conclusion regardless and we'll be able to see that the effort invested into it pays off. It looks quite promising, could have a lot of potential.


All times are GMT -4. The time now is 04:53 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.