利用者:Elbrujodelatribu/Doc:2.6/Manual/Modifiers/Deform/Cast

提供: wiki
移動先: 案内検索

Cast Modifier

Mode: Any mode

Panel: Modifiers

Description

This modifier shifts the shape of a mesh, curve, surface or lattice to any of a few pre-defined shapes (sphere, cylinder, cuboid).

It is equivalent to the To Sphere tool in the Editing context (Mesh ? Transform ? To Sphere Alt⇧ ShiftS) and what other programs call “Spherify” or “Spherize”, but, as written above, it is not limited to casting to a sphere.

Hint
The Smooth modifier is a good companion to Cast, since the casted shape sometimes needs smoothing to look nicer or even to fix shading artifacts.


Important
For performance, this modifier works only with local coordinates. If the modified object looks wrong, you may need to apply the object’s rotation (CtrlA), specially when casting to a cylinder.


Options

cast modifier
Cast Type
Menu to choose cast type (target shape): Sphere, Cylinder or Cuboid.
X, Y, Z
Toggle buttons to enable/disable the modifier in the X, Y, Z axes directions (X and Y only for Cylinder cast type).
Factor
The factor to control blending between original and cast vertex positions. It’s a linear interpolation: 0.0 gives original coordinates (aka modifier has no effect), 1.0 casts to the target shape. Values below or above [0.0, 1.0] deform the mesh, sometimes in interesting ways.
Radius
If non-zero, this radius defines a sphere of influence. Vertices outside it are not affected by the modifier.
Size
Alternative size for the projected shape. If zero, it is defined by the initial shape and the control object, if any.
From radius
If activated, calculate Size from Radius, for smoother results.
Vertex Group
A vertex group name, to restrict the effect to the vertices in it only. This allows for selective, realtime casting, by painting vertex weights.
Control Object
The name of an object to control the effect. The location of this object’s center defines the center of the projection. Also, its size and rotation transform the projected vertices. Hint: animating (keyframing) this control object also animates the modified object.


Examples

Top: Suzanne without modifiers. Middle: Suzanne with each type of Cast Modifier (Sphere, Cylinder and Cuboid). Bottom: Same as above, but now only X axe is enabled.
Sample blend file