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

X3D Example Archives: VRML 2 Sourcebook, Chapter 15 Extrusion

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.

Figure 15.10 Extruded Room With Axes
  21 X3D Models       X3D Model Descriptions
Figure15_07ExtrudedCylinder Figure 15 07 Extruded Cylinder An extruded cylinder built using a circular cross section swept along a straight spine.
Figure15_08ExtrudedHalfCylinderWithCaps Figure 15 08 Extruded Half Cylinder With Caps An extruded half cylinder built using half of a circular cross section swept along a straight spine. Also see Figure 15.9 for comparison.
Figure15_08ExtrudedHalfCylinderWithCapsWithAxes Figure 15 08 Extruded Half Cylinder With Caps With Axes An extruded half cylinder built using half of a circular cross section swept along a straight spine. Also see Figure 15.9 for comparison.
Figure15_09ExtrudedHalfCylinderWithoutCaps Figure 15 09 Extruded Half Cylinder Without Caps An extruded half cylinder with its beginning and ending caps turned off. Also see Figure 15.8 for comparison.
Figure15_09ExtrudedHalfCylinderWithoutCapsWithAxes Figure 15 09 Extruded Half Cylinder Without Caps With Axes An extruded half cylinder with its beginning and ending caps turned off. Also see Figure 15.8 for comparison.
Figure15_10ExtrudedRoom Figure 15 10 Extruded Room An extruded room using a floor plan as the cross section.
Figure15_10ExtrudedRoomWithAxes Figure 15 10 Extruded Room With Axes An extruded room using a floor plan as the cross section.
Figure15_11ExtrudedPlaygroundSlide Figure 15 11 Extruded Playground Slide A playground slide built by extruding a half-circle cross section along a helical spine.
Figure15_11ExtrudedPlaygroundSlideWithAxes Figure 15 11 Extruded Playground Slide With Axes A playground slide built by extruding a half-circle cross section along a helical spine.
Figure15_12Torus Figure 15 12 Torus A torus built using a circular cross section swept along a circular spine.
Figure15_12TorusWithAxes Figure 15 12 Torus With Axes A torus built using a circular cross section swept along a circular spine.
Figure15_13ExtrudedPyramid Figure 15 13 Extruded Pyramid A pyramid built by scaling a square cross section to 0.01 at the pyramid apex.
Figure15_13ExtrudedPyramidWithAxes Figure 15 13 Extruded Pyramid With Axes A pyramid built by scaling a square cross section to 0.01 at the pyramid apex.
Figure15_14ExtrudedVase Figure 15 14 Extruded Vase A vase built by scaling a circular cross section at each coordinate along a straight spine.
Figure15_14ExtrudedVaseWithAxes Figure 15 14 Extruded Vase With Axes A vase built by scaling a circular cross section at each coordinate along a straight spine.
Figure15_15TwistedBar Figure 15 15 Twisted Bar A bar twisted using Y-axis, cross-section rotation at each spine coordinate.
Figure15_15TwistedBarWithAxes Figure 15 15 Twisted Bar With Axes A bar twisted using Y-axis, cross-section rotation at each spine coordinate.
Figure15_16ExtrudedLipstick Figure 15 16 Extruded Lipstick A lipstick shape created by rotating a circular cross section about the X axis as it is extruded.
Figure15_16ExtrudedLipstickWithAxes Figure 15 16 Extruded Lipstick With Axes A lipstick shape created by rotating a circular cross section about the X axis as it is extruded.
Figure15_17WigglingSnake Figure 15 17 Wiggling Snake A wiggling snake whose spine is animated using a CoordinateInterpolator node.
Figure15_17WigglingSnakeWithAxes Figure 15 17 Wiggling Snake With Axes A wiggling snake whose spine is animated using a CoordinateInterpolator node.

Online at https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion

Validate XHTML 1.1

Master source-code model archive is under subversion control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion

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

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