Jump to content
  • Advertisement
Sign in to follow this  
  • entry
    1
  • comments
    4
  • views
    1705

About this blog

An exploration in procedural world generation in unity 3d

Entries in this blog

 

Rich new world in just 3 hours!

Over the past year or so I have been gradually building out a system for generating worlds procedurally.

The basic process is to generate a height map which outlines the features of the world, then I texture it, and finally I add vegetation.

It typically takes me about 3 hours to generate a new world from scratch. Most of that time is spent tweaking texturing and vegetation.

The actual generation process on a 4km x 4km world currently takes about 5 seconds. I am in the process of making this multi threaded and that should reduce it down to a few seconds.

Ideally I want to be able to describe a world and inject it into any game by sending just the settings of the world across the network. This moves you from a 10-20MB file transfer down to less than 1k
First I start with a rough 'map' which describes the approximate features I want to have in my world.

[sharedmedia=gallery:images:5548]

Then I apply various types of fractal noise to the map - the broad features become more interesting.

[sharedmedia=gallery:images:5549]

When you step into it, you get a sense of its size and perspective.

[sharedmedia=gallery:images:5550]

And when you add light it's gorgeous.

[sharedmedia=gallery:images:5540]

[sharedmedia=gallery:images:5551]

And finally some vegetation brings it to life:

[sharedmedia=gallery:images:5544]

There's lots more I want to do, but here's a few screen shots of my progress to date.

Video's are available http://www.youtube.com/btektube

adamgoodrich

adamgoodrich

Sign in to follow this  
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!