Share

Modifier Plug-ins

Object Space Modifiers

Modifiers provide a way to edit an object's parameters and geometry. A modifier derives from the Modifier class.

  • Basic modifiers - \samples\modifiers\basicOps

    Implements the basic mesh editing modifiers.

  • Bone Deformations - \samples\modifiers\bonesdef

    A simple bone deformation plug-in.

  • Camera Map modifiers - \samples\modifiers\cammap

    Implements two modifiers. The Camera Map modifier (object-space version) assigns planar mapping coordinates based on the current frame and the camera specified in the Camera Map modifier. This differs from the Camera Map (WSM) modifier that updates the object's mapping coordinates on each frame.

  • Turn to Mesh / Poly / Patch modifiers - \samples\modifiers\convert

    Implements three conversion modifiers. A Turn To modifier lets you apply object conversions in the modifier stack.

  • Edit Patch modifier - \samples\modifiers\editpatch

    Transforms an object into an editable patch object.

  • Edit Poly modifier - \samples\mesh\EditPoly

    Transforms an object into an editable poly mesh.

  • Edit Mesh modifier - \samples\modifiers\EditMesh

    Transforms an object into an editable mesh.

  • Free Form Deformation modifiers - \samples\modifiers\ffd

    Implements three Free Form Deformation (FFD) modifiers. An FFD modifier surrounds the selected geometry with a lattice. By adjusting the control points of the lattice, you can deform the enclosed geometry.

  • Flex modifier - \samples\modifiers\flex

    Simulates soft-body dynamics using virtual springs between an object's vertices.

  • Melt modifier - \samples\modifiers\melt

    The Melt modifier lets you apply a realistic melting effect to all types of objects, including editable patches and NURBS objects, as well as to sub-object selections passed up the stack.

  • Skin Morph modifier - \samples\modifiers\morphByBone

    The Skin Morph modifier lets you use a bone's rotation to drive a morph.

  • Morpher modifier - \samples\modifiers\morpher

    The Morpher modifier changes the shape of a mesh, patch, or NURBS model.

  • Patch Select modifier - \samples\modifiers\patchSelect

    The Patch Select modifier lets you pass a sub-object selection up the stack to subsequent modifiers. It provides a superset of the selection functions available in the Edit Patch modifier.

  • Point Cache modifier - \samples\modifiers\patchSelect

    The Point Cache modifier lets you store the modifier animation to a disk file that records only changes in the vertex positions, and then play back the animation using the information in the disk file instead of the modifier keyframes.

  • Renderable Spline modifier - \samples\modifiers\renderableSpline

    The Renderable Spline modifier lets you set the renderable properties of a spline object, without collapsing the spline to an editable spline.

  • Skin Wrap modifier - \samples\modifiers\renderableSpline

    The Skin Wrap modifier allows one or more objects to deform another.

  • Shell modifier - \samples\modifiers\Solidify

    Creates solid geometry from a surface.

  • Spherify modifier - \samples\modifiers\spherify

    Projects the vertices of an object onto the surface of a sphere.

  • Spline IK modifier - \samples\modifiers\SplineIKControl

    When applied to a spline, this creates one point helper for each knot in the spline.

  • Stretch modifier - \samples\modifiers\stretch

    Stretch applies a scale effect along a specified stretch axis and an opposite scale along the two remaining minor axes.

  • UVW Unwrap modifier - \samples\modifiers\uvwUnwrap

    A UVW map modifier that unwraps the UVWs onto an image.

  • Vertex Paint modifier - \samples\modifiers\uvwUnwrap

    A modifier for painting on geometry.

  • Various modifiers - \samples\modifiersmods.vcproj

How-to Samples

  • Bend modifier - \howto\Bend

    Implements the Bend modifier. This is identical to bend.cpp that resides in \samples\modifiers folder. This modifier is wrapped in its own Visual Studio project. This sample is a good starting point for learning about modifiers.

  • Stack Boss modifier - \howto\StackBoss

    Shows how you can keep custom attributes persistent even when the modifier stack is collapsed.

World Space Modifiers (Space Warps)

World space modifiers combine a non-rendering object and a modifier that modifies the world-space representation of an object. A world space modifier derives from the class WSModifier.

  • Sine Wave - \samples\modifiers\sinwave.cpp

    The Wave space warp creates a linear wave through world space. It affects geometry and behaves the same as the Wave modifier. The Wave space warp is used when you want the wave to affect a large number of objects, or to affect an object relative to its position in world space.

  • Gravity - \samples\modifiers\gravity.cpp

    The Gravity space warp simulates the effect of natural gravity on particles generated by a particle system. Gravity is directional. Particles moving in the direction of the gravity arrow accelerate, while those moving against the arrow decelerate.

Was this information helpful?