Lesson 29: Modeling a Toy Truck
In this lesson you continue to work with Alias' Advanced
Surfacing Tools. From a series of provided character line curves, you can
construct some of the surfaces of a child's toy truck using the Square,
Birail, Swept, and Round surface tools. In particular,
Square, Birail and Round let you construct
surfaces that maintain continuity with adjacent surfaces. As well, you
are introduced to the Stage Editor, which helps you manage the different
parts of your model.

Initial Setup
Clear the workspace and retrieve the curves
- From the File menu, select Open. In the File lister,
click on Show List, then double-click on the wire file L29_TruckCurves
from the CourseWare project. The retrieved curves form
the basic curves of the major body panels. These curves are known as character
lines or profile curves because they define the character of the final
surfaces you are modeling. Try picking one or two of the curves and notice
that they form the boundaries of more than one four-sided region.

Notice that in most cases, where curves meet, they
intersect each other exactly. It is these intersections that define the
limits of the regions in which you build surfaces. The use of full-length
character lines and the need for exact intersections are the crucial differences
between modeling with the basic tools and with the Advanced Surface Tools.
Note that the curves comprise one half of the truck.
This is done deliberately to take advantage of the symmetry of the form.
You should try to take advantage of this type of symmetry whenever possible
in your work, as it saves time and lets you concentrate on the minimum
amount of geometry.
In general, the best way to get curves that intersect
is to impose the intersection when you construct the initial curves. You
may use the magnet snap, grid snap or curve snap functions to achieve this.
As well, you may wish to ensure that key curves are tangent to their intersecting
neighbors if continuity has to be maintained further along in the project.
For these conditions to be met you may possibly use the Project tangent,
Align or Curve Editor tools to attain these conditions. In
Lesson 30, you'll create intersecting curves using curve snapping and the
Project tangent function. The focus of this lesson is on
creating surfaces.
Building the hood - Birail
First, you build the hood of the truck using a Birail
surface.
Set the options for Birail
Select Surfaces
Swept surfaces
Birail-
. and set the
number of Generation Curves to 2, click OFF Rebuild
Paths, and set the Transform Control to NON-PROP SCALE.
All other options, except for the ones found under Control Options,
should be set to OFF.

With Generation Curves set to 2, you
are blending between the two curves at the windshield and grill, running
them along the two curves (which form the path curves) down the side of
the hood. The Exact sweep mode tells the function not to rebuild
the path curves but, to use them exactly as they have been provided.
Select the generation curves
- You are prompted to Select a generation curve. First, click
on the curve at the windshield, marked A in the figure below, followed
by the second generation curve at the grill, marked B.

Select the path curves
- Now click on the two path curves, C and D, to complete the Birail surface.
Note that the rail curves, C and D, define the edge of the surface even
though A and B extend further.

- Close the Birail Control window.
Building the front fender
Now you can build the surface that forms the fender
using the Square surface tool. In the first surface, you
used Birail to create a surface blend between the two generation
curves, using the path curves as guides. In the case of a square surface,
the blend occurs between opposing sides for all four sides. For this use
of Square, each curve has an equal influence on the development
of the final surface. Each of these functions produces a different form,
and you have control over what shape you want to produce.
Construct the surface using Square
Select Surfaces
Boundary surfaces
Square.
- Click on all four boundary curves, as shown above, to construct the
surface. You can pick the curves sequentially in either a clockwise or
counter-clockwise direction.

Note: Although 3 of the four boundaries
extend beyond the square region, the surface is only built in the defined
area. Also note that each boundary is labeled free, indicating that
no continuity constraints were placed on it.
Build the hood/fender transitional surface
Next, you build the surface that links the hood to
the fender. This is a four-sided region, and you again use square surface.
You must, however, ensure that this new surface is continuous with the
hood and the fender, otherwise, the blend between the surfaces won't be
smooth and continuous. In this example, some of the continuity options
in the square tools are used to ensure that the created surface is curvature
continuous with its neighbors.
Constructing a square surface with continuity
Select Surfaces
Boundary surfaces
Square-
to open the Square
Control window.
- If the Square function is still active from the previous
section, click on the Next button. The tool de-selects the previous
surface and prepares itself for our new square surface.

