X3D Example Archives: X3D4WA, X3D for Web Authors, Chapter 06 Geometry Points Lines Polygons


Color Per Vertex Examples

Numerous X3D nodes are available for presenting points, lines, and a variety of polygonal meshes.

Many kinds of geometry can be created using PointSet, LineSet, IndexedLineSet, IndexedFaceSet, ElevationGrid and Extrusion nodes. Each is placed individually inside a Shape node.

Geometric properties are controlled by Color, ColorRGBA, Coordinate, CoordinateDouble, Normal, TextureCoordinate, TextureCoordinateGenerator and MultiTextureCoordinate nodes.

The supporting Chapter 6 slideset and course videos (NPS, YouTube) for X3D for Web Authors are available online via X3dGraphics.com.

Also available: X3D Scene Authoring Hints: Meshes.

  15 X3D Models       X3D Model Descriptions
   Color Example Vertex color applied to IndexedFaceSet built positive-displacement cylinder pump house. Note that this scene is not really static because the PositionInterpolators contain an initial offest of the piston and rocker arm.
   ColorPerVertexExamples Color Per Vertex Examples Geometry Polygons Nodes: Color, Coordinate, IndexedFaceSet, IndexedLineSet, PointSet
   ElevationGridNonPlanarQuadrilaterals Elevation Grid Non Planar Quadrilaterals Show how a single nonplanar quadrilateral can be tesselated in 2 different ways.
   ExtrusionCrossSectionITSSPrototype Extrusion Cross Section ITSSPrototype Shape prototype for Enclosing IndexedTriangleStripSet that also draws spine line plus oriented, scaled cross sections at each spine point.
   ExtrusionCrossSectionPrototype Extrusion Cross Section Prototype Shape prototype for Extrusion node that also draws spine line plus oriented, scaled cross sections at each spine point.
   ExtrusionPentagon Extrusion Pentagon Simple regular pentagon extruded vertically, shown side-by-side with an ExtrusionCrossSection visualization.
   ExtrusionPentagonCrossSectionItss Extrusion Pentagon Cross Section Itss Comparison of Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype.
   ExtrusionPentagonCrossSectionItssTexture Extrusion Pentagon Cross Section Itss Texture Comparison of Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype for Texture Mapping.
   ExtrusionRoomWalls Extrusion Room Walls Wall definition for a room, defined as a cross section and extruded vertically.
   IndexedFaceSetExample Indexed Face Set Example Positive-displacement cylinder pump house built using IndexedFaceSet nodes.
   IndexedLineSetExample Indexed Line Set Example The way points and path of the animated shark Lucy traversing the tank, using IndexedLineSet node.
   LineSetComparison Line Set Comparison A simple wireframe cube, comparing two functionally equivalent nodes: IndexedLineSet (per-vertex coloring) with LineSet (per-segment coloring). Keeping track of how each node "connects the dots" is simply a book-keeping problem.
   LineSetExample Line Set Example The way points and path of the animated shark Lucy traversing the tank, using LineSet node.
   PointSetExample Point Set Example Way points for the animated shark Lucy traversing the tank.
   X3dBookWebsiteLogo X3D Book Website Logo Extrusion of X3D book used for x3dGraphics.com website logo

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