GEOMETRY commands
PROGRAM NAME
gquadmesh - Create a Quadmesh Geometry Object from 2D Data
DESCRIPTION
gquadmesh
is used to create a "mesh" out of two-dimensional value data. The
value data must either have an element size of 4 and contain RGBalpha
values, or an element size of 1, in which case it will be used as map
indicies into a vis colormap. Location data must also be present in
the input file. Location data is required to exists in R3 (i.e.,
each location vector must have and X, Y and Z component).
A vis colormap may be provided for coloring the quadmesh
vectors. The generated mesh will then contain the color vectors
determined by mapping the original value points through the vis
colormap.
The resulting quadmesh will contain location data, color data, and
normal data. Texture coordinates may be optionally generated which
can be used to map vertex points on the quadmesh into colors on a
texture map. A texture map can be associated later using the
kapplytexture operator. Note that the use of a vis colormap and
texture coordinates are mutually exclusive.
REQUIRED ARGUMENTS
- -i
-
type: infile
desc: input 2d data for quadmesh
- -o
-
type: outfile
desc: ouput geometry quadmesh
OPTIONAL ARGUMENTS
- -name
-
type: string
desc: object name
default: quadmesh
- -opt
-
type: list
desc: List of ways in which the quadmesh can be optimized.
default: 1 "None"
Mutually Exclusive Group; if desired, specify ONE of:
- -cmap
-
type: infile
desc: input vis colormap
default: {none}
OR
ALL OF the Mutually Inclusive Group:
- -tc2d
-
type: flag
desc: generate 2D texture coords
AND
- -umin2d
-
type: double
desc: umin
default: 0
bounds: 0 < [-umin2d] < 1
AND
- -umax2d
-
type: double
desc: umax
default: 1
bounds: 0 < [-umax2d] < 1
AND
- -vmin2d
-
type: double
desc: vmin
default: 0
bounds: 0 < [-vmin2d] < 1
AND
- -vmax2d
-
type: double
desc: vmax
default: 1
bounds: 0 < [-vmax2d] < 1
ALL OF the Mutually Inclusive Group:
- -tc3d
-
type: flag
desc: generate 3D texture coords
AND
- -umin3d
-
type: double
desc: umin
default: 0
bounds: 0 < [-umin3d] < 1
AND
- -umax3d
-
type: double
desc: umax
default: 1
bounds: 0 < [-umax3d] < 1
AND
- -vmin3d
-
type: double
desc: vmin
default: 0
bounds: 0 < [-vmin3d] < 1
AND
- -vmax3d
-
type: double
desc: vmax
default: 1
bounds: 0 < [-vmax3d] < 1
AND
- -wmin3d
-
type: double
desc: wmin
default: 0
bounds: 0 < [-wmin3d] < 1
AND
- -wmax3d
-
type: double
desc: wmax
default: 1
bounds: 0 < [-wmax3d] < 1
EXAMPLES
SEE ALSO
goctmesh, ggencmap, gapplytex
RESTRICTIONS
REFERENCES
COPYRIGHT
Copyright (C) 1996,1997 , The Regents of the University of California. All rights reserved.