Re: pre lit polygons need no lights

Len Wanger (lrw@sdsc.edu)
Tue, 21 Mar 1995 17:30:43 -0800 (PST)


On Tue, 21 Mar 1995, David Mott wrote:

> There is no way in the VRML 1.0 spec to specify whether lighting
> is on or off. I want to propose that VRML 1.0 have a LightModel
> node which gives this information, for the following reasons:
.....
> A light model node would provide a mechanism for authors to explicitly
> tell the viewer whether the scene is lit or not.
>
> My proposal:
>
> FILE FORMAT/DEFAULTS:
>
> MODEL
> BASE_COLOR Use only the base (diffuse) object color
> PHONG Use Phong lighting model
>
> LightModel {
> model PHONG
> }

I would also propose being able to set the drawing style to allow for
filled, wireframe, or points:

FILE FORMAT/DEFAULTS:

STYLE (enumerator)
FILLED draw as filled regions (default)
LINES draw as wireframe outlines
POINTS draw as independent points
INVISIBLE don't draw at all

e.g.

DrawStyle {
style FILLED
}

Len Wanger -- LRW@SDSC.EDU
Project Sequoia 2000
San Diego Supercomputer Center