# TAILIEUCHUNG - Character Animation with Direct3D- P10

## Character Animation with Direct3D- P10:This book is primarily aimed at teaching indie and hobby game developers how to create character animation with Direct3D. Also, the seasoned professional game developer may find some interesting things in this book. You will need a solid understanding of the C++ programming language as well as general object-oriented programming skills. | This page intentionally left blank lease purchase PDF Split-Merge on to remove this watermark. 8 Morphing Animation So far this book has looked only at skeletal animation. In today s games this method is used almost exclusively to animate the game characters movements. However it wasn t always so. For example the first Quake game used characters animated using morphing animation instead. This chapter covers the basics of morphing animation also known as per-vertex animation . This concept will also be taken one step further by combining morphing animation with skeletal animation In this chapter you ll find Introduction to morphing animation Morphing animation on the GPU with vertex shaders Combining morphing animation with skeletal animation 167 sase purchase PDF Split-Merge on to remove this watermark. 168 Character Animation with Direct3D Basics of Morphing Animation In skeletal animation each vertex was linked to one or more bones with associated weights. In morphing animation however two or more positions are stored per vertex and are simply blended using linear interpolation LERP . Each predefined vertex position is called a morph target. Once you have a list of morph targets you can blend between them using weights just as in skeletal animation as shown in the following formula vi xp yv Zx v2 x2 y2 z2 v v2 p vx 1 - p The equation above describes how to create a blended vertex v between the two morph targets vx and v2 using simple LERP . This same example is also illustrated in Figure where a new vertex position is calculated with a weight of 32 FIGURE Blending the position of a single vertex using two morph targets and one weight. In the same way the position of the vertex is animated you can also animate the vertex normal UV coordinates etc. The following code is an excerpt from Example where a morphed mesh is created from two target meshes. A morphed mesh is created from two target meshes by performing the blend .

TÀI LIỆU LIÊN QUAN
28    19    0
32    18    0
32    21    0
32    21    0
32    20    0
32    19    0
32    19    0
32    18    0
32    14    0
24    19    0
TÀI LIỆU XEM NHIỀU
24    2442    9
8    2074    6
29    1939    10
165    1768    1
2    1718    1
64    1681    4
35    1674    7
1    1620    4
15    1609    0
14    1567    1
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
2    6    0    24-09-2020
7    6    0    24-09-2020
1    6    0    24-09-2020
31    7    1    24-09-2020
7    8    0    24-09-2020
6          24-09-2020
71    4    0    24-09-2020
9    3    0    24-09-2020
158    14    0    24-09-2020
7    7    0    24-09-2020
TÀI LIỆU HOT
580    1305    122
171    679    89
21    186    57
116    81    56
51    256    49
16    231    45
8    116    40
17    134    37
9    10    34
34    48    34