Manual/PartVIII/Lattice Animation

Wikipedia,自由的百科全书

User Manual: Contents | Guidelines | Blender Version 2.31

Lattice Animation 格子动画

Parenting a mesh to a lattice is a nice way to apply deformations to the former while modelling, but it is also a way to make deformations in time!

网格使用格子在模型建模的时候应用变形是一个不错的选择,在这里也可以作变形! You can use Lattices in animations in two ways:

可以在动画中使用格子的2种办法:

  • Animate the vertices with vertex keys (or relative vertex keys);
  • Move the lattice or the child object of the lattice.
  • 利用顶点键制作顶点动画.
  • 移动格子或格子的子物体.

The first technique is basically nothing new than what contained in the previous two sections but applied to a lattice which has an object parented to it. With the second kind you can create animations that squish things between rollers, or achieve the effect of a well-known space ship accelerating to warp-speed. Make a space ship and add a lattice around the ship. make the lattice with the parameters in Lattice setup.

在这里技术上边来说和前边的2个部分没有什么新的,只是在其父物体上添加了一个格子.使用第2种类型,可以使用滚轴之间压扁物体,或完成加速或者加速弯曲的结果.在'格子设置'中设置格子的参数.

Lattice setup
Lattice setup

Select the ship, extend the selection to the lattice (holding SHIFT while selecting), and press CTRL-P to make the lattice the parent of the ship. You should not see any deformation of the ship because the lattice is still regular. For the next few steps it is important to do them in EditMode. So now select the lattice, enter EditMode, select all vertices (AKEY), and scale the lattice along its x-axis (press MMB while initiating the scale) to get the stretch you want. The ship's mesh shows immediately the deformation caused by the lattice (Stretching).

选择飞船,扩充选择到格子(选择时按SHIFT键),按CTRL-P制作格子.飞船的子物体,不会见到飞船的任何变形,因为格子是规则的.在editmode中要做的下边几步是非常重要的.现在选择格子,进入editmode,选择所有的点(AKEY), 顺着格子的x轴向前衡量(按MMB键当衡量开始),到想要的长度.因为格子的(延伸),所以我们会看到飞船网格会突然变形.

Stretching
Stretching

Now edit the lattice in EditMode so that the right vertices have an increasing distance from each other. This will increase the stretch as the ship goes into the lattice. The right ends vertices I have scaled down so that they are nearly at one point; this will cause the vanishing of the ship at the end (Final lattice deformation). Select the ship again and move it through the lattice to get a preview of the animation. Now you can do a normal keyframe animation to let the ship fly through the lattice.

现在在editmode编辑格子,点之间的距离逐渐拉长,飞船进入格子之间的距离增大,最右边的点向下接近一个顶端,这会导致飞船在顶端消失(结束格子变形).再次选择飞船,把它放到格子中预览动画.现在就可以制作一个飞船穿过格子的动画了.

Final lattice deformation
Final lattice deformation
Camera tracking:

With this lattice animation, you can't use the pivot point of the object for tracking or parenting. It will move outside the object. Instead, track an Empty which has an mesh object vertex as a parent.

在格子动画中,不可以使用物体的中心点跟踪或parenting,它将移动到物体以外, To do this, create an Empty. Next, make sure the Empty is selected, then select the mesh object. Press TAB to enter EditMode. Select one vertex from the mesh object. Press CTRL-P to make the vertex the parent of the Empty. Press TAB to get out of EditMode.

Now track the Empty!

如何做,创建一个empty.下一步,确定这个empty被选择,然后选择网格物体.按TAB 进入editmode,选择网格物体上的一个顶点.按CTRL-P创建empty的子顶点,按TAB回objectmode, 现在跟踪empty!

Some frames of the resulting animation.
Some frames of the resulting animation.
Previous: Manual/PartVIII/Relative Vertex Keys Contents Next: Manual/PartIX
Personal tools