## X3D Example Archives: Basic, NURBS

 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 Models       X3D Model Descriptions
Animated Nurbs Patch Surface Head Example of animating controlPoint to simulate facial expressions - read my lips (pretty creepy!)
Four Ducks Nurbs exemplar using NurbsPatchSurface that shows four duck models
Fred The Bunny NURBS exemplar created using X3D NURBS Export Plugin for Maya.
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.
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.
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.
Hurricane Lantern NURBS model created using X3D NURBS Export Plugin for Maya.
Mobius Nurbs Demonstrates 3 NurbsSurfacePatch nodes defining the outer boundary of a toroidal solid.
Nurbs Curve Example NurbsCurve exemplar showing controlPoint animation. Upper example has knot values explicitly defined, lower example has implicit knot values.
Nurbs Extern Prototypes Non-Uniform Rational B-Spline (NURBS) external prototype definitions, used for building VRML 97 signatures for inclusion in X3dToVrml97 conversion stylesheet.
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
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
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
Nurbs Patch Surface Example Animated NURBS patch
Nurbs Patch Surface Example Large Animated NURBS patchype
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.
Nurbs Position Interpolator Example Example of animating a ball along a NurbsCurve.
Nurbs Prototypes Non-Uniform Rational B-Spline (NURBS) prototype definitions.
Nurbs Trimmed Surface Example 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
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.
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.
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.
Trimming Contour Example Simple example demonstrating NURBS trimming contour content model.
 Master source-code model archive is under subversion control at https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/NURBS

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