- Since you are picking the edges of the two surfaces (marked 1 and 3
below), you need to select some continuity options. Under the Continuity
Control options, change the options from FREE to TANGENT
for boundary edges 1 and 3 only.

- Having made those changes, construct your square surface by clicking
on the four boundaries, starting with the hood edge (marked 1) and working
around either clockwise or counter-clockwise.
Note: This may take a few moments, as the
system calculates tangent continuity with edges 1 and 3. Note again, that
the surface is labeled on each boundary with the continuity type that was
asked for.

- Close the Square Control window.
QuickRender the resultant surface
- With Nothing picked, from the Render menu, select
Quick render. Notice that the blend between all three surfaces is
smooth.
- Click on the rendering to close the QuickRender.

Construction History with the Square Tool
As with many of the surfacing tools found within Alias,
Square has Construction History. Construction History allows
the surfaces to remember the relationships that were established
from the original construction curves as well as any options that may have
been set for the tool. This provides a wealth of flexibility to the Alias
user in that they can modify the underlying curves and have the surfaces
automatically update. With Square, you can construct a surface
and return to it to make adjustments to such things as continuity as long
as the construction history for that surface has been maintained. In this
section you take advantage of the construction history inherent in the
Square tool to make adjustments to the continuity along the
transitional surface that was constructed in the previous section.
Reading the Square Toolbox
Select Pick
Object and click on the hood/fender transitional surface.
Select Surfaces
Boundary surfaces
Square-
.
Note: The Square Control window
is displaying information about the active square surface. The window lists
the four curves or surfaces that comprise the boundaries for the square
surface as well as the type of continuity that you imposed earlier along
those four boundaries. Construction History retains this information and
lets you change it if needed.
Change the continuity and rebuild the surface
- In the Square toolbox, change the continuity settings
for boundaries 1 and 3 from TANGENT to CURVATURE. You do
not need to make any continuity changes along boundaries 2 and 4 as there
are no surfaces along those boundaries to be continuous with. (It may take
a moment for the surface to update this change in continuity.)

Close the Square Control
window and select Pick
Nothing.

QuickRender your surface.
- From the Render menu, select Quick render. It may not
be obvious to the eye, but the hood/fender transitional surface is now
curvature continuous with its neighboring surfaces.

Build the Truck Box
Now you build the rear portion of the truck. Because
this surface remains constant along its entire length, this surface can
be constructed using one cross section. As a result, there is only one
generation curve for this surface, and that is the vertical edge of the
fender surface. You want to drive this section along the two paths that
define the form of the rear of the truck.
Set the options for birail
Select Surfaces
Swept surfaces
Birail-
and set the Generation
Curves to 1 (there is only one generation curve). Click off
Rebuild Gen. Curves, click on Rebuild Paths, the Sweep
Mode to PROPORTIONAL, the Transform Control to NON-PROP
SCALE and the First Gen. Continuity to TANGENT. Also,
set the Curve Segments to ON, as indicated by a check mark.
These settings make sure that the resulting surface is tangent continuous
with the fender.

Since the two path curves extend the full length of
the truck, you only need the section from the fender to the rear. The Curve
Segments option lets you choose to use only that segment.
Select the generation curve and first rail curve
- Click the edge of the fender surface as the generation curve. It becomes
highlighted. You are requested to select the primary path.
- Pick the path curve marked A in the figure below and it becomes highlighted.
Since you requested to choose the curve segment of the path curve, you
are now asked to mark that segment.

