Размещение декалей в редакторе

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

(Различия между версиями)
Перейти к: навигация, поиск
(Новая страница: «== Размещение декалей в редакторе == Image:Decals_image001.jpg === Описание === Следующее руководство о...»)
Строка 8: Строка 8:
[[Image:Decals_image003.jpg]]
[[Image:Decals_image003.jpg]]
-
===Placing a Decal in the Level ===
+
===Добавление декали на уровень===
-
====Selecting the decal entity====
+
====Выбор декали ====
-
 
+
Чтобы добавить декаль в игре, для начала активируйте '''Follow Terrain''', затем перейдите в библиотеку '''Misc''', размещённую в '''RollupBar''' и выберите '''Decal'''.
-
To place a decal in the game, you have to first activate '''Follow Terrain''', then go into the '''Misc Object Type''' library located in the '''[[Sandbox_RollupBar|RollupBar]]''' and select '''Decal'''.  
+
[[Image:Decals_image005.png]]
[[Image:Decals_image005.png]]
Строка 17: Строка 16:
[[Image:Decals_image007.png]]
[[Image:Decals_image007.png]]
-
====Placing a decal in the level====
+
====Добавление декали на уровень====
 +
Выберите декаль, кликнув по ней левой кнопкой мыши, и затем переместите мышь в окне перспективы. Инструмент «Follow terrain», который был ранее активирован, привяжет новый объект к ландшафту, при его перемещении.
-
Select the decal by clicking the mouse button, and then move the mouse into the perspective viewport. The Follow Terrain tool that was previously selected will snap the new object to the terrain as you move it around.
+
Нажмите кнопку мыши, чтобы поместите декаль в его нынешнее положение. Потом вы сможете перемещать/вращать/масштабировать декаль, используя команды '''Editing Mode''', расположенные в меню '''Edit''' или на панели инструментов'''EditingMode'''.
-
 
+
-
Click to place the decal in its current position. You can then move/rotate/scale the decal by using the '''Editing Mode''' commands located in the '''Edit''' menu or on the '''EditingMode ToolBar'''.
+
[[Image:Decals_image009.png]]
[[Image:Decals_image009.png]]
-
====Setting up the decal material====
+
====Настройка материала декали====
-
 
+
В параметрах материала декали должен быть отмечен флаг '''Decal''' в '''Shader Generation Parameters''', как показано ниже.<br>
-
A decal material has to be marked with the '''Decal''' flag in the '''Shader Generation Parameters''' in the material options, as shown below.<br>
+
[[Image:Decals_image011.png]]
[[Image:Decals_image011.png]]
-
First open the '''Materials''' folder and then the '''Decals''' folder in the '''Material Editor'''. All decals in here are correctly set up for use on decals.
+
Для начала откройте папку '''Materials''', а затем перейдите в папку '''Decals''' в '''Material Editor'''. Все декали в этой папке правильно настроены для использования в качестве декалей.
[[Image:Decals_image013.png]]
[[Image:Decals_image013.png]]

Версия 19:02, 10 апреля 2011

Содержание

Размещение декалей в редакторе

Decals image001.jpg

Описание

Следующее руководство опишет процесс настройки и размещения декалей в редакторе, вы узнаете как назначить материал и различные типы проекции декалей.

Decals image003.jpg

Добавление декали на уровень

Выбор декали

Чтобы добавить декаль в игре, для начала активируйте Follow Terrain, затем перейдите в библиотеку Misc, размещённую в RollupBar и выберите Decal.

Decals image005.png

Decals image007.png

Добавление декали на уровень

Выберите декаль, кликнув по ней левой кнопкой мыши, и затем переместите мышь в окне перспективы. Инструмент «Follow terrain», который был ранее активирован, привяжет новый объект к ландшафту, при его перемещении.

Нажмите кнопку мыши, чтобы поместите декаль в его нынешнее положение. Потом вы сможете перемещать/вращать/масштабировать декаль, используя команды Editing Mode, расположенные в меню Edit или на панели инструментовEditingMode.

Decals image009.png

Настройка материала декали

В параметрах материала декали должен быть отмечен флаг Decal в Shader Generation Parameters, как показано ниже.

Decals image011.png

Для начала откройте папку Materials, а затем перейдите в папку Decals в Material Editor. Все декали в этой папке правильно настроены для использования в качестве декалей.

Decals image013.png

Once you have selected a material click the Assign Material to Selection button.

Decals image002.png

Decal Projection types

Decals have 4 different projection types, numbered 0 to 3. To change this, select the decal and change the value in the Projection type line, shown below.

Decals image015.png

Projection Type 0

The decal will be displayed in the exact same position in space as where you placed the center of the object.

Decals image017.png

Projection Type 1

The decal will be projected onto the geometry of an object in the level. It will be projected along the opposite direction to the blue Z axis.

Decals image019.png

Projection Type 2

The decal will be projected directly on to the terrain of your level.

Decals image021.png

Projection Type 3

This projection type is a combination of type 2 and 3, and will be displayed on both the terrain and objects.

Decals image023.png

Manual placement of decals on objects or the terrain

Select the decal entity, activate Reorientate and use Mouse shortcuts to place the decal: |Hold down CTRL and click the mouse button| move the decal to the desired position| |Hold down ALT and click the mouse button| scale the decal along the local x/y-axis| |Hold down CTRL+ALT and click the mouse button| rotate the decal around the local z-axis|

This will speed up placement enormously.


Result

Good placement of decals can bring your level to life. They can also be used to create seamless transitions between many different objects.

Decals image025.jpg

Decals image027.jpg

See Also