Computer Graphics Survey

Modeling a 3D Scene

Using MiniCAD 7 on MacOS Computers

| previous handout | ACG Home | Instructor Home | Class Home | list of tutorials | next handout |

Before beginning the project

Read the information that pertains specifically to the way the ACG Lab operates. This section of the directions may not apply if you work on the project elsewhere.


Tutorial Goals

MiniCAD is widely used on the Macintosh for Computer Aided Design (CAD) applications. This type of software is primarily used for dimensional design (i.e., to create blueprints of real objects). It can also be used, however, to create virtual 3D scenes--such as the ones we will incorporate in our web pages.

Since the 3D marketplace is very fragmented, MiniCAD is not the only 3D programs you will encounter. It does, however, follow the basic user interface approach used by all the dominant players, and it embodies all the major aspects of 3D work: modeling, rendering, and animation.

In this first phase of our 3D project, we will use the most common modeling tools: we will start from flat 2D shapes, converting them to 3D using two techniques generally available in all 3D programs: extruding and lathing. Later we will work directly with basic 3D shapes called primitives, combining them using solid operations.

After some initial setup, we can proceed to create the elements in our scene:

Our final product will be a simple scene containing a logo made up of a few text characters (e.g., your initials).


Initial Setup

  1. Find the MiniCAD application icon and start the program
  2. Use File-->New to create a new document.
    • A new untitled document window appears.
    • Save the new document: File-->Save As, enter any filename you want (this document will not be posted on the web site directly). Make sure to save often as you continue to work.
  3. Switch to front view, using the View-->Standard Views-->Front.
  4. The document window will update to show a front view of the model space.


Lathed Pedestal

    • Make sure the 2D Tools palette is visible (otherwise, display it using Windows-->Tool-->2D Tools).
    • Choose the Polyline tool (the 5th from the top in the left half of the 2D Tools palette).
  1. Draw the profile for the pedestal, using the Polyline tool in a connect-the-dots fashion to create a series of connected straight segments.
    • Click near the middle of the grid to establish the starting point of the profile.
    • Click to establish additional vertices representing one half of a front view of the pedestal. To constrain the line segments to vertical, horizontal, and 45°, hold down the Shift key while clicking.
    • To complete the profile, return to a location aligned below the starting point, and double-click. An example of a completed profile is shown in this picture.
  2. Choose the 2D Locus tool (to display its icon, click and hold on the 6th tool from the top in the right half of the toolbox).
  3. Click to place a locus symbol (a white 'X' in a black box) on a corner of the profile. This is used to indicate the axis of rotation (the imaginary line around which the profile swings as it creates the 3D object). This picture shows where to click for the sample profile shown previously.
  4. With the pointer (the Arrow tool), drag a selection box enclosing the locus and the profile, leaving both items selected.
  5. Choose the Model-->Sweep command (sweeping is another name used for the lathe operation).
  6. The result is a symmetrical 3-D shape based on the 2-D profile you drew.


