Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

GT-3D-GOURAUD-TRIANGLE

source files: xgtm.[ch], term/*.trm, gtplot.h

SYNTAX

(GT-3D-GOURAUD-TRIANGLE '(0 1 0))
(SEND <gtm:terminal> :3D-GOURAUD-TRIANGLE '(0 1 0))

DESCRIPTION

Draw a gouraud-shaded triangle from the last two locations of the 3D cursor to the given point. The last two cursor locations have the color that was current when they were entered, and the current point has the current 3D color. Gouraud-shade the triangle smoothly between these colors. Leave the 3D cursor at the new point. Argument is a list '(X Y Z) of floats or ints.

This is a new-style 3D call. Use of this call is strongly discouraged, however, and it may be phased out shortly. Build a GRAPHIC-RELATION and draw it with a :DRAW message to a camera, instead.


Go to the first, previous, next, last section, table of contents.