It is currently Wed Dec 11, 2019 10:30 pm


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Really cool map generation which can go well with PolyVox
PostPosted: Sat Mar 31, 2012 8:38 am 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
Hey all,

I found this really cool map generator (demo+algorithm there) which I decided to use for my own game, thought it might help others looking:
http://www-cs-students.stanford.edu/~am ... eneration/

The result is always an island, you can also control the size and by that create more continent like or even have multiple islands in your game each made with this. Every result looks pretty much stunning!

Of course all thanks are though to the author, Amit Patel.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Really cool map generation which can go well with PolyVo
PostPosted: Sat Mar 31, 2012 8:58 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
I've seen that article before but I didn't realise there was a demo. It just seems to export an XML file though, where as a height/colour map would have been useful.

Amit Patel is a very smart guy... I also used his A* articles when writing the PolyVox A* implementation.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Really cool map generation which can go well with PolyVo
PostPosted: Sat Mar 31, 2012 9:55 am 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
There is another demo allowing to export bitmap data:
http://theory.stanford.edu/~amitp/_test/mapgen2-13.swf

I am working to implement his code into C++. I could share it if anyone would like it and if I get to make it standalone (it uses my Vector2 class at the moment for the Voronoi diagram)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Really cool map generation which can go well with PolyVo
PostPosted: Mon Apr 02, 2012 9:11 pm 

Joined: Sun Oct 03, 2010 10:13 pm
Posts: 73
I think this would be very interesting. So far I have not been able to produce maps/worlds that I really like with any noise library. Please share your source if you get the porting done.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Really cool map generation which can go well with PolyVo
PostPosted: Tue Apr 03, 2012 12:23 am 

Joined: Sat Feb 04, 2012 7:10 pm
Posts: 19
I also read this article and added to my favorites but, there is somethings I don't like, for islands that's ok, but for continent it missing stuffs like sediment bassin and so on... and I don't like how the rivers are generated, looks good for a 2D ma, but for 3D, I think you will need to tweak the heigthmap . Anyway I stay impressed by how the moisture is generated!

and still not able to create a cave and so on... (heigthmap is :? evil) :mrgreen: things we can do with polyvoxel :mrgreen: ...
Image
we are the future!

edit:: interesting link : http://www.google.com/url?sa=t&rct=j&q= ... L1XuZuR6TA


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Really cool map generation which can go well with PolyVo
PostPosted: Tue Apr 03, 2012 8:23 am 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
nicoo wrote:
I also read this article and added to my favorites but, there is somethings I don't like, for islands that's ok, but for continent it missing stuffs like sediment bassin and so on... and I don't like how the rivers are generated, looks good for a 2D ma, but for 3D, I think you will need to tweak the heigthmap . Anyway I stay impressed by how the moisture is generated!

and still not able to create a cave and so on... (heigthmap is :? evil) :mrgreen: things we can do with polyvoxel :mrgreen: ...
Image
we are the future!

edit:: interesting link : http://www.google.com/url?sa=t&rct=j&q= ... L1XuZuR6TA


If you have a better algorithm to share, feel free to! Moisture technique can be adapted from his post - just the distance from fresh water.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Really cool map generation which can go well with PolyVo
PostPosted: Tue Apr 03, 2012 3:42 pm 

Joined: Sat Feb 04, 2012 7:10 pm
Posts: 19
Shanee wrote:
If you have a better algorithm to share

did you see my link ?

now, giving a general answer is hard, because taht depends of what you want exactly... and how you want to do it... teleological/ontogenetic... changing the world /bottom-up method...

my best ressource it's a book : http://www.amazon.com/Texturing-Modelin ... 1558608486

as said depend what you want exactly... for mountain with river : http://www.google.com/url?sa=t&rct=j&q= ... L8ik1ggw0A


I also have another idea : study how some open sources game build a map, Freeciv, Freecol, OpenTTD (this last one has multiple height levels), goblincamp, minecraft (I'm not a gamer, I never play with... I should take a look, because I heard so much about this one)

a day I watched some maze generators :
http://weblog.jamisbuck.org/2011/2/7/ma ... ithm-recap
where you can see walls, I see rivers... so I started to search if someone has already use this idea and I found this website :
http://pcg.wikidot.com/
:mrgreen:

I'm not work on a world generator now, because I did it and was never satisfied by what I did... so I try to having more resources... and I try to build a picture of what kind of world I would like, some stuffs to play with :
libnoise :
see tutorial 5 for a basic example : http://libnoise.sourceforge.net/tutoria ... rial5.html
see "Complex planetary surface" : http://libnoise.sourceforge.net/example ... index.html

Geomorph : a height field editor for Linux
http://geomorph.sourceforge.net/news_en.html


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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