VisionX V4VLIBGENVisionX V4
NAME

vlibgen − compute a library sequence of 3D images from a 3D model

SYNOPSIS

vlibgen [if=infile] [of=ofile] [n=] [sxy=] [-b] [-c] [-t] [-w] [-v]

DESCRIPTION

vlibgen Generates a library of images of a 3D polygon shape representation. By default the images are light-shaded visualizations. Use the -b option for binary images. v3view with option -vr is used to generate the images. teh default iamge size is 256 x256.

The different viewing angles are taken from an icosahedron model. By default 20 views of the image are generated according to the 20 vertices of the icosahedron. The n= parameter increases the number of views generated.

CONSTRAINTS

Only an icosahedron model is currently supported.

Not yet validated for windows

pipe output may not work in all cases (especially the -t option)

OPTIONS

if=<fname>

The input file name of files

of=<fname>

This specifies the output file name.

n=<number>

The n= parameter specifies the number of partitions for each side of the polygon model; the default value is 1 i.e., no partitioning. For example, n=2 increases the number of views from 12 to 42 and n=3 generates 92 views.

sxy=xsize[,ysize]

The sxy= parameter specifies the rendered image size

-b

Generate a binary image output instead of a light shaded image three views.

-c

Use a set of viewing directions corresponding to the centers of the faces of the (partitioned icosahedron) instead of the vertices. This is used to generate a "testing" set of views that are maximal distance from the "training" vertex views.

-t

Output 2D boundary vectors instead of images (this forces -b).

-w

Show warnings and error messages

-v

Verbose mode

AUTHOR

A. P. Reeves

SEE ALSO

v3view(1)