WoLD Archives Search About Contact

World of Level Design

Tutorials to Becoming the Best Level Designer and Game Environment Artist (since 2008)

CryEngine 3 SDK: Creating and Generating Terrain

Category: CryEngine 3 SDK
October 17, 2011

We continue with CryEngine 3 SDK tutorials. If you are just starting to learn and use CryEngine 3 SDK, start here.

In this tutorial we cover how to generate and create new terrain.

Topics covered:

  • Creating New Map
  • Defining Heightmap Resolution and Meters Per Unit
  • Generating and creating terrain (procedural)
  • Generate terrain options
  • Modifying terrain options
  • Resizing terrain

NEW MAP

Creating a new map is very simple.

Go to File --> New Map

Name your level and define Heightmap Resolution and Meters Per Unit.

Heightmap Resolution is the amount of pixels you want your heightmap to be

Meters Per Unit is how many meters for every pixel of your heightmap do you want

Larger your Meters Per Unit value and Heightmap Resolution will give you a large terrain size.

You can see the Terrain Size values in meters above ok/cancel buttons.

If you set Meters Per Unit to a larger number, the more blockier and rougher your terrain will be. Low number will give you more detail and smooth terrain but more there will be more triangles per every meter/pixel.

Basically you have to find the balance between the size and performance. In order to know this you will have to create a few terrains.

I would recommend to create a few throw away test maps playing around with different Heightmap Resolutions and Meters Per Unit. You can also resize your terrain after you went through New Level creation. So you don't have to create a new map everytime you want a new terrain size. I cover that later down the page.

Once you set terrain size, click OK.

You now have a world and a flat terrain below sea level.

EDIT/GENERATE TERRAIN

Lets generate our first terrain using procedural method. This means that CryEngine will give us a random heightmap and create a terrain for us.

Go up to Terrain --> Edit Terrain

Terrain Editor window will open.

In Terrain Editor window still open go to Tools --> Generate Terrain

Terrain Generation window will open. Here you can modify few values to get various random results for your terrain.

I only modify Feature Size, which sets the variation of the terrain. Lower number, less heights and peaks you get and more normal terrain looks.

Play around with all the values to see what they do. You can generate this terrain as many times as you want for variety of results.

Click OK when ready.

MODIFY OPTIONS

Modify Options inside the Terrain Editor are extremely useful. These are used to give the entire terrain some modification. Most of these are self-explanatory.

I use the following when I create procedural terrain:

  • Make Isle: rounds out your entire terrain, creating more of an island shape
  • Remove Water: removes water from your map. Sets water level to -10,000
  • Set Water Level: set a water level. Default is 10 meters.
  • Set Max Height: sets the maximum height of your terrain. Set this before you Generate terrain to see the results
  • Flatten (Light/Heavy)
  • Smooth: smoothes entire terrain
  • Smooth Slope
  • Reduce Range (Light/Heavy)

Watch the video to see what each one of them does. But the best way is to go through and experiment each one on your terrain.

For procedural terrain generation I have used most of these to get the terrain to look how I want it.

RESIZE TERRAIN

You can always resize the terrain after you went through New Level creation.

In the Terrain Editor window click on the Resize tool or go to Modify --> Resize.

Input new Heightmap Resolution and Meters Per Unit. Any terrain you currently have will be gone.

SUBSCRIBE & GET FREE UE5 PDF GUIDE

Subscribe to receive NEW/UPDATED and FREE "UE5 Beginner's Quick Start Guide" PDF (90 pages).

Subscribe and Get Free UE5 PDF Guide

Visit this page for more info about the guide...


Follow WoLD




UE5 FUNDAMENTALS VOL.1 COURSE


UE5: RETRO OFFICE PROJECT


MAYA FOUNDATION COURSE


SUBSTANCE PAINTER ESSENTIALS


LEARN THE PREPRODUCTION PROCESS


ABOUT WoLD & ALEXG

About World of Level Design

My name is AlexG. I am self-taught level designer, game environment artist and the creator of World of Level Design.com. I've learned everything I know from personal experimentation and decades of being around various online communities of fellow environment artist and level designers. On World of Level Design you will find tutorials to make you become the best level designer and game environment artist.

Read More »


Home Terms of Use/Trademarks/Disclaimers Privacy Policy Donate About Contact

All content on this website is copyrighted ©2008-2024 World of Level Design LLC. All rights reserved.
Duplication and distribution is illegal and strictly prohibited.

World of Level Design LLC is an independent company. World of Level Design website, its tutorials and products are not endorsed, sponsored or approved by any mentioned companies on this website in any way. All content is based on my own personal experimentation, experience and opinion. World of Level Design™ and 11 Day Level Design™ are trademarks of AlexG.

Template powered by w3.css