Re: [Algorithms] 2D Side Terrain generation
Brought to you by:
vexxed72
From: Marc H. <ma...@gm...> - 2011-08-09 05:34:54
|
The big revelation for me was that I realized I could use fractals as input functions to other fractals, as well as composing them from adding or multiplying. I tend to start with the standard perlin noise to define the major continents, then use things like rigid multifractal to build mountains into it. From there I use another perlin noise to add smaller hills and valleys, and use yet another to define where to place all those. Here's a 2d example of the output. http://redmine.alephnought.com/projects/cubit/wiki/World#Pretty-pictures I didnt have a terrain renderer yet, so I dont know what the landscape looked like, but I liked the start of it. For something like you're mentioning, I think I might treat it as a strip of a standard 2d heightmap. That way you might get some neat parallax as the ship flys through it. On Mon, Aug 8, 2011 at 8:39 PM, Brennan Rusnell <bre...@gm...> wrote: > I'd recommend using Ridged Multifractals: > https://www.internal.pandromeda.com/engineering/musgrave/unsecure/S01_Course_Notes.html > http://www.ypoart.com/downloads/Musgrave.htm > http://vterrain.org/Elevation/Artificial/ > This is a great book on the topic: > http://books.google.com/books/about/Texturing_modeling.html?id=bDlSJd8GfMcC > Hope this helps. > -- > Brennan Rusnell > > On Mon, Aug 8, 2011 at 7:22 PM, Joel B <one...@ea...> wrote: >> >> Hello, I'm looking for algorithms for generating 2d terrain from a side >> view, like the old Defender game from the 80's, except with mountains grass, >> rocks, lakes etc instead of just lines. >> >> Here is an example of what I have done in Photoshop: >> >> http://img855.imageshack.us/img855/8125/examplelp.png >> >> Anyone on this list have some suggestions? It doesn't have to be real >> time, although that would be interesting too. >> >> - Joel >> >> ------------------------------------------------------------------------------ >> uberSVN's rich system and user administration capabilities and model >> configuration take the hassle out of deploying and managing Subversion and >> the tools developers use with it. Learn more about uberSVN and get a free >> download at: http://p.sf.net/sfu/wandisco-dev2dev >> _______________________________________________ >> GDAlgorithms-list mailing list >> GDA...@li... >> https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list >> Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > -- /// // |