Teach Yourself
CorelDRAW 8 in 24 Hours

Previous chapterNext chapterContents


Hour 23
Dream 3D Basics

In the last 22 hours, you have extensively covered CorelDRAW and have been introduced to Corel PHOTO-PAINT. Now in the twenty-third hour, you encounter another tool in the Corel Suite of products called Corel Dream 3D. Dream 3D is unlike both CorelDRAW and Corel PHOTO-PAINT.

In Dream 3D, a world is filled with three-dimensional objects (or an object), lights are set up to light up the creation, and then a virtual camera is used to take a picture of the scene. Taking this picture, in 3D jargon, is called rendering. The image that is created from the picture is a bitmap that can be used as is or can be further manipulated by PHOTO-PAINT or used within CorelDRAW.


Just A Minute: To model an object in Dream 3D is to say that you create the object.
An environment is all those things that make up the three-dimensional world other than the objects and direct lights.

General 3D Concepts

When Corel Dream 3D starts, it asks to create an empty scene, open an existing scene, or use the Scene Wizard to create a scene. For our purposes, let's choose Create an Empty Scene. Dream 3D's environment (Figure 23.1) is similar to that of CorelDRAW and PHOTO-PAINT.

Figure 23.1.

Dream 3D.

Clicking on the X control of a window can close each of the windows in the work area. If the Perspective window is closed, then the file is closed and you will be asked to save the current scene. The other windows can be opened and closed at will without closing the current scene.

To open a closed Shaders Browser window, for example, select Windows | Shaders Browser. You can also maximize or minimize the Perspective or Hierarchy windows by clicking on the window control handles in the upper-right corner of each window. These windows can be reopened using the Windows menu. To reset the entire work environment to a default setting, select Windows | Workspace and then select a default screen resolution size.

Perspective Window

The Perspective window is a view of the Dream 3D world in which you create your scenes. Each scene can be saved (choose File | Save or Save As) or loaded back into Dream 3D. For every scene that is loaded, a new Perspective window is created to hold that scene. In this window, you modify your scene by adding more lights, changing object positions, creating objects, and so on.

The Perspective window contains three planes (grid areas) (see Figure 23.2), which represent three-dimensional space. The plane to the left extends along the x-axis. The plane to the right extends along the y-axis. The plane on the bottom represents the plane perpendicular to the z-axis (the axis that goes top to bottom).

Figure 23.2.

Dream 3D planes.

The red pyramidlike shape in the upper-left is a default lamp (or light) used to light up the scene when you take a picture of the scene. The red rectangular shapes are projections of the lamp onto the planes.

Hierarchy Window

The Hierarchy window is a hierarchical display of all the objects in the current scene (or universe). You find a unique Hierarchy window for every scene that you open.

Objects can be grouped together and selected, and the object's properties modified using the Hierarchy window. To change the properties of an object, right-click on the object in the Hierarchy window and select Properties.

Objects Browser Window

The Objects Browser window contains groups of predefined, Dream 3D objects and is categorized by folders: Home, Sports, Transport, and Tutorial.

You can add an object from the Object Browser into your scene by dragging the object to either the Perspective window or the Hierarchy window. You can also right-click on an object in the Objects Browser and select Open In New window. This creates a new Perspective window containing just the object from the Objects Browser window.

Shaders Browser Window

The Shaders Browser window contains the Object Shaders that you can apply to objects in your scene. Objects in the real world have all sorts of properties, such as roughness, shininess, transparency, color, and so on. These shaders are applied to objects to simulate real objects.


Just A Minute: The Main menu changes depending on the currently selected window. Make sure that the window you want to work in is the currently selected window before trying to access the menu for its commands.

The Dream 3D Toolbox

Dream 3D's toolbox contains tools for creating and manipulating objects, lights, cameras, and applying paint shapes to objects.

Basic Dream 3D Concepts

In the following sections, you create a sphere object. This introduces you to some basic Dream 3D concepts, such as the bounding box and the object's projections on the planes.

23.2: Creating a Sphere

1. On the toolbox, select the Sphere tool.
2. Move your cursor into the Perspective window (you will notice the cursor change to a crosshair).
3. Click on the bottom plane and drag to display a cube outline. You have just created a sphere in Dream 3D (see Figure 23.3).

You can create many objects in this way and position them above, below, in front, behind, inside of each other, and intersecting one another.

Figure 23.3.

A sphere created in Dream 3D.

Object Bound Box

A black outline cube surrounds the sphere. This cube represents the outside boundaries of the sphere and is visible only on the currently selected object. You can drag each of the nodes on this object boundary box to distort the shape of the sphere.


