vwcvph allows the user to view a convex polyhedron from various positions with hidden surfaces removed. The viewing position is selected using the mouse. Using the SunCore Graphics Package, a 3-D projection is drawn on the Sun Monochrome Bitmap Display. The mandatory file argument contains a polygonal object definition as described in the manual page for /usr/demo/rotcvph.
The program operates in two modes: DisplayObject mode and SelectView mode. The program starts in DisplayObject mode:
The view shown in DisplayObject mode is drawn using the conventions that the viewer is always looking from the viewing position toward the center of the object and that the positive y axis on the screen is the projection of the positive y axis in object coordinates.
The input file may define non-convex objects. The program will display these objects but hidden surface computations will not be done correctly.
Lines which are common to two visible polygons in a view are drawn twice, once for each polygon.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97