Debian Codegraph @

doc/man/man1/qmorf.1

raw
1 '\"macro stdmacro
2 .TH qmorf 1
3 .SH NAME
4 qmorf \- 3d morphing program
5 .SH SYNOPSIS
6 .B qmorf
7 [qfile1] [qfile2] ...
8 .SH DESCRIPTION
9 .I qmorf
10 reads in a series of Inventor quad mesh files and draws an animated
11 sequence which metamorphoses from one object to the next.
12 These quad mesh files must meet the exact specifications described
13 below (40x40).
14 .PP
15 .I Qmorf
16 is not related to other morphing programs (like the program used to produce
17 the effects in Michael Jackson's "Black or White" video).
18 Those programs use image warping techniques to modify 2D images;
19 this program actually modifies an object's 3D geometry.
20 .PP
21 .I qmorf
22 was written using the Open Inventor 3d Toolkit.
23 Currently, qmorf is only able to interpolate between files that contain
24 QuadMeshes with 40 by 40 vertices (1521 quads).
25 Standard C++ code is used to linearly interpolate the positions
26 of the vertices of the intermediate geometry.
27 Open Inventor is used to linearly interpolate the objects' textures
28 or materials. The intermediate geometry is drawn twice,
29 first with the first set of materials or textures or materials applied.
30 Then the object is drawn again with the second set of materials
31 or textures applied, modified to be semi-transparent.
32 Open Inventor (using OpenGL) blends the semi-transparent object
33 with the already drawn geometry. By varying the level of
34 transparency, a smooth fade from one object's texture to the next
35 is achieved.
36 The background is derived from code originally written by Drew Olbrich.
37 It is a 21 by 21 QuadMesh (400 quads) with a different material at each vertex.
38 The positions of the vertices are determined by a variety of mathematical
39 functions (e.g. sine waves, exponential functions, etc), while the colors
40 are determined by a fractal noise function. The positions and colors are
41 edited each frame of the animation , interpolating from
42 one set of positions and colors to the next.
43 The total number of quads in any given frame is 3,442 (1552*2+400).
44 The main window of the program is the standard Inventor Examiner Viewer
45 Xt component. The button and sliders are Motif widgets.
46 .PP
47 Textures are automatically turned off if too slow!
48 .TP
49 .I About button
50 Brings up a short summary about qmorf.
51 .TP
52 .I Quit button
53 Quits qmorf.
54 .SH SOURCE CODE
55 Note that the source code to
56 .I maze
57 comes with the
58 .I Open Inventor 3d Toolkit.
59 .SH FILES
60 /usr/share/data/models/CyberHeads/* - Sample qmorf files
61 .br
62 /usr/share/src/Inventor/demos/qmorf/* - Source to qmorf
63 .SH CREDITS
64 Data for the heads courtesy of: Cyberware Laboratory Inc.
65 .SH SEE ALSO
66 drop, maze, textomatic, revo,
67 SceneViewer, inventor, ivview, noodle