Somewhere (I can't remember where) I came across a McLinkerson to the library libnoise, a noise-related library I hadn't seen before despite my extensive googling. It's actually pretty decent, and I like the way the library chains various classes to create a sort of noise cascade. You attach sources and modifiers together in sequence, then simply call GetValue() from the last in the sequence to get the final noise value for a 3-tuple input coordinate. Modifiers include blending and selecting, scaling, clamping, etc... Pretty nifty. The library includes a demo application that procedurally generates an entire planet from chained noise sequences, which is by anybody's standard way cool. It's got oceans, rivers, badlands, plains... you name it. They've got a sequence diagram showing how the modules are chained together that is pretty informative. Some really cool stuff. Check it out
So, I've sort of retired my current (fairly crude) perlin noise generation stuff to the background, and have written code to expose the libnoise modules to Lua. Works pretty well, I just need to write the final simple glue code to build heightmap and tilemap buffers from final noise outputs. Easy as caek. Or pi, whichever you prefer. I like the way the library was designed specifically with this chaining method in mind; it makes some of the stuff I do quite a bit simpler.
Previous Entry
Ghosts 'n stuff
Next Entry
New Golem3D terrain blending scheme
Comments

_the_phantom_
ooo that looks pretty cool, once i'm done with my current manic writing I'm going too look into this, damn good find that man!
June 04, 2005 11:56 AM

Wow, libnoise is seriously impressive. Its (kinda) similar to something I was tinkering with a while ago, but their method for combining different layers of noise is much more flexible than the (rather hardcoded) methods I was using.
June 04, 2005 07:47 PM

November 22, 2014 03:17 AM

I could try to find a backup somewhere, but it's been many years and many harddrive replacements since I last used libnoise.
January 25, 2015 04:02 PM
Advertisement
Latest Entries
Mechanics of Flow in Gold Rush.
7039 views
Gold Rush
5515 views
DungeonBot3000: Inventory and Items Display
5823 views
DungeonBot3000: Postmortem
5742 views
DungeonBot3000: Boss Fight Scripting
5132 views
DungeonBot3000: Friggin Laser Beams
5717 views
DungeonBot3000: Video
4853 views
DungeonBot3000: Stats, Combat, and Items
6926 views
DungeonBot3000
5058 views
Diablo:Immortal
13982 views
Advertisement
Advertisement