Создание простой структуры из солидов

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

Версия от 16:35, 9 апреля 2011; DCamer (Обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Содержание

How to Create Simple Structures with Solids

Sandbox Solids image001.jpg

Overview

The following walkthrough gives you an overview how to use the solid tool in the Sandbox editor.

The solid tool is used to create simple structures and objects, or placeholders for future art assets. In this example we show a simple bridge. Solids can be exported in a 3D Studio MAX readable format, and can be used as a guide for creating the final asset.

Placing a solid in your Level

To create a solid, activate Follow Terrain, this will cause the points of the solid to follow the ground when you're creating it.

Sandbox Solids image003.png

Next, go to the RollupBar and click the Solid button in the Object section.

Sandbox Solids image005.png

Click and hold the mouse button in the perspective viewport, then drag the mouse around. You will drag out a flat box.

Sandbox Solids image007.png

Releasing the mouse button will allow you to give the box height, along the Z axis.

Sandbox Solids image009.png

A final click will exit solid creation mode.

Sandbox Solids image011.png

Modifying a solid

To enter the Editing Mode for a solid you have to first select a solid.

Sandbox Solids image013.png

Select your solid and activate Editing Mode found within the Solid Parameters pane in the RollupBar.

Sandbox Solids image015.png

Your solid should change to a flat colored shape.

Sandbox Solids image017.png

Editing vertices

There are several ways to change the shape of the solid.

To change one or more points in the geometry use the Vertex tool.

Sandbox Solids image019.png

Click the Vertex tool in the Selection Type pane.

Sandbox Solids image021.png

Click the point which you want to move. Holding the CTRL key enables the option to select several points.

Sandbox Solids image023.png Sandbox Solids image025.png Sandbox Solids image027.png

To change the position of the verticles, use the movement gizmo that appears once you select one.

Sandbox Solids image029.png

Sandbox Solids image031.png

Editing Polygons

To change faces and polygons in the geometry use the Polygon tool.

Sandbox Solids image033.png

Click the Polygon tool in the Selection Type pane.

Sandbox Solids image035.png

Click the point in the center of the polygon which has to be modified.

Sandbox Solids image037.png Sandbox Solids image039.png

To change the position of the polygon, select the movement gizmo in the perspective viewport to the new place.

Sandbox Solids image041.png

Sandbox Solids image043.png

You can also assign a material to your solid. Assigning materials is covered elsewhere.

Sandbox Solids image045.png

Sandbox Solids image047.png

Export solids to a 3D Studio MAX readable file (OBJ)

To export solids follow these instructions:

Select the solid in the perspective viewport, to select a group of solids hold the CTRL key and select each solid you need.

Sandbox Solids image049.png

Open the File menu and click Export Selected Geometry to .OBJ.

Sandbox Solids image051.png

Save the file to a safe place on you PC.

Sandbox Solids image053.png

Load the File in 3D Studio MAX.

It is important to disable the Rotate model flag in the OBJ Importer from 3D Studio MAX.

Sandbox Solids image055.png

Also, please refer to the tutorial relating to exporting objects from 3D Studio MAX, to help you get your completed object in-game.

Sandbox Solids image057.jpg

Result

Solids are a great way to get your ideas into your level without worrying about creating actual detailed geometry. Efficiently using them to produce layouts and initial drafts will give you a good idea of how the final product may work, but in a fraction of the time.

Sandbox Solids image059.png

Sandbox Solids image061.png

See Also