Skip to main content

box modelling in maya

CREATING POLYGON PRIMITIVES

For game environment modeling you will be working with polygons. You will start with basic geometric shapes to model from such as a cube, cylinder, plane and sphere.
Two ways to create Polygonal Primitive objects are through Polygon Shelf and through Create menu.
Create > Polygon Primitives: Choose Object:
Polygon Shelf:
Creating Polygon Primitives using any of the two methods above will place an object in the center of the scene. This center of the scene is known as 0, 0, 0 XYZ location or world origin:
Going back to Create > Polygon Primitives, you will notice a small box next to each object:
This is tool settings menu. Many functions in Maya LT/Maya contain this option.
In the case of Polygon Primitives, you use an option menu to define few parameters prior to creating that object. So instead of creating a cube first then resizing it, you can enter specific values and create it:
Every time you create the same Polygon Primitive for whose tool settings you've changed, it will retain those values until you reset the options back to default.
To reset settings back to default, bring up the options menu for Polygon Primitive object and go to Edit > Reset Settings:
In addition to Polygon Primitives, there is another object type you could use to model with - NURBS.
NURBS is geometry type based on surface curves.
Create > NURBS Primitives:
Few things about NURBS you should know:
  • Avoid using NURBS as a beginner; once you've achieved some proficiency with Maya LT/Maya and gone through the entire "3D Game Environment Modeling Foundation" series, you will be in a better place to experiment with NURBS
  • NURBS are very helpful to start modeling from to help you create a complex curved surface that would be very difficult to achieve with polygon primitives
  • You will always end up converting NURBS to polygon object prior to export into a game engine
  • You almost always will have to clean up and optimize a polygon object that has been converted from NURBS

BASIC OBJECT CONTROLS AND SELECTING OBJECTS

Basic object controls in Maya LT/Maya:
  • Left Mouse Button = select object
  • Delete = remove selected object
  • Left Mouse Click and Drag = marquee select objects
  • Shift + Left Mouse Button = Add to Selection
  • Ctrl + Left Mouse Button = Remove from Selection
  • Z = undo

MOVE, ROTATE, SCALE AND SELECT

To enable Move, Rotate, Scale and Select objects tools in Maya LT/Maya use the Tool Box (left hand side menu below Shelf Options Gear):
But it is better to use hotkeys:
  • Q = select tool
  • W = move tool
  • E = rotate tool
  • R = scale tool
Left-click to select an object in the scene then use shortcut keys (W, E, R) to cycle between 3 different manipulation tools (Move, Rotate, Scale). For each tool you will see the gizmo change:
Left Mouse Click or Middle Mouse Click Hold and Drag on X, Y, Z gizmo handles to manipulate move, rotate or scale that object.
Using X, Y, Z handles will only Move, Rotate, Scale along that specific axis:
For Move and Scale tool you will also have universal handle to transform along XYZ together. You will find this in the middle of the object.
Move along XYZ together:
Scale on XYZ together:
Left Mouse Click or Middle Mouse Click Hold and Drag on middle gizmo to move along XYZ together or scale on XYZ uniformly.

QUICK WAY TO FIND CORRECT XYZ GIZMO DIRECTION

How do you find which color represents which XYZ gizmo direction?
It is not very apparent to a beginner to know which color represents which XYZ direction.
  • X = red
  • Y = green (up/down)
  • Z = blue
Quick reference is to take a look on the bottom left of the perspective viewport:
This will tell you the direction of each gizmo for XYZ.

USING CHANNEL BOX FOR OBJECT MANIPULATION

With Move, Rotate and Scale tools you are able to manipulate the Polygon Primitives without constraints.
But what if you know the specific values for movement, rotation or scale?
Let's say you know your cube has to be 300 in XYZ and rotated 45 degrees along X only – how do you do this?
Using Channel Box you can Translate, Rotate and Scale any Polygon Primitive with specific values. Select the object and take a look inside the Channel Box:
Now input values for Translate, Rotate or Scale:
Now before you start using Scale option in the Channel Box, there is something you should know about the workflow of setting specific size of your object to start with.

HOW TO SET POLYGON PRIMITIVE SIZE/SCALE VALUES CORRECTLY

Here is the best workflow to set your object's initial size and scale.
Create a Polygon Primitive object:
Make sure the object is selected so its properties show up in the Channel Box.
In the Channel Box, scroll down to INPUTS text and left-click on the name below Inputs to open a menu. The name below INPUTS will vary depending on the object you created. In our case it is "polyCube1". The menu will also contain different options depending on the object:
This is where you want to set the first initial size and scale of your object by defining Width, Height, Depth and Subdivisions:
Here are a few different options you will see depending on which Polygon Primitive you created:
Cube:
Cylinder:
Sphere:
Using the Inputs property to set the initial width, height and depth is very important. This is what I use at first and I do not use Scale XYZ values above in the Channel box to start with.
The values you enter for Width, Height, Depth will be relevant to the game and game engine you are using to export.

