polyview1
A sample program that displays polygon mesh surfaces using vdslib
Usage
polyview [options]
Overview
polyview is a program that displays .poly files using vdslib to reduce the number of triangles used depending on the distance between the observer and the object being viewed and the requested quality. As the number of triangles is reduced, the rendering speed is increased, specially for large models.
Options
A summary of options is included below.
-
-h -
Show summary of options.
-
-pf filename -
open .poly file filename
-
-w -
display in wireframe mode (default)
-
-s -
display in shaded mode
-
-z -
set the initial zoom factor [0]
-bgr g b-
set background color [1 1 1]
-ocr g b-
set the diffuse color [.5 .5 .5]
-qx y z r-
set quaternion rotation [0 0 0 1]
-
-o foo.ppm -
save window as PPM file then exit