OpenSubdiv : Modifier

OpenSubdiv - superclass: modifier; super-superclass:MAXWrapper - 14:0 - classID: #(1942811466, -1698937348)

Exposes the Open Subdiv Modifier to MAXScript. Available in 3ds Max 2016 and higher.

Constructors:

 OpenSubdiv ...
OpenSubdivMod ... 

Properties:

General Controls Rollout

Main Group Of Controls

<OpenSubdiv>.iterations     Integer    default: 1   --  animatable; integer

Gets/sets the value of the "Iterations" spinner.

<OpenSubdiv>.useRenderIterations     BooleanClass    default: false   --  boolean; Use_Render_Iterations

Gets/sets the state of the "Render Iters" checkbox.

<OpenSubdiv>.renderIterations     Integer    default: 0   --  animatable; integer; Render_Iterations

Gets/sets the value of the "Render Iters" spinner.

<OpenSubdiv>.isolineDisplay     BooleanClass    default: true   --  boolean; Isoline_Display

Gets/sets the state of the "Isoline Display" checkbox.

Operating Mode Group Of Controls

<OpenSubdiv>.mode     Integer    default: 0   --  integer

Gets/sets the state of the "Operating Mode" radio buttons.

Possible values are:

0 - Mesh Output (default)

1 - GPU Display

If GPU Display is not supported on the current system, setting this property to a value other than 0 will have no effect.

<OpenSubdiv>.solverType     Integer    default: 0   --  integer

Reserved for future use.

Not exposed to the UI.

OpenSubdiv Controls Rollout

<OpenSubdiv>.vertboundary     Integer    default: 1   --  integer

Gets/sets the selection of the "Vertex Boundary" drop-down list.

Possible values are:

0 - Interp. Edges

1 - Interp. Edges & Corners

<OpenSubdiv>.fvarboundary     Integer    default: 3   --  integer

Gets/sets the selection of the "UV Boundary" drop-down list.

Possible values are:

0 - Bilinear (None)

1 - Smooth (Edge Only)

2 - Smooth (Edge & Corner)

3 - Smooth (Always Sharp)

<OpenSubdiv>.propagatecorners     BooleanClass    default: false   --  boolean

Gets/sets the state of the "Propagate Corners" checkbox.

<OpenSubdiv>.smoothtriangles     BooleanClass    default: true   --  boolean

Gets/sets the state of the "Smooth Triangles" checkbox.

<OpenSubdiv>.creasemethod     Integer    default: 0   --  integer

Gets/sets the selection of the "Creases" drop-down list.

Possible values are:

0 - Normal

1 - Chaikin

Adaptive Subdivision Group Of Controls

<OpenSubdiv>.adaptive     BooleanClass    default: false   --  boolean

Gets/sets the state of the "Adaptive" checkbutton.

<OpenSubdiv>.adaptiveIterations     Integer    default: 1   --  integer

Gets/sets the value of the "Max. Iterations" spinner.

Mesh Controls Rollout

<OpenSubdiv>.update     Integer    default: 0   --  integer; Update_Options

Gets/sets the state of the "Update Options" radio buttons.

Possible values are:

0 - Always

1 - When Rendering

2 - Manual

OpenSubdiv interfaces:

Interface: OSDModOps

Properties:

No properties exposed.

Methods:

<void>GPUTestWindow()

Actions:

No actions exposed.