CAUTION: Dream 3D only has one level of Undo, so you may find it helpful to save critical points of your scene to separate files so that you always have a backup to revert to.

Projections

The red pyramid lamp (or light object) in the top-left corner of the Perspective window is placed there by Dream 3D as a default light for a scene. Each object, including the lamp, has associated with the object red rectangle shapes on each of the planes. These rectangle shapes are projections. A projection is the silhouette of an object onto a plane. If you look directly at one of the planes, the red rectangle shape outlines the object on the plane.

You will also notice that, just like your lamp, you have projections of the outline of the boundaries of the sphere on all three planes. Drag the projection on the left-hand plane and watch as the sphere starts to float above the bottom plane. All three perspective projections are now visible. These projections are useful in manipulating the object in your three-dimensional scene; they are also useful for restrained scaling of objects.

23.3: Moving the Sphere

1. Drag the projection on the left-hand plane and watch as the sphere starts to float above the bottom plane. All three perspective projections are now visible; these projections are useful in manipulating the object in your three-dimensional scene. They are also useful for restrained scaling of objects. The motion of the sphere is limited to the plane of the projection that you drag.
2. The same is true of scaling. Dragging a node on a projection distorts the sphere. The distortion is restraining the distortion to the plane of the projection you distort.

The projections also help you to see the relative position of an object in relation to other objects and in relation to your planes (see Figure 23.4).

Figure 23.4.

Notice the two spheres in this scene. The blue sphere is above the red sphere.


Just A Minute: Your universe can extend beyond the grid planes displayed in the Perspective window. The planes exist only for reference and will not render (will be invisible) in your final image when you take a picture of your scene.

Taking a Picture

The whole idea behind working in Dream 3D is to model a scene and then create an image of your scene. This image can then be incorporated into CorelDRAW or PHOTO-PAINT (or any other package that accepts bitmapped images).

23.4: Taking a Picture of Your Scene

1. Move the sphere by dragging the project planes, or the sphere, so that it floats above the bottom plane and is equally spaced between the other planes. The reason you move it is to position the sphere to the center of your universe because by default, the picture will be taken centered on the Perspective window. Also, by moving the sphere, you place it into the light path of the lamp.


Just A Minute: To view the area that a spot lamp illuminates, right-click on the lamp using the Selection tool. The result is a light cone that shows the area where the lamp illuminates.
2. To take a picture of your sphere, you need to first make the production frame visible. The production frame is a green rectangle that is essentially the viewfinder of the camera. The area inside the green rectangle renders into a bitmap image that you can save and then load into PHOTO-PAINT or CorelDRAW.
3. To display the production frame, choose View | Production Frame. You can move the frame around by dragging the frame. You can also resize the frame by dragging the nodes on the corners of the frame.
4. To take a picture of your sphere, choose Scene | Render | Use Current Settings. The result will be a window that contains the bitmap image of your sphere (see Figure 23.5).
5. To save this image, choose File | Save As, select a file type, and then load the image into CorelDRAW to enhance your vector design.

Figure 23.5.

Picture of your sphere.

Notice that our image of the sphere does not contain the lamp. Lamps, or lights, in Dream 3D only affect other objects. They are not visible themselves. If you want a lamp to be visible, you have to model a lamp and place the light into the place where the light bulb would be. Dream 3D lights are only point sources of light and hence are invisible. Their effects, however, are visible and are what cause the realistic effects in the finally rendered images.

Viewing your Scene

Note a couple of things when viewing your scene: The quality of the image displayed while working on your scene, and that you can view your scene from different default view positions while creating it.

View Quality

By default, when working in the Perspective window, objects display using Preview Quality mode. This mode uses a quick, but inaccurate, method of shading your scene. You can select the Preview Quality mode on the Standard toolbar along with the other viewing modes (see Figure 23.6).

Figure 23.6.

The Preview Quality modes.

The quickest mode is the bounding box mode. This mode only displays the bounding box of objects and is best used in complex scenes. The slowest, but more accurate mode, is the Better Quality viewing mode. These modes do not affect the properties of the objects themselves; they just affect how you view them while working on them.

Different Views

The Perspective window currently is a reference view of your scene. A reference view is a view on your scene that looks three dimensional; that is, it looks like there is depth to the scene. You can look at your scene in other ways by choosing View | Type and then selecting the kind of view you want of your scene. To get back to the Perspective, choose View | Type | Reference.

Using Numerical Properties to Move Objects

You have already seen that you can move objects using the Selection tool by moving their projections or by moving the object. You can also position objects numerically. Right-click on the sphere and select Numerical Properties (see Figure 23.7). Position the object to a new position by entering different values for x, y, and z and pressing Apply.

Figure 23.7.

Object's numerical properties.

