Terrain Generation

User projects written in or related to FreeBASIC.
Post Reply
mambazo
Posts: 652
Joined: Jul 17, 2005 13:02
Location: Ireland
Contact:

Terrain Generation

Post by mambazo »

Hi everyone.

Image

I've had this concept sitting on my computer since 2012 and don't think I ever shared it with the FB community.

It is a heightmap terrain generator demo, combined with a water demo.

SPACE = New terrain
N + SPACE = New terrain type 2
M + SPACE = New terrain type 3
B = Blur terrain
UP = Raise water level
DOWN = Drop water level
S = Show heightmap buffer
T = Show water buffer
LMB = Play with water
RMB = Draw terrain (pure testing mode here, it isn't lined up with the mouse at all, lol)

Unfortunately, for Windows only, and I am keeping the source to myself due to its awesomeness ;)

http://www.bazosoft.com/_files/map_gen_test.zip

Enjoy and Happy New Year to you all!
D.J.Peters
Posts: 8631
Joined: May 28, 2005 3:28
Contact:

Re: Terrain Generation

Post by D.J.Peters »

Cool is it a 2D grid water wave simulation or 3D ?

I would like to rotate the terrain.

Joshy
mambazo
Posts: 652
Joined: Jul 17, 2005 13:02
Location: Ireland
Contact:

Re: Terrain Generation

Post by mambazo »

Thanks. The water is a 2D buffer.

I was also thinking about rotating the terrain. I might implement that for 90deg rotations.
Post Reply