Extruded Type

  1. Choose the Text tool (the 3rd from the top in the left half of the toolbox).
  2. Click in the document window to indicate the location of the type.
    • Type a few letters, such as your initials (to keep file size and processing time down, we cannot have a large amount of text).
    • When done typing, choose the Arrow tool, leaving the new text block selected.
    • Now choose a typeface, size and style from the top three commands in the 'Text' menu. For best results, avoid typefaces and styles with complicated outlines, since this would also drive up the file size and the processing time: sans-serif typefaces such as Helvetica or Avant-Garde are a good choice.
    • To allow conversion to a 3-D object, you also need to select a typeface in the TrueType format.
  3. As the first step in creating a 3-D object, convert the type block to polylines (much like the ones you drew earlier with the Polyline tool) by using the Tool-->TrueType to Polyline command.
  4. The result is a grouped set of polylines in the shape of the original type.
  5. Ungroup using Organize-->Ungroup. You will see separate selection handles around each letter. Leave them all selected.
    • Hold down the Option key and choose Model-->Extrude.
    • In the dialog box, enter the depth of the 3-D type (e.g., 0.5") in the 'Extrusion' field.
    • Leave the other fields at their default values and click OK.
  6. The extruded type won't look any different in the front view. Change view using View-->Standard Views-->Right Isometric.
  7. The isometric view lets you see how the pedestal and the type relate in 3-D space.


Importing 3D primitives

    • Display the Resources palette (Window menu).
    • Find and open the MiniCAD:Toolkit:Goodies folder. This works like regular Open dialogs: double-click the 'Toolkit' folder icon in the scrolling list, then double-click the 'Goodies' folder icon.
    • Double-click on the '3D Shapes' document icon in the scrolling list.
    • Click once on the '3D Shapes' folder in the scrolling list, then click the <Import> button.
    • In the Window menu of the menubar you will now see a new submenu called Commands. In this new submenu, choose the '3D Shapes' command.
    • A new commands palette titled '3D Shapes' appears. This palette can be used to add to your model simple solid shapes (called primitives).

Return to Top


Solid Subtraction Walls

    • Double click on the single command contained in the '3D Shapes' palette, also labeled '3D Shapes'.
    • The '3D Objects' dialog appears. Click 'Cube'.
    • In the Cube dialog, enter an appropriate size to enclose the entire scene (if you did not change the default scale, 6" is a good size)
    • Repeat the same process to create a second, smaller cube (e.g., 5.5")
    • Switch to the front view (View-->Standard Views-->Front)
    • Use the pointer (Arrow tool) to drag the two cubes so they indicate the inside and outside surfaces of walls and floor surrounding the scene.
    • Stretch the smaller cube (use the pointer tool to drag its corner handles) so that it rises above the larger cube's top side.
  • To better understand how the objects are positioned, switch back to isometric view (View-->Standard Views-->Right Isometric).
  • Change the way the objects in the scene are displayed (rendered), from wireframe (objects appear transparent because all the edges are displayed) to solid (View-->Rendering-->Shaded Solid).
  • Verify that the two cubes are one inside the other, the inner one protruding past the top of the outer one.
  • Use the pointer (the Arrow tool) to select both cubes (click on one, then shift-click on the other).
  • Choose Model-->Subtract Solids.
  • Solid modeling lets you create complex shapes by combining simpler ones. In this case, we will use the inner cube to carve out (subtract) a cavity in the outer cube.
  • In the dialog which appears next, click the arrow buttons until the outer cube is highlighted by a thick outline.
  • Click 'OK' to complete the subtraction.
The inner cube disappears, and the outer cube is hollowed out, creating in a single step the walls and floor of a room.
Repeat the previous steps to insert, resize and reposition additional cubes. These you will use to carve doors and windows in the walls of the room.
Use Subtract Solids to complete the room.

Return to Top


Pyramid Roof

    • Double-click again on the '3D Shapes' command in the '3D Shapes' palette. The '3D Objects' dialog appears. Click 'Pyramid'.
    • In the dialog which appears next, choose a 'regular' pyramid (one that comes to a point) with four sides, then enter its size. Assuming you used the measurements in the examples, a good fit is 4.5 for inscribed radius, and 2 for height.
    • To better arrange the pyramid vertically, switch back to Front view (View-->Standard Views-->Front) and wireframe rendering (View-->Rendering-->Wireframe).
    • The pyramid will typically appear in the wrong place (in this sample picture, it is far too low). Use the pointer (the Arrow tool) to drag the pyramid to the proper location (do not drag the corner handles--doing so would resize the pyramid instead).
    • In this image, the pyramid is positioned correctly atop the walls of the room.
    • Remember that just because one view shows the correct arrangement, it does not follow that the objects are in the right place in 3D. You need to look at the scene from multiple views.
    • Switch back to top view (View-->Standard Views-->Top).
    • In top (or plan) view, you see that the edges of the base of the pyramid are rotated 45° away from the walls of the room.
    • Make sure the pyramid (and only the pyramid) is still selected.
    • Display the Rotate Object dialog by double-clicking the Rotate Selection tool (the 3rd from the bottom in the right half of the 2D Tools palette).
  1. Enter '45' for the angle, click 'OK'
  2. The pyramid should now align properly with the walls. Reposition and/or resize if needed.
    • Switching once more to isometric view (View-->Standard Views-->Right Isometric) and solid rendering (View-->Rendering-->Shaded Solid) should give you a good idea of the 3D nature of the scene you created.
    • If you have a VRML 1 plug-in installed, you can see a live version of this scene--this is a large (1 MB) file.
  3. Before leaving, make sure your file is saved so you can continue working with it in the next session.


Information specific to the ACG Lab

return

| previous handout | return to top | next handout |


This document originally at <http://acg2.fullcoll.edu/FACULTY/CORSI/LEARN/OVERVIEW/OV150/MAC0EN_P.HTM>
Copyright 1997-2000 by Sandro Corsi. Last modified 2000-04-24. SaneDraw home