View Single Post
Old November 6, 2012, 22:52   #10
Patashu
Knight
 
Patashu's Avatar
 
Join Date: Jan 2008
Posts: 526
Patashu is on a distinguished road
Quote:
Originally Posted by Derakon View Post
There's no need to generate the large block of noise if you're just going to use it as a further seed. In fact, I believe that feeding the random number generator into itself actually reduces the noise you get (I've read that this is the case, but not read why it happens). Just use (x, y) as the seed for the chunk, as I suggested earlier.
It's because skipping values makes the period of the RNG quicker.

A good case study of what happens when the RNG is called a variable number of times, based on earlier output of the RNG, is the board setting up RNG in Minesweeper: http://www.minesweeper.info/wiki/Board_Cycles
__________________
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu
Patashu is offline   Reply With Quote