Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

X3D Example Archives: Conformance Nist, Geometry, Extrusion

X3D Scenes Descriptions
2500points This test attempts to draw an Extrusion using the minimum required number of points. The number of points in crossSection * number of points in spine <= 2500 (100 * 25 = 2500). The test should generate a "U" shaped like extrusion.
default - extru This test attempts to draw an Extrusion using mostly default values. The test should generate a box of size 1.
test - begcap This test attempts to draw an Extrusion using mostly default values. The test should generate an extruded circle with radius 2 and no begin cap.
test - begendcap This test attempts to draw an Extrusion using mostly default values. The test should generate an extruded circle with radius 2 and no begin and ending caps.
test - ccw This test attempts to draw an Extrusion using mostly default values. The test should generate an extruded circle with radius 2 and no begin cap.
test - convex This test attempts to test the convex field of an Extrsusion. A convex Extrusion is drawn with the "convex" figure set to false. The Extrusion should be rendered as a creased cylinder-shaped object.
test - crease Angle This test attempts to draw an open Extrusion (end and beginning crossSection values are not the same). The test should generate an extruded (extruded along the Y axis) circle of radius 1 with no beginning or end caps.
test - endcap This test attempts to draw an Extrusion using mostly default values. The test should generate an extruded circle of radius 2 and no end cap.
test - fullorient This test sets a different (and incremental) orientation value for each point in the spine field. The test should generate a twisted square extruded along the Y axis.
test - multscaling This test draws an Extruded circle of radius one along the Y axis. A different scale factor is applied to each point in the spine field. The test should generate an extruded circle that looks like a champange cope.
test - openextru This test attempts to draw an open Extrusion (end and beginning crossSection values are not the same). The test should generate an extruded (extruded along the Y axis) circle of radius 1 with no beginning or end caps.
test - simpleorient This test sets the same orientation value for all the points in the spine field. The test should generate the default square extruded along a straight line and with an orientation of 1.1 radians along the X axis.
test - simplescaling This test draws the same extruded circle twice. The one most to the right is scaled by a factor of two. No scaling is applied to the extruded circle most to the left.
test - solid This test draws the same open Extrusion twice with different value for the solid field for each one. The extrusion at the top contains a solid field set to false while the one at the bottom sets the solid field to true. This should cause the bottom extrusion be drawn with no backface.
test - texture This test attempts to map the VTS logo to an extruded circle.
test - XYZextrusion This test attempts to draw an Extrusion using a spine path along the X, Y and Z directions. The test should generate an extruded circle of radius 1 extruded along different directions and with no end or beginning caps.
test - YZextrusion This test attempts to draw an Extrusion with spine values along the Y and Z axis. The test should generate an "elbow" like figure with no end or beginning caps.

Online at http://www.web3d.org/x3d/content/examples/ConformanceNist/Geometry/Extrusion

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

Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details 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.