By default VRML assumes all face sets to be convex. This shape is concave
so results are unpredicatable. In webspace it fills in a couple of the
concave edges. This can be overridden with the ShapeHints node.
Another interesting issue is that of automatic normal generation. Since
you do not specify normals they are being generated automatically. In the
case of webspace they get generated with a counter clockwise orientation.
So since you ordered your points clockwise the normals are pointing away
from you and the back of the polygon is being lit. This may have been
your intent but it does bring up the issue of automatic normal generation
in VRML.
Very little is said about normal generation in VRML 1.0. We should
rectify this in 1.1. I'd like to suggest adding a statement that, by
default, VRML generates counterclockwise normals.
Opinions?
-- chris marrin Silicon http://www.sgi.com/Products/WebFORCE/WebSpace (415) 390-5367 Graphics http://reality.sgi.com/employees/cmarrin/ [email protected] Inc. "As a general rule, don't solve puzzles that open portals to Hell."