Lesson 3: Modeling with Primitives
Building a Greek Temple
To familiarize yourself with the Alias Modeling Environment
you'll create a Greek-style temple using Primitives. This
will give you experience placing objects into a 3D scene and moving, scaling,
and rotating them using the Xform tools.
The rendering below shows how primitives are used
in the construction of a temple. You build the base using cubes, and construct
columns using cylinders and spheres. The roof is created using several
scaled and rotated cubes.

In this lesson, you place and scale objects in 3D
space with the mouse and keyboard input. For most of the lesson, you use
the mouse. The mouse may be less accurate, but it lets you work interactively.
As you place the objects in 3D space, refer to the four views to ensure
correct positioning.
Launch Alias
If Alias is already running on your machine, you
can either save or delete current work.
Double-click on the Alias icon in your workspace.
If Alias is already running, go to the File menu and select New.
If prompted, click Yes to delete the current stages.
Tip: It is a good idea to start
your projects with four windows because you can see your work from all
points of view. If your window setup does not show four windows, choose
Layouts
All
windows
All
(User Defaults).
Set the orientation of your working environment
The Alias environment should have a Z-up orientation,
because this lesson requires numeric input. Z-up orientation will ensure
that the numeric input in this lesson works correctly. Orientation is displayed
in the lower left corner of the front window.

If the arrow pointing up is labeled Z, the orientation
is already Z-up.
If it is labeled Y, change it by going to the Preferences
menu, and selecting User Options
Alias Preferences. In the option box, set the Coordinate system
to Z-up.
Note: To accept this change, you
must exit and relaunch Alias.
Building the Base of the Temple
The temple is built from the ground up. The base
is constructed first, with a cube primitive that is scaled and moved into
place.
Create a cube
Select Object Tools
Primitives
Cube.
- Place the cube primitive at the origin by typing 0, 0, 0 in
the command line and then pressing the Enter key. Note that you
can place an object into the workspace without using the mouse.
Tip: You can enter XYZ coordinates
as 0, 0, 0 or 0 0 0 and then press Enter.
If the Y and Z values are 0, type only 0.
Alias automatically assigns zero to Y and Z when you press Enter.
The cube still needs to be scaled and moved in order
to look like the temple base.
Important: Objects
Primitives
Cube
is still set. Be careful not to click in a modeling view, or you'll
create a second cube. If this happens, select Del active from the
Delete menu.
Dolly the Top window
- In the Top window, click-drag on the Dolly tool toward the
left, to dolly out. Stop when there are about 10 grid squares above and
below the X-axis.

Scale the cube with the mouse
Select Xform
Nonp scale. Click-drag using the left mouse button in open space
without touching the cube.
Using the grid as a guide, drag until the base is about 8 units wide
(in the X direction) by 16 units long (in the Y direction).
If you cannot create the shape in one drag, release the mouse button
and continue.
Note: You can change the scale of
the object in both the X and Y directions by clicking with the left mouse
button. Also, Xform tools stay selected until you choose another
command.

You do not need to click on an object to transform
it with Xform tools. Once it has been selected, click-dragging
transforms it interactively.
Scale the height of the cube with the mouse
Click in the Front window to activate it.
With Xform
Nonp scale still selected, click-drag vertically with the right
mouse button. Scale the cube to a height of about 3 units.

