LS_Mesh : Modifier

LS_Mesh - superclass: modifier; super-superclass:MAXWrapper - classID: #(822551368, 601177968)

Constructor

LS_Mesh ...

lsMesh ...

Properties

<LS_Mesh>.depth Integer default: 0 -- integer

Limit the depth that the mesh modifier will descend the Lightscape refinement when .limitDepth is set to true.

<LS_Mesh>.limitDepth Boolean default: true -- boolean; Limit_Depth

When true, the .depth property is used to limit the depth that the mesh modifier will descend the Lightscape refinement. When false, the mesh modifier will descend to the bottom of the refinement. The default is to limit the subdivision to the original mesh.

<LS_Mesh>.limitSize Boolean default: false -- boolean; Limit_Size

When true, the .size property is used to limit the size of polygons that are refined. When false, the mesh modifier will refine polygons of any size.

<LS_Mesh>.size Float default: 19.685 -- float

Length in the current view units. Polygons smaller than this size squared will not be refined by the modifier when .limitSize is set to true.

Notes

The LS_Mesh Spacewarp Modifier is only applicable to objects of the LightscapeMesh class imported from Lightscape using the Lightscape Solution File Importer.

When a Lightscape scene is imported, the mesh produced by Lightscape doesn’t contain the refinements that Lightscape introduced to improve the lighting. This information is kept and used by the Lightscape Radiosity Material while rendering. This modifier will add these refinements to the Lightscape mesh. In conjunction with the Lightscape vertex color modifier, this modifier can be used to produce meshes suitable for game engines.

The refinement stored in a Lightscape mesh is hierarchical. When a polygon is refined it is broken into four smaller polygons. These polygons can then be refined further. A polygon in the refinement has a depth from the original polygon, which is the number of refinements needed to get from the original polygon to the polygon in question.

The modifier allows you to reduce the number of polygons in the result by limiting the depth to which the modifier will descend and by limiting the size of polygons that will be refined. When both limits are active, a polygon will be refined when both criteria are met.

If the modifier is applied to a Lightscape mesh in Face sub-object selection mode, only the selected faces will be refined.

See also

LS_Colors Spacewarp Modifier

Modifier Common Properties, Operators, and Methods

MAXWrapper Common Properties, Operators, and Methods

Value Common Properties, Operators, and Methods