How do I create tileable solid noise for map generation?

Posted by nickbadal on Game Development See other posts from Game Development or by nickbadal
Published on 2010-11-04T23:43:58Z Indexed on 2012/06/27 21:26 UTC
Read the original article Hit count: 218

Filed under:
|
|

Hey guys, I'm trying to figure out how to generate tileable fractals in code (for game maps, but that's irrelevant) I've been trying to modify the Solid Noise plug-in shipped with GIMP (with my extremely limited understanding of how the code works) but I cant get mine to work correctly.

My modified code so far (Java)

GIMP's solid noise module that I'm basing my code off of (C)

Here is what I'm trying to achieve but This is what I'm getting

So if anybody can see what I've done wrong, or has a suggestion how I could go about doing it differently, I'd greatly appreciate it. Thanks in advance. And if I'm asking way to much or if just a huge failure at life, I apologize.

© Game Development or respective owner

Related posts about java

Related posts about procedural-generation