Specify the segment on the first rail curve
Use the segment of the curve running from the fender to the rear, so
the start of the segment is the edit point on the curve where it meets
the fender (point X). Click on this edit point and it highlights.
The end of the segment is the very last edit point on the curve (point
Y), so click on that also.
Select the second rail curve and segment
Finally, select curve B as the secondary path, and again select the
segment to use as you did with the primary path. Pick the start point (C)
and then the end point (D).

The resulting surface smoothly blends into the fender
and forms round to the rear of the truck.
Close the Birail Control
window and Select Pick
Nothing.
Quick render the birail surface
QuickRender the model to observe the new birail surface.
Creating a Swept Surface
The next surface to build is the front end of the
truck. For this, you use Swept surface. Swept
is similar to the Extrude tool, except that it provides much
more control over the sweep method and resultant surface orientation. Note
that there are two curves defining the shape of the front end. The vertical
curve is swept along the horizontal curve to build the surface. In the
end, the resultant surface is too large, requiring you to trim it back,
once it is constructed. Finally, you use the Round surface
tool to produce a variable radius or "rolling ball" fillet along
the surface edges.
Change views to see the front of the truck
- To get a better view of the truck's front, dolly and tumble the Perspective.
Create a view as shown below.

Set the options for Swept surface
Select Surfaces
Swept surfaces
Swept-
and set Sweep
Mode to PARALLEL, the Sweep Pivot to CLOSEST,
and the Fixed Curve to GENERATION. All other options except
for the ones found under Control options, should be set to OFF.

Construct the surface
Pick curve A as marked in the figure below, followed by curve B. This
is the simplest form of Swept surface and in circumstances such as this,
Swept surface is usually the easiest and quickest method
to use.

Close the Swept Control window.
Quick render the surface
QuickRender the new swept surface and note that it is larger than required
and as well intersects our other three surfaces in that region.
Trimming the Surface
Next, you need to intersect and trim the swept surface
with the three other surfaces. This lets you trim back all of the surfaces
to their intersection points. You do this by first intersecting the swept
surface with the 3 other intersecting surfaces. This places curves on
surface geometry on all surfaces, which subsequently lets you trim
back all four surfaces to their intersection points.
Ensure the swept surface is active
If the swept surface is not
active, select it using Pick
Object.
Set the intersect options
Select Surface Edit
CreateCurvesOnSurfaces
Intersect-
, and ensure
that the Create Curves on Surface option is set to create curves
ON BOTH SURFACES. This ensures that all four of your surfaces can
be trimmed back after the intersect operation. Click on Go to exit
the option box.
Intersect the front surface with the 3 other surfaces
- Select the three surfaces that intersect with your front Swept
surface by picking on an interior isoparm of each surface. As you pick
each surface in turn, it momentarily highlights and then updates to display
a curve drawn on the surface. These curves on surface will define
the trim boundaries when you subsequently trim each surface. As well, these
curves have been placed on the front swept surface that define its region
for trimming.

With the curves on surface geometry placed
on the four surfaces, as a result of the intersection, you can trim each
surface back, in turn, to its intersection points.
Trimming each surface
Select Surface Edit
Trim
Trim. Alias prompts you to Select a target surface to trim.
- Click on the front end Swept surface by picking on an
interior isoparm of that surface. The surface highlights and prompts you
to Select the REGIONS of the surface to KEEP, the discard button to
switch.
- Click somewhere within the region you want to keep as a result of the
trim. (A highlighted cross symbol is displayed in that region.)

- Ensuring that the trim Keep/Discard button is set to KEEP,
select Go. This trims the front end swept surface back to where
the curves on surface were created.

Trim the remaining three surfaces
Trim the remaining 3 surfaces that have curve on surface geometry
exactly as you did the first swept surface.

Remove construction curves
Select Pick
Component-
. In the option
box, turn all options Off, and then click CURVES. Click Go.
Click-drag a pick box around the whole model. Then, click on the bumper
curve in the lower left of the screen to unpick it.

