Sandbox Paint

From CryWiki

Sandbox Paint
Jump to: navigation, search

Contents

How to Paint a Terrain

Image:Sandbox_Paint_image001.jpg

Overview

This document will give a short overview of how to create terrain layers and paint them on to the terrain. The creation of different terrain types works like the painting in layers in the common 2D graphic designing programs. For the painting of terrains it is necessary to use a few different components of the Sandbox2.

Preparing a terrain layer

Opening the terrain layer editor Click Texture from the Terrain menu.

Image:Sandbox_Paint_image003.png

Adding a new layer

The window shown below should open.

Image:Sandbox_Paint_image005.jpg

By clicking on the icon to the left of the red X a new layer will be created. By default the cursor will jump into that bar of the new layer so it can be named directly after creation. It is suggested to name the layers in a way that declares what it is used for.

Adding a material

After you create and name a new Layer, its settings will be shown in the dialog of the Static field next to the Layers overview.

Image:Sandbox_Paint_image007.jpg

The LayerID will be set to -1 by default. This LayerID will be changed automatically when the Layer is used first time. It is generally not a good idea to change the LayerID by hand.

Click the Edit Surface Type button again. Note: Immediately after creating a layer, some of the Terrain Layers Editor, including the Edit Surface type button, becomes unselectable. Select another layer and then select the previous one again to enable the inactive components.

Now, click Add in the Surface Types window, to create a new type and then click Rename and type an appropriate name.

Image:Sandbox_Paint_image009.png

Next, open the Material Editor

Image:Sandbox_Paint_image011.png

Now, select a material from the terrain folder.

Image:Sandbox_Paint_image013.jpg

After choosing the desired material by highlighting it, close the Material Editor, and the previous window will show again.

Now, click the Pick Selected button and then OK. If you click only OK then the material you highlighted will not be saved.

Image:Sandbox_Paint_image015.png

Now you have created your surface type, you need to assign it to your Terrain Layer, by selecting it from the Surface Type drop-down list.

Image:Sandbox_Paint_image017.jpg

Image:Sandbox_Paint_image018.jpg

Adding a texture

Click the Load Texture button to the right of the image previewer.

Image:Sandbox_Paint_image019.jpg

A list of available textures will appear – select one and click Open.

Image:Sandbox_Paint_image020.jpg

Now click OK until you arrive back at the main perspective viewport, and you will have a complete terrain layer, ready for use.


Painting terrain

Access the layer painter under RollupBar > Terrain > Layer Painter.

Image:Sandbox_Paint_image021.png

After selecting this, a little way below the available materials can be found.

Image:Sandbox_Paint_image023.png

In the now available Brush Settings menu are two sliders to modify your brush.

Image:Sandbox_Paint_image025.jpg

The Radius slider changes the size of the brush

Image:Sandbox_Paint_image026.jpg

Image:Sandbox_Paint_image027.jpg

The Hardness slider changes the strength of the brush. A lower value will give a softer effect.

Image:Sandbox_Paint_image028.jpg

And a higher value makes it stronger.

Image:Sandbox_Paint_image029.jpg

Now, click and hold the mouse button in the perspective viewport and move the mouse around. The terrain will change the texture wherever the brush is.

Image:Sandbox_Paint_image030.jpg

The Filter option gives the ability to modify the basic color of the paintbrush.

Image:Sandbox_Paint_image032.jpg

Select the color tab in the Tool. The color selection box will be open.

Image:Sandbox_Paint_image033.jpg

Chose a new color in the main window and tweak the brightness to what ever you want.

Image:Sandbox_Paint_image034.jpg

Click OK. The Filter option will show the new selected color.

Image:Sandbox_Paint_image035.jpg

Now, click and hold the mouse button in the perspective viewport and move the mouse around. The terrain will change the texture with the new color wherever the brush is.

Image:Sandbox_Paint_image036.png

Result

As you can see, a well painted terrain can look very realistic. If you have a good vegetation setup and good brush placement, you can achieve incredible results.

Image:Sandbox_Paint_image038.png

Image:Sandbox_Paint_image040.png

See Also

Personal tools