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
   ColorExample 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 ColorPerVertexExamples Geometry Polygons Nodes: Color, Coordinate, IndexedFaceSet, IndexedLineSet, PointSet
   ElevationGridNonPlanarQuadrilaterals ElevationGridNonPlanarQuadrilaterals Show how a single nonplanar quadrilateral can be tesselated in 2 different ways.
   ExtrusionCrossSectionITSSPrototype ExtrusionCrossSectionITSSPrototype Shape prototype for Enclosing IndexedTriangleStripSet that also draws spine line plus oriented, scaled cross sections at each spine point.
   ExtrusionCrossSectionPrototype ExtrusionCrossSectionPrototype Shape prototype for Extrusion node that also draws spine line plus oriented, scaled cross sections at each spine point.
   ExtrusionPentagon ExtrusionPentagon Simple regular pentagon extruded vertically, shown side-by-side with an ExtrusionCrossSection visualization.
   ExtrusionPentagonCrossSectionItss ExtrusionPentagonCrossSectionItss Comparison of Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype.
   ExtrusionPentagonCrossSectionItssTexture ExtrusionPentagonCrossSectionItssTexture Comparison of Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype for Texture Mapping.
   ExtrusionRoomWalls ExtrusionRoomWalls Wall definition for a room, defined as a cross section and extruded vertically.
   IndexedFaceSetExample IndexedFaceSetExample Positive-displacement cylinder pump house built using IndexedFaceSet nodes.
   IndexedLineSetExample IndexedLineSetExample The way points and path of the animated shark Lucy traversing the tank, using IndexedLineSet node.
   LineSetComparison LineSetComparison 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 LineSetExample The way points and path of the animated shark Lucy traversing the tank, using LineSet node.
   PointSetExample PointSetExample Way points for the animated shark Lucy traversing the tank.
   X3dBookWebsiteLogo X3dBookWebsiteLogo Extrusion of X3D book used for x3dGraphics.com website logo

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