From the Delete menu, select Del active. Ensure that
you do not delete the bumper curve. Click Yes to delete the construction
history.
QuickRender the resultant surfaces
From the Render menu, select Quick render to render the
resultant surfaces. Click on the QuickRender screen to turn off the rendering.
Rounding the Surfaces
To finish the front end surface of the truck, the
round surface tool is used to construct a variable radius fillet between
the front end surface and the three other surfaces.
Set the options for round surface
Select Surfaces
Fillet surfaces
Round-
, and ensure that
the Trim Type is set to AUTOMATIC, and that the Tangency
Achieved is set to ACCURATE.

- Click Go.
Select the surface edges for the round surface
- Alias prompts you to Select a pair of surface edges. Pick the
edges that are shared between the front surface of the truck and the front
side surface. A radius locator is displayed at the picked location.

Set the first radius value and position the locator
At the prompt, enter a radius value of 0.15, and note that the
locator shrinks to reflect the new size.
Next, position the round radius profile by selecting the Position
Profile button and entering a value of 0. The round should
move to the bottom of the edge. If it doesn't, enter 1. (You need
to enter 0 or 1 depending on whether you selected the Square construction
curves in a clockwise or counter-clockwise direction.) The round should
now be at the bottom of the edge.

Since you want to vary the radius along this edge,
you need to enter a second value for the opposite edge of the surface.
Select the edge and enter a second radius value
Double-click on the same edge to add a second locator. Enter a radius
value of 0.05.
Click the Position Profile button and enter either 0
or 1 to position the profile at the upper end of the surface, as
shown below.

Repeat the round process
- Click on the edge line that sits between the front surface of the truck
and the smaller Square surface. Leave the value at 0.05 and click
the Position Profile button. Enter 1 to place the profile
at the right end of the edge line. If it appears at the left end, enter
0.
- Next, double click on the same small edge line and enter 0.04.
Click the Position profile button and enter 0 (or 1 depending
on the position of the first profile) to place the profile.

- Next, click on the edge line that sits between the front surface of
the truck and the hood surface.
- Leave the value at 0.04 and click the Position Profile
button.
- Enter 1 to place the profile at the right end of the edge line.
- Next, double-click on the same edge line and enter 0.1.
- Click the Position profile button and enter 0 to place the profile.

Build the round surfaces
- Once you have entered all your radius values, click the Build
button. It takes a minute or so for the round tool to construct the surfaces,
because it is constructing fillets, curve on surface geometry, and
finally trimming the resultant surfaces back.

Quick render
Quick render your resultant surfaces.
Build the front bumper
To build the bumper, you once again use a Swept surface.
This time, however, you ensure that the bumper cross section follows the
curve of the truck front around to the fender.
Set the options for Swept
Select Surfaces
Swept surfaces
Swept-
and change the
Sweep Mode to VIEW, the Sweep Projection to XY,
the Sweep Pivot to CLOSEST, and the Fixed Curve to
GENERATION. All other options (except for the ones found under Control
options) should be set to OFF.

Tip: The View Sweep Mode is set in
order to maintain the angular relationship that exists between the GENERATION
CURVE and the PATH CURVE, as seen from the Sweep Projection
view. In this example, if you look in the XY view (the top window), there
is a 90 degree angle between the bumper cross section and the curve at
the base of the grill. This angle is maintained throughout the surface
as you sweep the section along the base of the grill.
Construct the swept surface
- Click on the bumper profile as the generation curve, followed by the
bottom isoparm of the front surface of the truck and the new surface is
constructed. Note how the vertical isoparms in the resulting
surface are at 90 degrees to the grill.

Construct the bumper corner
Since the Swept tool is prompting you for the next surface,
click on the isoparm at the right end of the new bumper surface as the
generation curve.
For the path curve, click on the bottom curve of the freeform fillet
surface.

