找回密碼
 注冊帳號

掃一掃,訪問微社區

boneweight 骨骼權重

2015-1-3 18:07| 發布者: 楊炎| 查看: 2317| 評論: 0|原作者: 蠻牛|來自: unity3d腳本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.

第四個骨骼的索引

相關閱讀

文章點評
相關文章
女校游泳队彩金