Package Vrml2Sourcebook.Chapter15Extrusion
Extrusion geometry is defined by a 2D cross-section that is stretched and rotated around a central spine.
Extruded shapes are very common: tubes, pipes, bars, vases, donuts, and other tricky uses. An Extrusion node efficiently creates extruded shapes. The crossSection field specifies the cross-section, and the spine field specifies the sweep path. The scale and orientation fields specify scaling and rotation at each spine point.
These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.
This X3D VRML2 Sourcebook Chapter 15 Extrusion examples archive is online.
The X3D Java Scene Access Interface (x3djsail) package provides concrete classes for each X3D node and statement.
Online: X3D Java Scene Access Interface Library (X3DJSAIL) and X3DJSAIL Javadoc
- See Also:
-
ClassDescriptionAn extruded cylinder built using a circular cross section swept along a straight spine.An extruded half cylinder built using half of a circular cross section swept along a straight spine.An extruded half cylinder built using half of a circular cross section swept along a straight spine.An extruded half cylinder with its beginning and ending caps turned off.An extruded half cylinder with its beginning and ending caps turned off.An extruded room using a floor plan as the cross section.An extruded room using a floor plan as the cross section.A playground slide built by extruding a half-circle cross section along a helical spine.A playground slide built by extruding a half-circle cross section along a helical spine.A torus built using a circular cross section swept along a circular spine.A torus built using a circular cross section swept along a circular spine.A pyramid built by scaling a square cross section to 0.01 at the pyramid apex.A pyramid built by scaling a square cross section to 0.01 at the pyramid apex.A vase built by scaling a circular cross section at each coordinate along a straight spine.A vase built by scaling a circular cross section at each coordinate along a straight spine.A bar twisted using Y-axis, cross-section rotation at each spine coordinate.A bar twisted using Y-axis, cross-section rotation at each spine coordinate.A lipstick shape created by rotating a circular cross section about the X axis as it is extruded.A lipstick shape created by rotating a circular cross section about the X axis as it is extruded.A wiggling snake whose spine is animated using a CoordinateInterpolator node.A wiggling snake whose spine is animated using a CoordinateInterpolator node.