Graphics Programs Reference
In-Depth Information
e. Save and render the scene.
Setting the Viewport Background
In this section, you will set a background image in the Front viewport.
1. Choose
File > New
from the main menu, a new scene is displayed. Press F4; the Front
viewport is maximized.
2. In the Front viewport, choose
Options > Configure
from the Menu in editor view; the
Viewport [Front]
settings are displayed in the Attribute Manager. In the Attribute Man-
ager, choose the
Back
button, if it is not already chosen; the
Back
area is displayed. In
this area, choose the browse button next to the
Image
text box; the
Open File
dialog
box is displayed. Browse to
\Documents\c4dr16\c02\pipe.jpg
. Next, choose the
Open
button; the
pipe.jpg
is placed as the background image in the Front viewport.
3. Enter
75
in the
Transparency
spinner.
Defining the Shape of the Pipe
In this section, you will define the shape of the pipe using the
Circle
spline.
1. Choose
Create > Spline > Circle
from the main menu bar;
Circle
is displayed in the
Front viewport.
2. Make sure
Circle
is selected in the Object Manager and the
Object
button is chosen in
the Attribute Manager. In the
Object Properties
area of the Attribute Manager, select
XZ
from the
Plane
drop-down list.
3. In the Attribute Manager, select the
Ellipse
check box and then enter
7
and
27.846
in the
Radius
and
Radius Y
spinners, respectively.
4. Choose the
Coord
button and then specify the values for the following parameters:
P . X:
375.332
P . Y:
168.154
R . B:
89.613
After entering the values
Circle
is placed at the end of the pipe, as shown in Figure 2-76.
5. Double click on
Circle
in the Object Manager and rename the object as
Ellipse
.
Search WWH ::
Custom Search