🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

libnoise

Published June 04, 2005
Advertisement
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.
0 likes 5 comments

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
JTippetts
The png that shows the chained sequence of noise modules they used for that planet is here. Pretty cool.
June 04, 2005 12:17 PM
OrangyTang
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
dutzy

Hi I know you posted this 3,287 days ago but would you consider releasing your lua bindings?

November 22, 2014 03:17 AM
JTippetts

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
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement