| 
 | 
     
    
    
    
     
    
    
    
 
    
    
 
    
     
    
    
    
     
    
    
    
     
    
    
    
 
    
    
 
    
    
 | 
       | 
      
 
 
	
		  | 
	
	 | 
 
 
		
	
	
	
		
	
	
	
		
		
		
			
			 
			
				March 14th, 2010, 01:14 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				BANNED USER 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2009 
					
					
					
						Posts: 118
					 
					 
	Thanks: 1 
	
		
			
				Thanked 7 Times in 7 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Fourth-age: Still making noise, dammit!
	
			 
             
			
		
		
		
		Fourth-age has just gotten a Procedural Content Generation boost! 
 
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.  
		
	
		
		
		
		
		
		
		
		
		
		
            
                  
				
                    
                        Last edited by Ink; March 14th, 2010 at 01:41 AM..
                    
                    
				
			
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 14th, 2010, 04:32 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2009 
					Location: Me a viking 
					
					
						Posts: 1,012
					 
					 
	Thanks: 81 
	
		
			
				Thanked 122 Times in 73 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		And what is fourth age? 
		
	
		
		
		
		
		
		
			
				__________________ 
				Voice of ***** and her spicy crew! 
			 
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 14th, 2010, 04:43 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Sep 2007 
					Location: Scotland 
					
					
						Posts: 2,066
					 
					 
	Thanks: 109 
	
		
			
				Thanked 162 Times in 118 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		The Dom3 roguelike spinoff, I think. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	
		
			| 
				
					The Following User Says Thank You to Gregstrom For This Useful Post:
				
			 | 
			
			
		 
		 |  
	 
  
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 16th, 2010, 06:12 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2003 
					Location: az 
					
					
						Posts: 3,069
					 
					 
	Thanks: 41 
	
		
			
				Thanked 39 Times in 28 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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? 
		
	
		
		
		
		
		
		
			
				__________________ 
				There can be only one.
			 
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 16th, 2010, 06:38 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2003 
					Location: Vacaville, CA, USA 
					
					
						Posts: 13,736
					 
					 
	Thanks: 341 
	
		
			
				Thanked 479 Times in 326 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		Bring him back.  
He is NOT my alt! 
He will be good. Really. 
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 16th, 2010, 07:42 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2009 
					Location: Me a viking 
					
					
						Posts: 1,012
					 
					 
	Thanks: 81 
	
		
			
				Thanked 122 Times in 73 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  NTJedi
					 
				 
				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.  
		
	
		
		
		
		
		
		
			
				__________________ 
				Voice of ***** and her spicy crew! 
			 
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 17th, 2010, 06:55 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				National Security Advisor 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2003 
					Location: Helsinki, Finland 
					
					
						Posts: 5,425
					 
					 
	Thanks: 174 
	
		
			
				Thanked 695 Times in 267 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  NTJedi
					 
				 
				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.  
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 21st, 2010, 10:55 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2009 
					
					
					
						Posts: 2,157
					 
					 
	Thanks: 69 
	
		
			
				Thanked 116 Times in 73 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  Edi
					 
				 
				
	Quote: 
	
	
		
			
				
					Originally Posted by  NTJedi
					 
				 
				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.  
			
		 | 
	 
	 
 That's not quite true.  He was the sockpuppet of a user banned for pointing out piracy existed with a little too much evidence.  IMO, his banning was a little excessive (a warning and deleting the link from the offending post would have been sufficient), but I am not a moderator, so what do i know.  
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 21st, 2010, 12:48 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
			
				
				
				 Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2006 
					Location: Tennessee USA 
					
					
						Posts: 2,059
					 
					 
	Thanks: 229 
	
		
			
				Thanked 106 Times in 71 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  Squirrelloid
					 
				 
				
	Quote: 
	
	
		
			
				
					Originally Posted by  Edi
					 
				 
				
	Quote: 
	
	
		
			
				
					Originally Posted by  NTJedi
					 
				 
				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.  
			
		 | 
	 
	 
 That's not quite true.  He was the sockpuppet of a user banned for pointing out piracy existed with a little too much evidence.  IMO, his banning was a little excessive (a warning and deleting the link from the offending post would have been sufficient), but I am not a moderator, so what do i know.  
			
		 | 
	 
	 
 Do you or have you ever used IRC? If so why should we believe a word you have typed?  
		
	
		
		
		
		
		
		
			
				__________________ 
				BLAH BLAH BLAH BLAH NEXT TURN.
			 
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 21st, 2010, 02:35 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2003 
					Location: Vacaville, CA, USA 
					
					
						Posts: 13,736
					 
					 
	Thanks: 341 
	
		
			
				Thanked 479 Times in 326 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Fourth-age: Still making noise, dammit!
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  Squirrelloid
					 
				 
				
	Quote: 
	
	
		
			
				
					Originally Posted by  Edi
					 
				 
				
	Quote: 
	
	
		
			
				
					Originally Posted by  NTJedi
					 
				 
				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.  
			
		 | 
	 
	 
 That's not quite true.  He was the sockpuppet of a user banned for pointing out piracy existed with a little too much evidence.  IMO, his banning was a little excessive (a warning and deleting the link from the offending post would have been sufficient), but I am not a moderator, so what do i know.  
			
		 | 
	 
	 
 His "little too much evidence" was active links? 
It seems as if the punishments for such is fairly standard.  
Doing it in some rare forums and channels might get you praised.  
Doing it in fan-run forums and channels might get you slapped. 
Doing it on the official distributor owned and run forum or chat tends to get you banned.  
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		
		  Hybrid Mode 
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		Posting Rules
	 | 
 
	
		
		You may not post new threads 
		You may not post replies 
		You may not post attachments 
		You may not edit your posts 
		 
		
		
		
		
		HTML code is On 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
     |  
 |