top of page

WORLD GENERATOR

This short prototype was carried out in 8 days and it's goal was to create a small 3D map generator.

GOALS

  • Creating a 3D random world generator.

  • Lay down the foundation of a maintenable architecture for later use.

  • Make the generator fully tweakable to fit gameplay needs.

  • Realistic generation with hills, mountains, lakes...

  • Experiment with multi-threading.

​

​

CREATING THE WORLD

Block.PNG
World.png

The world is divided into chunks which are themselves divided into Blocks.

Diamond_Square.svg.png

The map is generated using a heightmap. 

This heightmap is randomly generated using a perlin noise.

The heightmap then run through a mid-point displacement algorithm multiple times.

WordGenStats.PNG

The world generator then reads the heightmap values and create blocs accordingly.

Generation attributes can be modified in the editor to fit the type of landscape needed.

 

Thread.PNG

Blocs are generated through chunks.

Chunks are generated using multi-threading to allow world generation to run while the player is exploring the world without hurting the framerate (like in Minecraft)

 

bottom of page