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

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.
Color Per Vertex Examples Geometry Polygons Nodes: Color, Coordinate, IndexedFaceSet, IndexedLineSet, PointSet
Elevation Grid Non Planar Quadrilaterals Show how a single nonplanar quadrilateral can be tesselated in 2 different ways.
Extrusion Cross Section ITSSPrototype Shape prototype for Enclosing IndexedTriangleStripSet that also draws spine line plus oriented, scaled cross sections at each spine point.
Extrusion Cross Section Prototype Shape prototype for Extrusion node that also draws spine line plus oriented, scaled cross sections at each spine point.
Extrusion Pentagon Simple regular pentagon extruded vertically, shown side-by-side with an ExtrusionCrossSection visualization.
Extrusion Pentagon Cross Section Itss Comparison of Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype.
Extrusion Pentagon Cross Section Itss Texture Comparison of Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype for Texture Mapping.
Extrusion Room Walls Wall definition for a room, defined as a cross section and extruded vertically.
Indexed Face Set Example Positive-displacement cylinder pump house built using IndexedFaceSet nodes.
Indexed Line Set Example The way points and path of the animated shark Lucy traversing the tank, using IndexedLineSet node.
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.
Line Set Example The way points and path of the animated shark Lucy traversing the tank, using LineSet node.
Point Set Example Way points for the animated shark Lucy traversing the tank.
X3D Book Website Logo Extrusion of X3D book used for x3dGraphics.com website logo
 Master source-code model archive is under subversion control at https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons

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