Rescale the cube accurately using absolute values
With the Xform
Nonp scale tool still selected, Alias prompts you to enter scaling
values. For exact scaling in the X,Y and Z directions, type 8, 16, 3.
This creates an appropriate base. (Don't forget to press Enter.)
Note: The [ABS] at the end of the
prompt line indicates Absolute mode. In this mode, scaling is based on
the actual measurements input. 8, 16, 3 scales it to a size of 8
units x 16 units x 3 units.
You can now work with objects using both mouse movements
and keyboard input. You can also use either method to move the base.
Moving the Base
When you move an object, you are actually moving its
pivot point. The pivot point of the base is at its center. The temple base
is moved so it sits on the ground surface (the X-axis).
Move the cube with the mouse.
Select Xform
Move.
- In the Front window, click-drag upwards using the right mouse button.
Place the cube so its base sits on the ground surface. Notice
that when using the right mouse button, the movement is again restricted
to the vertical dimension.

Placing the cube using the Information window
- With the cube still selected, select Information
Information window from the Windows menu. Click the
Transform info submenu.
Note: These values are useful in
confirming the exact position of a model and in refining its transformations.
The Translate, Rotate and Scale factors of the object are
shown. The Scale values are 8, 16 and 3 (the same as were set earlier
using Xform
Nonp
scale).
The third box shows the Z coordinate of translate.
This is the amount it was moved along the Z-axis with the mouse.
Click on the box, type 1.5, and press Enter to round
it off. Click on the close box in the top left corner of your screen.
Tumble and Dolly the Perspective view
In the Perspective window, click-drag on the Dolly tool.
Dolly the view as shown below. Tumble may help to center the
temple.

Setting the Grid Snap
The grid helps you place objects accurately into
the scene using the mouse. To place the next object at the origin, you
can temporarily turn on grid snapping using the Alt key.
Use Grid snap to place a cube at the origin.
Select Objects
Primitives
Cube
and press and hold the Alt key.
- To place the cube, click at the origin in the Top window. The Alt
key temporarily turns on grid snap and ensures that the cube's center or
pivot is placed at the origin. Release the Alt key.
- Scale the cube to create the bottom step for the temple.
Select Xform
Nonp scale and type 8, 2, 1 and press Enter. This scales
the cube about the pivot by a value of 8 in the X direction, 2 in the Y
direction and 1 in the Z direction.
- Confirm the correct scaling by looking in the Top, Front and Right
windows.
Note: Grid snap was not used to
scale the cube since it applies only to the positioning of an object's
pivot point.

You can move the temple step with grid snap, but
the current grid spacing does not have small enough increments. To fix
this, you change the grid spacing.
Setting Grid Spacing
By changing the grid spacing to half its original
size, you can move the first step accurately and then place the second
step correctly in the Front window.
Change the Grid Spacing.

Select
Grids
Grids
Grid spacing.
- Type 0.5 and press Enter. The grid spacing changes to
half its original size.
Important: Do not click-drag while
this function is selected because it will interactively change the grid
spacing.
Select Pick
Nothing.
Dolly the view in the Right window.
- Click in the Right window to activate it.
- Using the Dolly tool in the window title bar, zoom out until
the base has about 5 grid squares on each side.
Move the first cube using grid snapping
Select Xform
Move.
Press and hold the Alt key to temporarily turn on grid snap
and drag in the Right window with the left mouse button so that the cube
sits exactly in front of the temple base and on the ground surface. Release
the Alt key.

Note: Although you can turn Grid
snap on permanently, the Alt key lets you temporarily turn snapping
mode on or off.
Create another cube above the first
To create the middle step,
select Objects
Primitives
Cube.
In the Right view, press and hold Alt and click one grid square
above the first step and one grid square to the left of the base. Release
the Alt key.

Scale the cube
Select Xform
Nonp scale and type 8, 1, 1 to scale the step. Remember,
you must use keyboard input to scale accurately. Grid snap does not work
with scaling.
Template the existing geometry
Select Pick
Object Types
All
obj/lights to pick all geometry. From the ObjectDisplay menu,
select Tgl template to create templated geometry.
Tip: When geometry is templated,
it cannot be accidentally altered, but can still be viewed or deliberately
changed as you work on your model.

Reset the Grid spacing
Select Grids
Grids
Grid
reset. This resets the grid to its default setting. Also, if you click
in any of the four modeling windows, the grid returns to its default view.
Saving your Work
Save your model. Be sure to save your work at regular
intervals. In some cases you may want to save versions of your work under
sequential names such as file01, file02, and so on. This
allows you to keep track of your design process.
Note: A wireframe icon of the model
is created for each file saved. This icon is a miniature of the image in
the active window. As a result, you may want to select the Perspective
window before you save so the icon best reflects the model.
Save the file
- From the File menu, select Save as. Enter temple_01
in the field beside File and click on Save Wire.

Building the Columns of the Temple
A column combines several primitives-a half-sphere
for the base, a cylinder for the shaft, and cubes for the pedestal and
capital. You place the primitives, scale them, and move them into final
position, just like the temple base. Once you build the first column, you
can duplicate it to create the rest of the columns. Primitives are often
used in this manner.
Using Absolute and Relative Values
As you build the column, you will also look at the
difference between Absolute and Relative values.
Build the column pedestal
Select Objects
Primitives
Cube.
- Type 0, 0, 3.25 to position the cube. (Don't forget to press
the Enter key when using keyboard input.)
Scale the cube using Absolute values
Select Xform
Nonp scale and type 1, 1, 0.5 to scale the cube. Press Enter.
Create the column base using a half-sphere
Select Objects
Primitives 
Sphere-
and type 180
degrees for the Sweep. Click Go.
- Press and hold Alt to temporarily turn on grid snap and click
on the grid square at the base of the column in the Front view. This places
the sphere on the grid.

- Reposition the half-sphere in absolute mode.
With the half-sphere still
active, select Xform
Move and enter 0, 0, 0.5 to move it on top of the column base.
Note: The half-sphere has moved towards
the ground, to the coordinates of 0, 0, 0.5. Remember, in Absolute
mode all transformations are applied to the object as it exists at the
origin.

Undo the last transformation
From the Edit menu, select Undo to undo the last transformation.

Reposition and scale the half-sphere.
Select Xform
Move and type r 0, 0, 0.5. The half-sphere moves above the
column base.
Note: In Relative mode, the transformation
is applied to the current position of the object.
This time, the 0.5 Z transformation came from the existing position
instead of moving the sphere to an absolute coordinate of 0.5.

With the half-sphere still
active, select Xform
Nonp scale. Enter 1, 1, 0.4 to scale the sphere in the Z
direction. Relative mode applies this scale factor to the existing dimensions.
Moving the Pivot
The main body of the column is created with a cylinder.
By default, the pivot points of primitives lie at their centers. By moving
the pivot, you can change how the cylinder scales.
Build a cylinder using grid snap in the Top view
Click in the top window to
activate it. Select Objects
Primitives 
Cylinder-
.
- Click on the value for Sweep, type 360 degrees and
press Enter. Click Go.
- Press and hold Alt to turn on grid snap temporarily and click
on the origin in the Top window.
Note: Although you can place cubes
in any window with the same results, you must place cylinders in the window
where their circular ends should be. Since the temple has vertical columns,
place the cylinder in the Top window.
Set a new pivot point for the cylinder and move it
Select Xform
Local
Set
pivot. Type 0, 0, -0.5 to align the pivot point with the bottom
of the cylinder.

Click in the Front window to
activate it. Select Xform
Move.
- In the Front window, click-drag with the right mouse button to move
the cylinder until it sits on top of the column's base and intersects the
half-sphere.
- To see the column as you scale it, click-drag on the Track icon with
the right mouse button to move the ground plane down to the bottom of the
window.
Scale the cylinder based on the new pivot point
Select Xform
Nonp scale. Click-drag upwards with the right mouse button to scale
the column to a height of about 4 units.

Scale the width of the cylinder
With Xform
Nonp scale still selected, type: 0.8, 0.8, 1. By
staying in Relative mode, you can preserve the column height while scaling
other dimensions with keyboard input. The same input in Absolute mode would
change the column's height to 1 unit.
Note: In your own work you may decide
to work more interactively using the mouse or more accurately using keyboard
input. You can use the mouse to quickly sketch a design or build an animation
object for visual impact. On the other hand, you may be preparing a model
to a specific size or for CAD output, which would require greater accuracy.
Copying an existing object
You can copy the base of the column to create the
top part. Copying and modifying existing geometry is often easier than
creating new primitives and having to redo the same transformations.
Pick and copy the column base
Select Pick
Nothing to de-select all objects.
Select Pick
Object and click on the cube at the base of the column.
- From the Edit menu, select Duplicate object-
from the menu. The Duplicate Objects Options box appears. Click
on the Reset button to make sure that the Translation,
Rotation and Scaling factors are set to their defaults.
Click Go to make a single copy of the selected piece.

Scale and move the copied cube
The duplicated cube currently
sits on the original. Select Xform
Nonp scale. Type a 1, 1, 0.3 and press Enter.
Tip: The "a" returns you back
to absolute values. Because you wanted to scale the copied cube to a specific
scale, you entered dimensions in absolute mode.
Select Xform
Move. In the Front window, click-drag up with the right mouse button.
Move the copied cube until it sits on top of the cylinder. The column
is complete, although the pieces are not connected. The next step is to
group the pieces into a single object.

Grouping the Primitives
Once grouped, the individual objects are placed under
a new node that can be copied and moved as a single object. Grouping objects
is an essential modeling technique. It is also an efficient way to structure
and control your geometry.
Select all the pieces of the column
Select Pick
Nothing to deselect all geometry.
- Select Pick
Object. Using the

mouse, click-drag a pick box around the four column pieces. Once selected,
they become active.
- Before grouping them, take note of where each pivot point lies in space.

Group the pieces together
- From the Edit menu, select Group to group the four objects
as one. The group now displays a single pivot point
at the origin. (However, individual pivot points are preserved for each
component). In this case, the pivot point is at a height of 0 although
the column sits 3.0 units above the ground. This means that you won't need
to change the Z translation value when you move the grouped object.

Move the column onto the temple's base
Select Xform
Move. Type -3.5, -7.5, 0 and press Enter to position
the column at the corner of the base. In the Perspective
window, your model should look like this:
.
Copying a Column
By copying this column, you can create the other temple
columns. The first copy is positioned with grid snap. After half of the
columns have been built, you can use mirroring to complete the rest.
Change the Grid Spacing and turn on Grid snap
Select Grids
Grids
Grid
spacing from the menu.
- Type 0.5 and press Enter to reset the grid interval.
- Click on the Grid button at the lower right corner of the menu
to turn it on.
Tip: Although the Alt key
turns on grid snap temporarily, you can keep grid snap on with this button.

Copy and move the column
- From the Edit menu, select Copy and then Paste.
This creates a single copy of the column and places it on top of the original.
Select Xform
Move. In the Top window, click-drag left with the middle mouse button
using grid snap to move the column 2 units (or 4 grid lines) to the right.
Note: Remember that the grid was
set to 0.5.

Copy the first two columns
With the second column still picked, select Paste from the Edit
menu.
Now select Xform
Move. Click-drag left with the middle mouse button to move the columns
3 units (or 6 grid lines) to the right. Repeat this step to copy the fourth
column and move it another 2 units (or 4 grid lines) right.

Make multiple copies of the end columns
Select Pick
Nothing.
Select Pick
Object. Click on the two outer columns (that is, 1 and 4). From
the Edit menu, select Duplicate object-
.
Type Translation factors of 0, 2, 0. Type 3 in the
Number of Duplicates field. Click Go. Columns 1 and 4 are
each copied 3 times.

Pick and group all columns
In the Top window, select Pick
Nothing and then
Pick
Object.
Click-drag a pick box around the columns to make them active.
From the Edit menu, select Group to create a single pivot
point at the origin. This pivot point is used to mirror the objects around
the origin.
Note: You must group the columns.
If you don't, the columns mirror around their existing pivot points, placing
them on top of the original columns.
Mirror copy the picked columns
From the Edit menu, select Duplicate object-
.
Click Reset to return values back to their defaults. Type Scaling
values of: 1, -1, 1.
Click Go. The group of columns is copied and mirrored around
the Y-axis.

Note: The temple columns were created
using the Duplicate object function. This function can create single
copies, or transformed (moved, scaled, rotated) multiple copies. Notice
how the columns were first grouped to set the pivot point at the origin.
Template the columns
Select Pick
Object and click on the original group of columns to make it active.
From the ObjectDisplay menu, select Tgl template to template
the columns.
Creating the Entablature
The next part of the temple is the box-like structure
supported by the columns. In architectural terms, this is the entablature.
To create the entablature, a cube primitive is built,
scaled, mirrored and rotated into place. Once again, you can use the mouse
to position the cubes, relying on multiple windows to ensure accurate placement.
Create and scale a cube primitive
Select Objects
Primitives
Cube.
- In the Top view, click near the origin. Place the cube using Grid snap.
- Click on the Grid snap button to turn grid snap off. (If you need grid
snap again you can use the Alt key.) Note that
forgetting to turn grid snap off could cause confusion later. Also, note
that you can turn off grid snap temporarily by pressing Alt while
grid snap is on.
Select Xform
Nonp scale and type 8, 1, 1 to resize the cube.
Position the first piece of the entablature
- Click in the Front window to make it active and dolly out to see the
columns and the cube.
Select Xform
Move. In the Front window, click-drag with the right mouse button
to place the cube above the columns.

- In the Right window, track the view down so you can see the entablature
on top of the columns.
- Click-drag with the middle mouse button to line up the cube with the
columns at the far left.
Tip: When positioning objects in
3D space, you should refer to at least two windows.

Change the cube's pivot point and mirror copy it
Select Xform
Local
Set pivot
and type 0, 0, 0 for the new pivot position.
From the Edit menu, select Duplicate object-
.
Use the setting that you used for mirroring the columns. The second
cube will create the side of the entablature.
Copy and rotate the second cube
From the Edit menu, select Duplicate object-
.
The Duplicate option box appears. Click on Reset to return to
default values. Type Rotation values of 0, 0, 90.
Click Go.

Move the rotated cube
Select Xform
Move. In the Top or Front window, click-drag with the middle mouse
button to move the cube above the side row of columns.
Note that the pivot point
has moved. To return it to the origin, select Xform
Local
Set pivot
and type 0, 0, 0.

Scale the cube's length
The cube is too short. To correct this,

select Xform
Nonp scale. In the Top window, click-drag with the middle mouse
button until the cube touches both ends of the other beams.
Note: Because the cube has been rotated,
the middle mouse button restricts scaling along its own length. Before
rotating an object you should make note of mouse button constraints because
even though the object has been rotated, the original button constraints
are still in effect.
Rotate-copy the third cube
From the Edit menu, select Duplicate object-
.
The Duplicate Objects Options box appears.
Edit the Rotation values to 0, 0, 180. Click Go.
Tip: Since the beam is a simple shape,
a 180 degree rotation is the same as mirroring the objects.

Creating the Roof of the Temple
The final part of the temple is the roof. Once again,
it is created out of a cube primitive that is scaled and rotated into place.
First, you move the cube's pivot point so it can accommodate the scaling
and rotation needed to create the roof slab.
Place a cube primitive using Grid snap
Select Objects
Primitives
Cube.
In the Front window, press the Alt key and click one unit right
of the origin and one unit below the ground plane. If you place the cube
now, you can easily reset the pivot point.

Move the pivot point of the cube
Select Xform
Local
Set pivot.
Type 0,0,0 to set the pivot point at the upper left corner of the
cube.

Scale the slab in all three directions
Select Xform
Nonp scale. In the Front window, click-drag with the middle mouse
button to scale the cube past the edge of the temple by about 3 grid squares.
Now click-drag with the right mouse button to scale the height of the
cube to about one grid square.

In the Top window, click-drag with the right mouse button to scale
the length of the cube. It should extend about 1 grid square beyond both
ends of the temple.

Rotate the slab around its pivot point
Dolly the Front view so you
can see more space around the temple. Select Xform
Rotate.
In the Front window, click-drag up and down with the middle mouse button
to rotate the roof slab to the proper angle.
Note: The Rotate tool has its own
mouse button conventions. The left mouse button rotates around the X-axis,
the middle button rotates around the Y-axis and the right button rotates
around the Z-axis.

Move the roof slab up above the entablature
Select Xform
Move. In the Front window, click-drag with the right mouse button
to move the roof slab up to the top of the temple.

Copy-rotate the slab to the other side of the temple
From the Edit menu, select Duplicate object-
.
Duplicate and rotate the roof slab 180 degrees just like the entablature
beam created earlier.

Quick Rendering the Temple
After untemplating the base and the columns, you can
evaluate the wireframe model by quickrendering in the Perspective view.
Untemplate the geometry
Select Pick
Nothing to deactivate any active geometry.
Select Pick
Template. Click-drag a pick box over the model to pick templated
geometry, and from the Object Display menu, select Tgl template
to untemplate it.
Save the file
- From the File menu, select Save to save the completed
temple.
QuickRender the scene
Click once on the resize button at the top right of the window to enlarge
it. Using a combination of viewing tools (learned in Lesson 1), dolly,
tumble and track the scene until the temple looks like the one following.
From the Render menu, select Quick render to see a shaded
view of the temple.

Conclusion
Congratulations! You have just completed your first
modeling project using Alias. In this lesson you have learned how to:
- · create primitives such as cubes, spheres and cylinders
- · use Xform tools to scale, move and rotate primitives
- · set an object's pivot point to refin
- · use the mouse or keyboard input to transform objects
- · use different mouse buttons to constrain actions
- · use Grid snap and change the Grid spacing
- · create single and multiple copies of existing objects.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company.
All rights reserved.