The origin of your universe is exactly in the middle of all the axes. Enter 0,0,0 for X, Y, and Z, and the object floats exactly in the middle of your planes. To move the object closer to the corner of the planes select -45, -45, -45. You can also scale, rotate, and distort the object by changing the values for Size and Yaw, Pitch, and Roll. Experiment with different values for these settings; notice that rotation of a sphere does not appear to change the object.


Just A Minute: Yaw, pitch, and roll are terms used to explain rotation around an axis. The z-axis goes from top to bottom and rotation around the z-axis is called yaw. The x-axis goes out toward the left. Rotation around this axis is called roll. The y-axis goes out toward the right and rotation around this axis is called pitch.

23.5: Creating a Cube

1. Select and hold the Sphere tool to cause the object flyout to appear (see Figure 23.8).

Figure 23.8.

Object tool flyout.

2. Select the Cube tool and drag a cube on the bottom plane. Notice that if you drag the cursor farther the cube size will increase. Notice also that the values for the cube now appear in the Numerical Properties window.
3. You can move the light (or lamp) like any other object. You can also point the light at an object by selecting the light and the object you want to point at and choosing Arrange | Point At. This is a lifesaver. It points the light at the hot point of an object.

Deleting Objects

To delete an object, select the object using the Selection tool, and press Delete on the keyboard, or right-click on the object and choose Delete. You can also delete the object by right-clicking on the object in the Hierarchy window.

Transforming Objects

To transform an object means changing an object's size by scaling the object and changing its general shape by using the Deformation tool. You can change the shape and size of objects in a number of ways by scaling the object bounding box or projections. You can also change the size and general shape of the object by modifying the Size values in the Numerical Properties box. You can also transform objects by right-clicking on an object and selecting Properties. The Properties Dialog box appears (see Figure 23.9).

Figure 23.10.

Object Properties dialog box.

The same types of values that appear in the Numerical Properties window appear in the Transform tab of the Object Properties dialog box. A newcomer is the Hot-Point section. The hot point of an object is a black dot that can be seen in the center of an object boundary or as a hollow circle in a projection of an object.

The hot point is a reference point for transformations like the rotation and alignment of objects. To center the hot point of an object, choose Arrange | Center Hot Point. Or type 0, 0, 0 for the HX, HY, and HZ values in the Object Properties dialog box.

23.6: Moving the Hot Point

1. Create a cube.
2. Experiment with moving the hot point. Use the Selection tool to move the hot point and drag the small black circle on the projection of the cube (or the black dot on the object bounding box).
3. Modify the yaw, pitch, and roll in the Numerical Properties or Object Properties dialog box. Notice how the cube spins around the hot point (see Figure 23.11).

Another interesting transformation that can be applied to objects can be found under the Deformer tab in the Object Properties dialog box. Select the type of deformation (you can stretch, shatter, bend and twist, or scale an object), the type of preview (usually the Selected Object Preview gives the best preview), and the amount of the deformation.

Rotating Objects

You can use two tools to rotate an object: the Virtual Track Ball tool and the One Axis Rotation tool found in the flyout tool menu (see Figure 23.12).

Figure 23.11.

A cube rotated around a repositioned hot point.

Figure 23.12.

The Rotation tools.

23.7: Using the Virtual Trackball to Rotate an Object

Here you use an object from the object browser to experiment with the Virtual Track Ball tool.

1. Drag the 10-speed bicycle from the Sports tab in the objects browser into the Perspective window.
2. In the Numerical Properties window for the bicycle, enter 0,0,0 for the X, Y, and Z values.
3. Select the Virtual Track Ball tool and click on the bike (if it is not already selected). A circle is included around the object bounding box (see Figure 23.13). The idea is that the circle acts like a three-dimensional track ball.
4. Click near the circle and drag the cursor. Release the cursor when the outline of the bounding box is in the position you want.

Figure 23.13.

Rotating using the Virtual Track Ball.

23.8: Using the One Axis Rotation Tool to Rotate an Object

Here you rotate the bicycle along a specific axis using the One Axis Rotation tool.

1. Select the bicycle object.
2. Select the One Axis Rotation tool. To rotate the object along a specific axis, use the One Axis Rotation tool and drag a projection on one of the planes. The rotation is restrained to the projection that you select (see Figure 23.14).


Just A Minute: To constrain the angle of the rotation to 15 degree increments, hold down Control as you rotate the object.

Copying and Duplicating Objects

The regular Cut, Paste, and Duplicate commands found in the Edit menu can be used for copying and duplicating objects. These same menu commands can be found by right-clicking on an object and selecting the desired action from the pop-up menu.

