www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Port of libnoise to d

reply "Roderick Gibson" <kniteli gmail.com> writes:
Hey guys. Just wanted to let anyone interested know that I got 
libnoise ported into a (barely) workable state. I actually did 
this last year, but got held up with other things and never got 
around to actually getting it working. So now I have! I've added 
a couple of things to it as well, the biggest one being a simplex 
noise generator.

It's still in a very rough state but it is usable. If anyone 
wants to take a look or grab it it's on my github: 
https://github.com/kniteli/libnoise-d

Building is currently a pain so I'd recommend just importing the 
sources directly.  I'm going to get the library sorted out as I 
go along, as I'm playing around with coherent noise terrain 
generation.

Oh yeah, one last thing, here's some cool formations generated 
with the simplex generator in a voxel engine: 
http://imgur.com/bhwWnny

Can you believe that used to be a cube?
Apr 18 2013
next sibling parent "Tofu Ninja" <emmons0 purdue.edu> writes:
On Thursday, 18 April 2013 at 19:16:25 UTC, Roderick Gibson wrote:
 Hey guys. Just wanted to let anyone interested know that I got 
 libnoise ported into a (barely) workable state. I actually did 
 this last year, but got held up with other things and never got 
 around to actually getting it working. So now I have! I've 
 added a couple of things to it as well, the biggest one being a 
 simplex noise generator.

 It's still in a very rough state but it is usable. If anyone 
 wants to take a look or grab it it's on my github: 
 https://github.com/kniteli/libnoise-d

 Building is currently a pain so I'd recommend just importing 
 the sources directly.  I'm going to get the library sorted out 
 as I go along, as I'm playing around with coherent noise 
 terrain generation.

 Oh yeah, one last thing, here's some cool formations generated 
 with the simplex generator in a voxel engine: 
 http://imgur.com/bhwWnny

 Can you believe that used to be a cube?

This is relevant to my interests, by "rough state", what do mean exactly?
Apr 18 2013
prev sibling next sibling parent "Roderick Gibson" <kniteli gmail.com> writes:
 This is relevant to my interests, by "rough state", what do 
 mean exactly?

Well, for example, building currently just sprays a bunch of import files into a directory with no structure, making them useless without putting them into their directory structure. A couple of the modules had naming collisions with d reserved keywords (namely, module and const) and so I've renamed them temporarily until I can settle on a permanent name. Finally, I can't get the Cache module to build at all (still don't know why), so I have it removed from the build. Other than that it seems to work just fine.
Apr 19 2013
prev sibling parent "Roderick Gibson" <kniteli gmail.com> writes:
I should mention it builds fine, it just has oddities. Also, it 
only supports dmd at the moment, you'll have to setup your own 
build for other compilers.
Apr 19 2013