Close the Swept Control window.
Delete any remaining construction curves
With Nothing picked,
select Pick
Component-
.
In the option box, make sure all options are turned Off, then
click CURVES. Click Go.
Click-drag a pick box around the model to pick any remaining curves.
From the Delete menu, select Del active to remove the
curves.
Make a mirror copy of the model
Select Pick
Object and click-drag a pick-box around the whole model.
- Now, click on the light at the origin to unpick them.
- From the Edit menu, select Duplicate object -
.
In the option box, click Reset, then enter a Y scale factor of -1.
- Click Go to create the other half of the truck.

Stages
Stages provide you with a useful tool for organizing
and economizing work flow during the development of a project. Stages let
you retrieve several wire files into one working session, yet deal with
them in discrete layers. This helps you work interactively as if no more
than one of the files were loaded at a time. Geometry can be worked with
separately in each layer or merged later into one layer.
Open the Stage Editor
- From the Windows menu, select Edit
Stage... to open the Stage Editor. At the moment, the Reference
Path of the curves file is shown along with the file's icon. The Working
Level, Visibility, Window Source, and Background Source
are all turned on, letting us view the whole model.

Create a new stage and retrieve a wire file into it
- From the File menu of the Stage Editor, select Open Stage.
From the File Browser, select L29_WheelCurves
and click Retrieve New Stage.

The file enters the scene, and the Stage Editor
automatically templates the truck surfaces. You are left with only the
wheel curves. The Stage Editor shows the new Stage as the working
level.
View the stage editor
- In the Stage Editor window, you now have a new stage created
with the same name as the retrieved file.

The retrieved curves are clearly viewed; however,
the truck body created earlier, which belongs to another stage, is light
gray. You can still see it and work around it, but you cannot directly
work on it, since it is templated.
Construct the truck wheel with supplied curves
Select Surfaces
Skin-
. Change the Topology
to CLOSED and click Go.
Now pick each of the curves in sequence, either clockwise or counter-clockwise,
to build the surface. As the curves are selected, the skin surface is constructed.
Next, select Pick
Object and click-drag a pick-box around the new wheel. The new surface
is unpicked and the curves are now picked.
From the Delete menu, select Del active to remove the
curves and break the construction history.
Retrieve a new Stage
- From the File menu of the Stage Editor, select Open
Stage. In the File lister, double-click on the file
L29_TruckDetails to retrieve it. The remainder of the truck is retrieved
into a new active stage.

Change levels within the Stage Editor
- In the Stage Editor, click the Working level box, next
to L29_WheelCurves, and notice that you can go back to this level
to continue working.

Make a copy of the wheel
Select Pick
Object, and click the wheel.
From the Edit menu, select Duplicate object-
.
Click Reset, then enter an X translation value of 7.7.
Click Go to create the second wheel along the truck body. With
the details still staged, you can easily see where this wheel belongs and
delete it if your duplication is incorrect.
Mirror copy the wheels to the opposite side
Select Pick
Object, and click on the first wheel so that both wheels are picked.
From the Edit menu, select Duplicate object-
.
Click on Reset and enter a Y Scale of -1.
Click Go to mirror copy the wheels.
Merge all the Stages into one Stage
From the Stage Editor menu, select Edit
Merge all. Notice that now all surfaces are visible and editable
in one stage.
Note: If you are not ready to lose the
stages from your work, you can also save the stage set and it will automatically
load all the referenced stages.
Close the Stage Editor window.
Save your model
Save the model with a unique name and quick render it to see the results.

Conclusion
This completes the modeling exercise for the Toy Truck.
If you have completed all of the steps you should be well versed with some
of the most powerful 3D modeling tools available. In this lesson, you have
learned how to:
- · use symmetry when modeling
- · use "character lines" when modeling
- · intersect curves when using the advanced surfacing tools
- · use birail, square and swept surface
- · intersect and trim surfaces
- · use round for "rolling ball" fillet surfaces
- · use the Stage Editor.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company.
All rights reserved.