VRML_POLY Procedure

Constructs a surface or a solid described by a set of polygons.

Usage

Input Parameters

Keywords

Object Properties


TIP: Browser viewing efficiency is enhanced by using the Solid keyword, because the browser knows to look only at the specified inside or outside of the polygon shape instead of both.

Material Properties

Discussion

Example

; Build a vertex/polygon set from surface data.

; Open a VRML file.

; Set up a light source and an initial viewpoint.

; Make up some RGB color values -- one color for each; element of z (thus, one color per polygon).

; Put the colors into a (3, NPOLY) array.

; Write the surface to the VRML file.

; Close the VRML file.

See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.