Покраска ландшафта

Материал из CryWiki Russia

(Различия между версиями)
Перейти к: навигация, поиск
Строка 1: Строка 1:
{{В процессе перевода|дата=24 декабря 2010}}
{{В процессе перевода|дата=24 декабря 2010}}
-
== Рисование ландшафта ==
+
== Покраска ландшафта ==
[[Файл:Sandbox_Paint_image002.jpg]]
[[Файл:Sandbox_Paint_image002.jpg]]

Версия 15:29, 24 декабря 2010

Эта страница страница помечена как находящиеся в процессе перевода с: 24 декабря 2010.


Содержание

Покраска ландшафта

Sandbox Paint image002.jpg

Обзор

Этот документ даст вам короткий обзор как добавить слои на ландшафт и рисовать ими на ландшафте. Создание различных типов ландшафта работает как рисование слоев в 2D графических редакторах. Для рисование на ландшафте нужно использовать несколько различных компонентов Sandbox2.

Приготовление ландшафтных слоев

Откройте редактор слоев ландшафта Нажав наTexture из Terrain меню.

Sandbox Paint image003.png

Добавление нового слоя

Должно открыться окно показанное ниже

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.

Добавление материала

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.

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.

Sandbox Paint image009.png

Next, open the Material Editor

Sandbox Paint image011.png

Now, select a material from the terrain folder.

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.

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.

Sandbox Paint image017.jpg

Sandbox Paint image018.jpg

Добавление текстур

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

Sandbox Paint image019.jpg

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

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.


Рисование

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

Sandbox Paint image021.png

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

Sandbox Paint image023.png

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

Sandbox Paint image025.jpg

The Radius slider changes the size of the brush

Sandbox Paint image026.jpg

Sandbox Paint image027.jpg

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

Sandbox Paint image028.jpg

And a higher value makes it stronger.

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.

Sandbox Paint image030.jpg

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

Sandbox Paint image032.jpg

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

Sandbox Paint image033.jpg

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

Sandbox Paint image034.jpg

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

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.

Sandbox Paint image036.png

Результат

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.

Sandbox Paint image038.png

Sandbox Paint image040.png

См. также