boneweight 骨骼权重

2015-1-3 18:07| 发布者: 杨炎| 查看: 1934| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: boneweight 骨骼权重structskinning bone weights of a vertex in the mesh.网格中一个顶点的蒙皮骨骼权重。each vertex is skinned with up to four bones. all weights should sum up to one. weights and bone in ...

boneweight 骨骼权重

struct

skinning bone weights of a vertex in the mesh.

网格中一个顶点的蒙皮骨骼权重。

each vertex is skinned with up to four bones. all weights should sum up to one. weights and bone indices should be defined in the order of decreasing weight. if a vertex is affected by less than four bones, the remaining weights should be zeroes.

每一个被蒙皮的点最多有4个骨骼。所有权重的和应该为1。权重和骨骼索引应该以权重递减的顺序定义。如果一个顶点被少于四个骨骼影响,剩下的权重应该为0。

参考:mesh.boneweights变量.

variables变量

weight0

skinning weight for first bone.

第一个骨骼的蒙皮权重。

weight1

skinning weight for second bone.

第二个骨骼的蒙皮权重。

weight2

skinning weight for third bone.

第三个骨骼的蒙皮权重

weight3

skinning weight for fourth bone.

第四个骨骼的蒙皮权重

boneindex0

index of first bone.

第一个骨骼的索引

boneindex1

index of second bone.

第二个骨骼的索引

boneindex2

index of third bone.

第三个骨骼的索引

boneindex3

index of fourth bone.

第四个骨骼的索引

相关阅读

文章点评
相关文章