| 1 |
'\"macro stdmacro |
| 2 |
.TH revo 1 |
| 3 |
.SH NAME |
| 4 |
revo \- creates revolved 3d surfaces |
| 5 |
.SH SYNOPSIS |
| 6 |
.B revo |
| 7 |
.SH DESCRIPTION |
| 8 |
.I revo |
| 9 |
is an interactive Inventor program for creating 3d objects by drawing |
| 10 |
a curve and then revolving it around an axis. |
| 11 |
.PP |
| 12 |
The program has two main viewing windows: the curve view and the |
| 13 |
3d rendered view. To create a object, click the left mouse button |
| 14 |
in the curve view near the default blue line. |
| 15 |
Hold the button down and continue to move the mouse, |
| 16 |
the point will be dragged. You can drag existing |
| 17 |
points on the curve by clicking and dragging. To delete a point |
| 18 |
from the curve, simply click the point to select it, and then |
| 19 |
press the BACKSPACE key to remove it. |
| 20 |
.PP |
| 21 |
As you draw the curve in the curve view, the 3d object is automatically |
| 22 |
draw in 3d in the other view. The 3d rendered view allows you |
| 23 |
to view your masterpiece by clicking and dragging in the view. |
| 24 |
Experiment with the various mouse buttons to gain control over the viewing. |
| 25 |
Press the right mouse button in the 3d rendered view, and |
| 26 |
select the `Functions/Help' entry for more help on 3d viewing. |
| 27 |
.PP |
| 28 |
.I Revo |
| 29 |
allows you to sketch out a line which is then rotated around an |
| 30 |
axis to form a surface of revolution. |
| 31 |
The left-hand window allows you to edit the line, |
| 32 |
and the right-hand window lets you view the resulting surface. |
| 33 |
.PP |
| 34 |
Initially, a very simple surface of revolution is shown; |
| 35 |
a single line segment is rotated about the vertical axis to form a cylinder. |
| 36 |
To add points onto the end (bottom) of this cylinder, |
| 37 |
just click the left mouse button where you want the new point to appear. |
| 38 |
To move an existing point, just position the mouse near the point |
| 39 |
(a small cross will appear), then press the left mouse button |
| 40 |
and drag the point to its new position. When you are satisfied with |
| 41 |
its location, release the left mouse button. You can also insert |
| 42 |
points in the middle of a line segment by placing the mouse near the segment, |
| 43 |
pressing the left mouse and dragging the new point to the desired location. |
| 44 |
.PP |
| 45 |
The |
| 46 |
.I Clear |
| 47 |
button below the main windows is an easy way of deleting |
| 48 |
all the points. You can also use the Backspace or Delete keys on the |
| 49 |
keyboard to delete points. The |
| 50 |
.I Copy |
| 51 |
button will copy the shape you have |
| 52 |
created to the Xt clipboard. You can then paste the shape into an |
| 53 |
Open Inventor application that supports paste, like the SceneViewer |
| 54 |
(revo does not support paste). You can change the number of sides |
| 55 |
used in the surface of revolution by typing into the |
| 56 |
.I #sides |
| 57 |
Motif text widget. |
| 58 |
.PP |
| 59 |
Normals are calculated automatically whenever the line changes. |
| 60 |
If the angle between two segments is small enough, a "smooth" normal |
| 61 |
will be generated. If the angle is too great, a "crease" will be |
| 62 |
automatically generated. Putting two consecutive profile points at |
| 63 |
the same location is another way of generating sharp creases. |
| 64 |
To save your objects you must first copy them to an application |
| 65 |
(such as the SceneViewer) that supports save. |
| 66 |
The 3d view is a standard Open Inventor Examiner Viewer. |
| 67 |
Press the right mouse button for a menu that will allow you to |
| 68 |
turn on the Examiner Viewer decorations, change drawing styles, and get help. |
| 69 |
This program is a lot like the |
| 70 |
.I revolve |
| 71 |
demo program, which was |
| 72 |
written using only the Iris GL. This program is approximately half the |
| 73 |
number of lines of code as the GL version, and has more features |
| 74 |
(e.g. changing the number of sides of the surface, copy to the Xt |
| 75 |
clipboard, the different drawstyles supported by the Examiner Viewer). |
| 76 |
No GL calls are made in the source code to this program, |
| 77 |
only Inventor calls (which uses Open GL). |
| 78 |
.TP |
| 79 |
.I Number of sides |
| 80 |
This number sets the number of sides the object will have around |
| 81 |
the revolution. |
| 82 |
.TP |
| 83 |
.I Copy |
| 84 |
Will copy your object onto the X clipboard, where it can be pasted |
| 85 |
into another Inventor program (e.g., showcase, SceneViewer). |
| 86 |
.TP |
| 87 |
.I Clear |
| 88 |
Removes your masterpiece and starts over again. |
| 89 |
.TP |
| 90 |
.I About |
| 91 |
Displays a short description about revo. |
| 92 |
.TP |
| 93 |
.I Quit |
| 94 |
Exits revo. Note that the data copied to the X clipboard with |
| 95 |
the copy button will disappear when revo exits, so be sure to |
| 96 |
paste your creations before exiting. |
| 97 |
.SH SOURCE CODE |
| 98 |
Note that the source code to |
| 99 |
.I revo |
| 100 |
comes with the |
| 101 |
.I Open Inventor 3d Toolkit. |
| 102 |
.SH FILES |
| 103 |
/usr/share/src/Inventor/demos/revo/* - Source to revo |
| 104 |
.SH SEE ALSO |
| 105 |
SceneViewer, drop, gview, inventor, ivview, maze, |
| 106 |
noodle, qmorf, showcase, textomatic |