Polyshade > Polyfill ? [message #11420] |
Mon, 06 April 1998 00:00 |
Ewan A. Macpherson
Messages: 14 Registered: December 1996
|
Junior Member |
|
|
I've got a set of polygons describing a 3D surface. I can render the
surface (in PV-WAVE) using POLYSHADE(verts,polys), but what I want to do
is plot a projection of that image onto a 2D plot using POLYFILL. This
will allow me to:
a) output the "image" as PostScript polygons, rather than as a bitmap
b) plot various 2D things on top of it
c) control the projection aspect ratio without driving myself crazy
trying to make T3D do what I want.
I can easily compute the projection of each polygon onto my 2D
coordinate system and devise a sensible coloring scheme, but in order to
use POLYFILL, I need to know in what order to plot the polygons to
reproduce the hidden-line removal that POLYSHADE uses.
Any advice greatly appreciated!
--
Ewan Macpherson <emacpher@umich.edu>
Central Systems Laboratory
Kresge Hearing Research Institute
http://www-personal.umich.edu/~emacpher
|
|
|