Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated .java source Next Chapter Summary X3D Resources

X3D Example Archives: X3D for Web Authors, Chapter 02 Geometry Primitives


Geometry Primitives

Shape nodes can contain one geometry node and one Appearance node. Geometry primitives include the Box, Cone, Cylinder, Sphere and Text nodes. Each is placed individually inside a Shape node.

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

  9 X3D Scenes       Scene Descriptions
Box Box Box geometric primitive node.
Cone Cone Cone geometric primitive node.
Cylinder Cylinder Cylinder geometric primitive node.
GeometryPrimitiveNodes Geometry Primitive Nodes Geometry Primitive Nodes: Shape, Box, Cone, Cylinder, Sphere, Text, FontStyle
GeometryPrimitiveNodesWhiteBackground Geometry Primitive Nodes White Background Geometry Primitive Nodes: Shape, Box, Cone, Cylinder, Sphere, Text, FontStyle
Sphere Sphere Sphere geometric primitive node.
Text Text Simple Text node: hello X3D!
TextLengthMaxExtent Text Length Max Extent Simple Text node, illustrating length array and maxExtent field
TextSpecialCharacters Text Special Characters Text node demonstration of quotation, apostrophe, ampersand and backslash characters using X3D MFString escaping for XML character entities

Online at http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter02GeometryPrimitives

Validate XHTML 1.1

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

Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated .java source Next Chapter Summary 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.