Re: XForms: 3d surface plot

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 3 Jun 99 17:05:28 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Has anyone generated a 3D surface plot (ala plplot's plot3d command)
> in Xforms??

What kind of surface plot? Wire frame? Wire frame with hidden line removal?
Flat shaded polygons? Smoothed polygons?

Unless your requirements are extremely modest, you probably want to use
a 3D API such as Mesa or OpenGL rather than roll your own.

> If nothing else, could someone recommend a good book for a surface plotting
> algorithm?

Foley, van Dam, Feiner, and Hughes is the standard graphics reference
(I forget the exact title -- something like _Computer Graphics, Principles
and Practice_, I think). It should have what you want for simple surfaces
and hidden line removal. Just about any basic text on CG should give you
a start if you're looking at writing something of your own.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/