cvtopolyh

Section: Games and Demos (6)
Updated: January 1995
Index Return to Main Contents
 

NAME

cvtopolyh - a program to convert various 3D data formats to the AVS polyh format  

SYNTAX

cvtopolyh <options> <object file> <polyh file>  

DESCRIPTION

Cvtopolyh is a program that loads in and converts various 3D object formats to the AVS .polyh format.

A .polyh file contains a list of vertex coordinates and a list of polygonal faces given by indexed points. (There is a slight difference with AVS's definition with the inclusion of an optional comment line at the start of the file which begins with a hash "#".) A number of objects can be found at avalon.vislab.navy.mil or its mirrors.

It takes two filenames and some switches as its command line arguments.  

Options

The letter in brackets is optional and when specified centres the object.

-p[c]
loads a AVS .polyh file.
-3[c]
loads a certain .3ds file (3D Studio?).
-b[c]
loads the above type of file with an additional bounding box.
-o[c]
loads an X3d v2.0 .obj file.
-w[c]
loads a Wavefront .obj file.

Once running, it will load in the data file, display a few parameters, check for redundant points, centre the object (if requested) and then normalise the object. After all this, the object is saved in .polyh format along with a comment.  

FILES

 

BUGS

If you find any bugs, please report them to the author listed below.  

SEE ALSO

cvtopolyh(6), cvtoppm(6), mkpolyh(6), sisgen(6), vpgs(6), xpgs(6) and xss(6).  

AUTHOR, COPYRIGHTS, AND WARNINGS

Copyright 1994 and 1995, 26th January.

By Peter Chang

peterc@a3.ph.man.ac.uk

Version 2.1

See notice in the xpgs man page.


 

Index

NAME
SYNTAX
DESCRIPTION
Options
FILES
BUGS
SEE ALSO
AUTHOR, COPYRIGHTS, AND WARNINGS

This document was created by man2html, using the manual pages.
Time: 07:29:37 GMT, July 20, 2024