SI_PatchSurface

Defines a patch.

A patch is a surface defined by splines (Linear, Bézier, Cardinal, or B-Spline curves) in the U and V dimensions. Each dimension can use a different spline type. For example, a patch can be Linear in the U dimension and Cardinal in the V dimension.

 

This template corresponds to the CSLPatchSurface class.

Limitations

Softimage does not export this template. If a dotXSI file contains this template, Softimage converts the patch to a null object.

Introduced

1.3

Members

Member name

Type

Array Size

Description

uvType

array int

2

Types of spline in U and V:

0 = Linear
1 = Bézier
2 = Cardinal
3 = B-Spline

uvTension

array float

2

Surface tensions in U and V (applies only to patches that are Cardinal in the U or V dimension).

uvClosed

array BOOLEAN

2

TRUE if surface is closed in the corresponding UV direction.

nbControlPoints

array int

3

- Total number of control points.

- Number of control points in U.

- Number of control points in V.

controlPoints

array Vector

nbControlPoints[0]

Patch control points.

Nested Templates

SI_Material

SI_Texture2D

SI_SubelementUserDataVertex_<userDataTag>

SI_ShapeAnimation (v2.0 only)

Comments

When a B-Spline patch is open in U or V, there are two extra control points in each open dimension. These extra control points are “phantom” keys used to define the interpolation of the surface at the beginning and end of the surface in each dimension.



Autodesk Softimage v7.5