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

X3D Example Archives: Basic, NURBS

Fred the Bunny

Non-Uniform Rational B-Spline (NURBS) provide a parametric mathematical model for generating and representing smooth curves and surfaces.

Non-Uniform Rational B-Spline (NURBS) provide a convenient and efficient manner to generate curved lines and surfaces which can be smooth at any viewing distance. Since these surfaces are generated parametrically, only a small amount of data need be provided for describing complex surfaces. These examples support the X3D NURBS component.

These capabilities hold significant potential value for use by the Computer Aided Design (CAD) and Medical working groups.
  23 X3D Scenes       Scene Descriptions
AnimatedNurbsPatchSurfaceHead Animated Nurbs Patch Surface Head Example of animating controlPoint to simulate facial expressions - read my lips (pretty creepy!)
FourDucks Four Ducks Nurbs exemplar using NurbsPatchSurface that shows four duck models
FredTheBunny Fred The Bunny NURBS exemplar created using X3D NURBS Export Plugin for Maya.
HoleCentered Hole Centered A NurbsTrimmedSurface node rendering a square centered on the origin in the x-y plane; with sides 8 units length. A trimming curve is used to cut out a circle of radius 1 unit centered on the origin. Red (x), Green (y) and Blue (z) line segments represent the x-y-z unit axes.
HoleLargeOffset Hole Large Offset A NurbsTrimmedSurface node rendering a square centered on the origin in the x-y plane; with sides 8 units length. A trimming curve is used to cut out a circle of radius 1 unit centered at the point (x,y)=(2,2) . Red (x), Green (y) and Blue (z) line segments represent the x-y-z unit axes.
HoleSmallOffset Hole Small Offset A NurbsTrimmedSurface node rendering a square centered on the origin in the x-y plane; with sides 8 units length. A trimming curve is used to cut out a circle of radius 1 unit centered at the point (x,y)=(1,1) . Red (x), Green (y) and Blue (z) line segments represent the x-y-z unit axes.
HurricaneLantern Hurricane Lantern NURBS model created using X3D NURBS Export Plugin for Maya.
MobiusNurbs Mobius Nurbs Demonstrates 3 NurbsSurfacePatch nodes defining the outer boundary of a toroidal solid.
NurbsCurveExample Nurbs Curve Example NurbsCurve exemplar showing controlPoint animation. Upper example has knot values explicitly defined, lower example has implicit knot values.
NurbsExternPrototypes Nurbs Extern Prototypes Non-Uniform Rational B-Spline (NURBS) external prototype definitions, used for building VRML 97 signatures for inclusion in X3dToVrml97 conversion stylesheet.
NurbsPatch Nurbs Patch This scene contains a single NurbsPatchSurface rendering one-quarter of a cylindrical segment. The "solid" field of the surface is set false for so that surface is visible from both sides. Surface has semi-transparent material appearance. Scene also contains unit-length line segments defining x-y-z coordinate axes. Defined Viewpoints show the inner and outer sides of the cylindrical surface
NurbsPatchImageTexture Nurbs Patch Image Texture A NURBS patch representing a segment of a cylinder. An applied image texture depicts the u-v axes of the parametric coordinate system. Defined Viewpoints show the inner and outer sides of the cylindrical surface
NurbsPatchSolid Nurbs Patch Solid This scene contains a single NurbsPatchSurface rendering one-quarter of a cylindrical segment. The "solid" field of the surface is set true for single-sided rendering, and Nurbs coordinates are oriented so that the outer surface of the cylinder is visible. Surface has semi-transparent material appearance. Scene also contains unit-length line segments defining x-y-z coordinate axes. Defined Viewpoints show the inner and outer sides of the cylindrical surface
NurbsPatchSurfaceExample Nurbs Patch Surface Example Animated NURBS patch
NurbsPatchSurfaceExampleLarge Nurbs Patch Surface Example Large Animated NURBS patchype
NurbsPatchSurfaceExampleWithOahuTexture Nurbs Patch Surface Example With Oahu Texture ImageTexture applied to animated NURBS patch using NurbsPatchSurface. Compare regular animation rendering to wireframe-mode rendering (if supported by X3D/VRML browser) in order to observe dynamic tessellation.
NurbsPositionInterpolatorExample Nurbs Position Interpolator Example Example of animating a ball along a NurbsCurve.
NurbsPrototypes Nurbs Prototypes Non-Uniform Rational B-Spline (NURBS) prototype definitions.
NurbsTrimmedSurface Nurbs Trimmed Surface This scene contains a single NurbsTrimmedSurface rendering one-quarter of a cylindrical segment; with a triangular notch cut from one edge. The "solid" field of the surface is set false so surface is visible from both sides. Surface has semi-transparent material appearance. Scene also contains unit-length line segments defining x-y-z coordinate axes. Defined Viewpoints show the inner and outer sides of the cylindrical surface
StampX3dLetters Stamp X3D Letters A CAD model of a stamp with raised lettering. Model was created using commercial CAD package: Ashlar-Vellum Argon; exported as STEP AP 203 data, and converted to X3D file using the online STEP browser at http://spri2.kshell.com website. Colors were applied using Python-Prolog scripting.
StampX3dLettersHalloween Stamp X3D Letters Halloween A CAD model of a stamp with raised lettering. Model was created using commercial CAD package: Ashlar-Vellum Argon; exported as STEP AP 203 data, and converted to X3D file using the online STEP browser at http://spri2.kshell.com. Colors were applied using Python-Prolog scripting.
TrimmedNurbsWithHole Trimmed Nurbs With Hole Scene contains a single NurbsTrimmedSurface node which has two Contour2D child nodes, defining a trimmed outer boundary to the patch and an interior hole in the patch. Scene also contains unit-length line segments defining x-y-z coordinate axes.
TrimmingContourExample Trimming Contour Example Simple example demonstrating NURBS trimming contour content model.

Online at http://www.web3d.org/x3d/content/examples/Basic/NURBS

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/Basic/NURBS

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.