Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhehaoli1999 authored May 17, 2024
1 parent 2523a87 commit 555b598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Homeworks/10_character_animation/documents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $$
\widetilde{\mathbf{x}} = \sum_i^n w_i \mathbf{T}_i \mathbf{B}_i^{-1} \widetilde{\mathbf{x}}^0
$$

其中 $\mathbf{T}_i$ 和 $\mathbf{B}_i$ 分别为第 $i$ 个关节的 `worldTransform``bindTransform`, $n$ 为对顶点 $\mathbf{x}$ 产生影响的关节数 (需要通过`jointIndices`的长度除以顶点数得到),$\widetilde{\mathbf{x}} = [\vec{\mathbf{x}}, 1] \in \mathbb{R}^{4 \times 1}$ 。
其中 $\mathbf{T}_i$ 和 $\mathbf{B}_i$ 分别为第 $i$ 个关节的 `worldTransform``bindTransform`, $n$ 为对顶点 $\mathbf{x}$ 产生影响的关节数 (需要通过`jointIndices`的长度除以顶点数得到), $\widetilde{\mathbf{x}} = [\vec{\mathbf{x}}, 1] \in \mathbb{R}^{4 \times 1}$

这里4x4矩阵对3维向量的变换可以使用`GfMatrix4f``TransformAffine` 函数实现。

Expand Down

0 comments on commit 555b598

Please sign in to comment.