Home NurbsPatchSurface
X_ite
Cancel

NurbsPatchSurface

Overview

NurbsPatchSurface defines a contiguous 3D Non-Uniform Rational B-Spline (NURBS) surface.

The NurbsPatchSurface node belongs to the NURBS component and its default container field is geometry. It is available since X3D version 3.0 or later.

Hierarchy

1
2
3
4
5
+ X3DNode
  + X3DGeometryNode
    + X3DParametricGeometryNode
      + X3DNurbsSurfaceGeometryNode
        + NurbsPatchSurface

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFInt32 [in, out] uTessellation (-∞,∞)

Hint for surface tesselation.

SFInt32 [in, out] vTessellation (-∞,∞)

Hint for surface tesselation.

SFBool [ ] uClosed FALSE

Whether opposite surface sides are closed (seamless) across u dimension.

SFBool [ ] vClosed FALSE

Whether opposite surface sides are closed (seamless) across u dimension.

SFBool [ ] solid TRUE

Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).

Hint

  • If in doubt, use solid=’false’ for maximum visibility.

Warning

  • Default value true can completely hide geometry if viewed from wrong side!

SFInt32 [ ] uOrder 3 [2,∞)

Define order of surface by polynomials of degree = order-1.

SFInt32 [ ] vOrder 3 [2,∞)

Define order of surface by polynomials of degree = order-1.

SFInt32 [ ] uDimension [0,∞)

Number of control points in u dimension.

SFInt32 [ ] vDimension [0,∞)

Number of control points in v dimension.

MFDouble [ ] uKnot [ ] (-∞,∞)

Knot vector, where size = number of control points + order of curve.

MFDouble [ ] vKnot [ ] (-∞,∞)

Knot vector, where size = number of control points + order of curve.

MFDouble [in, out] weight [ ] (0,∞)

Vector assigning relative weight value to each control point.

SFNode [in, out] texCoord NULL [X3DTextureCoordinateNode|NurbsTextureCoordinate]

Input/Output field texCoord.

SFNode [in, out] controlPoint NULL [X3DCoordinateNode]

Input/Output field controlPoint.

Example

This post is licensed under CC BY 4.0 by the author.