ENABLING INTERACTIVE CREATION

Interactive Creation option is not very often used if at all but it does offer a way to quickly block in shapes without using values and input boxes.
Also this option was enabled by default in earlier versions of Maya. Knowing how to turn it off/on is helpful.
To enable go to Create > Polygon Primitives Interactive Creation:
Now, choose which Polygon Primitive you want to create and in perspective viewport left-click and drag to create it. This will often require multiple clicks and steps to set size and scale of each different Polygon Primitive:
To disable go to Create > Polygons Primitives > Interactive Creation (Uncheck):

SETTING UP CORRECT XYZ VIEWPORT ORIENTATION

To make your job easier to model, it is very helpful to match your perspective viewport orientation to match orthographic viewports.
Make sure that Z-axis (blue arrow) is pointing towards you in perspective viewport:
  • X-axis (red arrow): pointing right
  • Y-axis (green arrow): pointing up
  • Z-axis (blue arrow): pointing towards you
Reason to do this is for making your orthographic viewports (top, side, front) match the same direction as perspective. If you don't then very often your scene's side viewport can become front and back viewport becomes side.
It will not cause any issues if you do not do this. But it will make it easier to distinguish side, front and back orthographic viewports.
If this doesn't make much sense right now, just simply make Z-axis (blue arrow) facing you in perspective viewport.

OBJECT COMPONENT MODE

Object's Component Mode allows you to model Polygon Primitives by manipulating vertices, faces and edges.
To access Object Component Mode, select it first then:
  • Right Mouse Click and Hold on Select Object = enable component mode
Then switch to vertices, edges or faces:
As a beginner, ignore everything else except vertices, edges and faces.
Here are 5 useful hotkeys for Object Component Mode. Select the object and press:
  • F8 = object selection
  • F9 = vertex
  • F10 = edge
  • F11 = face
  • F12 = UVs

NAMING/RENAMING OBJECTS IN YOUR SCENE

Naming objects is a good habit to start for organizing your scene. Also many game engines will use the same object's name during export/import.
Select the object and in the Channel Box left click on pCube text (or other default name Maya gives):
Type in new name:

Guidelines to use while naming objects:
  • Avoid spaces
  • Use underscores or dashes instead of spaces
  • Lower case are ideal but it is ok to use Capital Letters
These guidelines extend beyond Maya LT/Maya into game development to keep your project and naming convention consistent. For example, some game engines do not like if you include spaces in names or capital letters. You can use and break the guidelines but it is best to maintain a process that is consistent across modeling and game engine usage to avoid problems and errors in your development pipeline.

Comments

Popular posts from this blog

Modelling Tools In Maya

By now you should know how to create a polygon primitive and begin modifying its shape by pushing and pulling edges, faces, and vertices . That's a step in the right direction, but it's really only part of the battle—it's virtually impossible to create a highly complex model from a basic primitive without making wholesale alterations to the mesh. To truly begin making finished 3D pieces , we need to learn how to modify the topology of our model by adding faces and edges where we need more detail or control. There are literally dozens of different tools in Maya's modeling shelf, but many of them are only useful in specific situations. In practice, you'll probably spend 90% of your time using the same five or six commands. Instead of introducing every single tool Maya has to offer and having you forget how to use half of them, in the next few lessons we'll take a look some of the most commonly used techniques in Maya's polygon workflow. Insert E...

Selection & Duplication In Maya

Selection Modes Let's continue by discussing the different selection options in Maya. Place a cube in your scene and click on it—the cube's edges will turn green, indicating that the object has been selected. This type of selection is called Object Mode . Maya has a number of additional selection types, and each one is used for a different set of operations. To access Maya's other selection modes, hover your mouse pointer over the cube and then click and hold the right mouse button (RMB) . A menu set will appear, revealing the Maya's component selection modes— Face , Edge , and Vertex being the most important. In the fly menu, move your mouse to the Face option and release the RMB to enter face selection mode. You can select any face by clicking its center point and can then use the manipulator tools we learned in the previous lesson to modify the shape of the model. Select a face and practice moving, scaling, or rotating it like we've done in the e...

The Extrude Tool In Maya

Extrusion Extrusion is our primary means of adding additional geometry to a mesh in Maya. The extrude tool can be used on either faces or edges, and can be accessed at Mesh → Extrude , or by pressing the extrude icon in the polygon shelf at the top of the viewport (highlighted in red in the image above). Take a look at the image we've attached for an idea of what a very basic extrusion looks like. On the left we started with a plain old default cube primitive. Switch into face mode, select the upper face, and then press the extrude button in the polygon shelf. A manipulator will appear, which looks like an amalgamation of the translate, scale, and rotate tools. In a sense it is—after performing an extrusion, it is essential that you either move, scale, or rotate the new face so that you don't end up with overlapping geometry (more on this later). For this example, we simply used the blue arrow to translate the new faces a few units in the positive Y direction. N...