|
|
#1 |
|
User
Join Date: Oct 2011
Posts: 12
|
In mdl file, Vertex is controlled by bones, vertex -> vertex group -> corresponding bone groups -> bone,
Vertex = { Position, Normal , UV, vertex group, bones groups} from vertex group to bone groups Bone group, Matrices{ 0 }, 0 means bone with ObjectID = 1, which means this vertex is controlled by bone (with ObjectID = 1) matrix. Sometimes, there are two or more elements in Matrices, for example Matrices{ 0, 1} How does it works in this situation? Does a vertex is controlled by two or more bones? If yes, where is the weight? |
|
|
|
| Sponsored Links - Login to hide this ad! |
|
|
|
|
#2 |
|
My vision is augmented
MDL & Resource Moderator
|
The weight is proportional to the number of vertices; so 0, 1 means a 50/50 split. 0, 1, 2 would get you 33/33/33, and so on. There is no direct way to specify weight, though I wouldn't discount the possiblity of 0, 0, 0, 1 working to get a 75/25...
__________________ |
|
|
|
|
|
#3 |
|
User
Join Date: Oct 2011
Posts: 12
|
Thanks, it explains well. Let me make it be implemented in codes.
Last edited by bendaowei : 11-09-2011 at 03:29 AM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
|
Donate |