Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

X3D Example Archives: Conformance Nist, Geometric Properties, Normal

X3D Scenes Descriptions
15000normals Test browser to apply 15000 normals to an ElevationGrid geometry. A single (+Y) direction normal is applied to all vertices of a flat ElevationGrid. The result is an object that is illuminated when viewed from the top or bottom, and not illuminated when viewed from any side.
multi elevation face normals Test of browser ability to generate normals to faces of an ElevationGrid geometry. The ElevationGrid has an downward (-Y) perpendicular normal applied to the top half of the ElevationGrid and an upward (+Y) direction normal applied to the bottom half of the geometry. The result is a figure that is visibily illuminated on the bottom half, while the top half remains dark. This is true for both front and back views.
multi elevation vertex normals Test of browser ability to generate normals to vertices of an ElevationGrid geometry. The top half of a flat ElevationGrids vertices have a normal to the ElevationGrid plane, pointing downward (-Y). The remaining vertices have a similar normal applied, but with a (+Y) direction. As a result, the top half of the geometry will be illumnated, while the bottom half is not illuminated. This is true for both front and rear views.
multi faceset face normals Test browsers implementation of Normal node to IndexedFaceSet faces, by applying outward direction perpendicular normals to the front, back, top and bottom faces of a rectangular IndexedFaceSet. Apply inward perpendicular normals to the left and right hand faces. The result is an IndexedFaceSet that is illuminated on the front, back, top and bottom, and unlit on the right and left faces.
single elevation face normals Test of browser ability to generate normals to faces for an ElevationGrid geometry. The ElevationGrid has an upward (+Y) perpendicular normal applied to all faces of this ElevationGrid. The result is a figure that is illuminated when viewed from the top or bottom, but is not illuminated when viewed from any side.
single elevation vertex normals Test of browser ability to generate normals to faces for an ElevationGrid geometry. The ElevationGrid has a upward perpendicular normal (+Y) applied to all vertices of the ElevationGrid. The result is a figure that is illuminated when viewed from the top or bottom, but is not illuminated when viewed from the side.
single faceset face normals Test browsers implementation of Normal node to IndexedFaceSet faces, by applying a single (+Z) direction perpendicular normal to all faces of a rectangular IndexedFaceSet. Initially the object is illuminated. Rotating the object beyond 90 degrees in any direction causes the geometry to be unlit.
single faceset vertex normals This world tests browser implementation of the Normal node applied to vertices of a rectangular IndexedFaceSet. By applying a +Z Normal to all vertices of the IndexedFaceSet, the object is illuminated only while rotated less than 90 degrees along the X or Y axis. The object is unlit if rotated beyond 90 degrees in either direction.

Online at http://www.web3d.org/x3d/content/examples/ConformanceNist/GeometricProperties/Normal

Master source code archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/ConformanceNist/GeometricProperties/Normal

Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

Also available: current and archived nightly builds and distributions of these examples, all published under an Open-Source License.

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.