It is currently Mon Dec 16, 2019 12:29 am


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Procedurally generated terrain with overhangs
PostPosted: Sat Feb 16, 2013 11:20 am 

Joined: Thu Oct 06, 2011 2:26 pm
Posts: 46
Location: Berlin
As promised, I actually wrote an article about procedural terrain generation with overhangs, making use of 2D and 3D noise! And of course PolyVox ;)

I decided to put it on my blog, so have a look!

But we can't have a showcase topic without pictures, can we?

Image

_________________
My site! - Have a look :)
Also on Twitter - with more ketchup


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Procedurally generated terrain with overhangs
PostPosted: Tue Feb 19, 2013 9:32 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Interesting stuff, I had a read of your article and also the one you linked to about different noise libraries. I can imagine that in the future we might make some kind of terrain generation plugin for Cubiquity so it was interesting to read you opinions of them.

We're also in the process of moving the Wiki to BitBucket. Once we have done this it would be interesting to have a section on external links to PolyVox related articles such as this.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Procedurally generated terrain with overhangs
PostPosted: Tue Sep 17, 2013 3:34 am 
User avatar

Joined: Tue Feb 22, 2011 8:04 am
Posts: 101
Excellent work! I made a similar deep dive into generating terrain and researching noise libraries. Its interesting to see we came to the same conclusions regarding noise libraries. I am a fan of ANL over the other alternatives I found.

However I was curious about the multithreading you mentioned. ANL is pretty single threaded due to the caches it uses internally. Did you change it to be multithreaded as you mentioned in your post? If not, how would you propose changing it to be multithreaded?

All in all I will be studying your writeups more to work on improving my clunky implementation. Its always nice to see the way somebody else approached the problem.

_________________
--Real Programmers use a magnetized needle and a steady hand.
--xkcd--


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Procedurally generated terrain with overhangs
PostPosted: Sat Nov 30, 2013 1:41 pm 

Joined: Thu Oct 06, 2011 2:26 pm
Posts: 46
Location: Berlin
Late answer, sorry.
I was kinda busy with other stuff for our project and did not yet have the time to revisit 3D terrain generation.

Actually, I never tried out ANL + multithreading.
I just assumed that splitting the generation into parts would do the trick. Like 4 equally split terrain parts, each in its own thread, each using ANL to generate the noise. I'm not aware of anything inside ANL that would prevent this, but I did not have a deep look. Given, this idea would not make ANL multi-threaded, but rather use ANL in different threads.

What I did, though, was porting part of ANL to Haxe and in doing so I noticed a LOT of things one could do to improve ANL performance. I'll most likely port those improvements back to C++ once we need it again.

_________________
My site! - Have a look :)
Also on Twitter - with more ketchup


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net