Duplicates are, by default, placed directly on top of the object being duplicated. If you duplicate an object and move it and then duplicate that object, Dream 3D moves the new duplicate the same amount as the previous movement. This is a handy feature for creating a row of the same object.

Figure 23.14.

Using the One Axis Rotation tool.

Selecting Difficult-to-Select-Objects

To facilitate selecting objects, select the object in the Hierarchy window or select it in the Perspective window by using the Selection tool and holding the left mouse button down over the object for a couple of seconds. A small menu appears showing all the names of the objects located beneath the current cursor position, and you can then select the object you want.

Grouping Objects

To group objects, Shift-select the desired objects using the Selection tool and then choose Arrange | Group. The group appears in the Hierarchy window as an apparently new object named Group 1. Click on the plus sign next to the Group 1 object to display all the objects in the Hierarchy window that make up a group. You might select individual objects within the group and manipulate them without manipulating the entire group by selecting the object in the Hierarchy window and then modifying the object in the Perspective window.

Aligning Objects

Dream 3D comes with an Alignment tool that helps to align objects in three-dimensional space. To view the Alignment dialog box, select two objects and choose Arrange | Align Objects. The object that you first select has a red color bounding box (see Figure 23.15). Press the small arrow in the lower-right of the dialog box to expand it.

Figure 23.15.

The Alignment dialog box and the red and blue anchor bounding boxes.

The red bounding box indicates that this object will not be moved, but that the other object(s) will be moved relative to this anchor object. To choose another object as the anchor object for aligning, press on the small red arrows in the Alignment dialog box.

The blue bounding box is also used as an anchor object, but only with the Distribute alignment option.

Expand the Alignment dialog box to show all three axes. Because you are working in three-dimensions, you can align in any direction in your scene. The following are the four different types of alignment:

23.10: Aligning Objects

1. Create three cubes at different places in your scene.
2. Shift+select them all and select Arrange | Align Objects.
3. Experiment with the different alignment options. Remember that alignment happens along the axis that you choose. If you want to align on all three axes, you need to set the same settings for each axis and press Apply each time.

Summary

In this hour, you were introduced to Dream 3D basic concepts, text objects, and built-in primitive objects. You learned to manipulate the objects within your scene by moving, aligning, transforming, and deforming the objects. You learned different ways to look at your scene from different views, and you took a picture of your scene that mom would be proud of.

Workshop

The following steps create the image in Figure 23.16. This exercise creates some objects, aligns them, and takes a picture of them.

Figure 23.16.

Workshop image.

1. Start Dream 3D and select File | New to create a new image.
2. Select a size for your image, 480 x 480 square, set the resolution to 96 dpi.
3. Select the Image Sprayer tool from the Paint tool flyout.
4. Double-click on the Image Sprayer tool to display the Tool Settings rollup. Load the raindrps.cpt image list from the default image list. Use this image list to paint the background of your canvas.
5. Use the rectangle Mask tool to mask about 80% to 90% of the image. Create an object from the rectangle area by selecting Object | Create | Object: Cut Selection.
6. Shift+drag the corner of the new object to scale the object down. This creates a white border around the object.
7. Add a drop shadow using Object | Drop Shadow. Set the Orientation at 315 degrees, Opacity to 50%, and the Width of the feather to 20 pixels. Ungroup the shadow object from the main object by selecting the objects and choosing Object | Arrange | Ungroup. Select the main object and duplicate it by pressing Control+D.
8. Create a mask from the duplicate object by selecting Mask | Create From Object. Select Effects | 2D | Edge Detect (adjust the Sensitivity to 2). Change the Opacity of the top object to 37%.
9. Select the background (in the Object Docker). Select Effects | Artistic | Impressionist (use the default values). This will fuzz the background.
10. Using the Animals 2 font, create a 96-point butterfly (by typing the number 9). Rotate the butterfly to the right about 45 degrees. Set Opacity to 10%.
11. Center the Thank You text using a blue color and set the Shelley Allegro font at 96 points. Add a drop shadow (feather of 4, with Average set for direction) to the text and position it in the center of the image.
12. Remember to save your image by choosing File | Save As.

Quiz

1. How do you change the properties of a Dream 3D object?
2. What is a projection?
3. How can I know what my spot lamp illuminates without rendering the scene?
4. How do I delete an object?

Quiz Answers

1. To change the properties of an object, right-click on the object in the Hierarchies window and select Properties.
2. A projection is the silhouette of an object.
3. Right-click on the lamp with your Selection tool to view the light cone.
4. You can select the object and then press Delete; you can right-click on the object and choose Delete; you can right-click on the object in the Hierarchy window.


Previous chapterNext chapterContents


Macmillan Computer Publishing USA

© Copyright, Macmillan Computer Publishing. All rights reserved.