| 01-08-2006, 08:05 PM | #1 |
Ok I need some help, who helps me gets rep of course . Here's a part of peasant.mdl without faces part.(46 vertices) VertexGroup { 2, 2, 1, 1, 0, 0, 2, 1, 1, 0, 2, 3, 1, 3, 0, 0, 3, 3, 1, 1, 1, 0, 5, 4, 5, 4, 4, 2, 2, 4, 5, 2, 5, 2, 7, 3, 7, 7, 6, 7, 6, 6, 6, 3, 3, 3, } Groups 8 13 { Matrices { 2, 10 }, Matrices { 10 }, Matrices { 10, 11 }, Matrices { 10, 14 }, Matrices { 11 }, Matrices { 11, 12 }, Matrices { 14 }, Matrices { 14, 15 }, } OK now clarify what these means. Correct me: Vertex groups are obvious. Every vertex is listed and v. group he is assigned to. But the matrices part. I know there is assignment vertex group -> bone. What these numbers mean? And how is this applied at bone? |
| 01-08-2006, 08:12 PM | #2 |
no, vertex groups, select the matrices that vertices will follow, matrices say to which bones the vertex linked to the matrice by vertex group, follows (can be more than 1 bone). example: VertexGroup { 2,----> this one links with (bolded-red matrice) 2, 1, 1, 0, 0, 2, ............. Groups 8 13 { Matrices { 2, 10 }, Matrices { 10 }, Matrices { 10, 11 },---> links to the bones of object id 10 and 11 Matrices { 10, 14 }, ................................... |
| 01-08-2006, 08:16 PM | #3 |
Ok... I understand that stuff, even you told it so messy :) REP |
| 01-08-2006, 08:23 PM | #4 |
The numbers of the vertex group correspond to the position of the matrix. Example: Vertex Group { 2, -- corresponds to the matrix position number 2, -- corresponds with Matrix position 2 1, -- corresponds with Matrix position 1 ...... Groups 8 13 { Matrices { 2, 10 }, -- Matrix position 0, links every vertex group labeled 0 to ObjectIds 2 and 10 Matrices { 10 }, -- Matrix position 1, links every vertex group labeled 1 to ObjectId 10 Matrices { 10, 11 }, -- Matrix position 2, links every vertex group labeled 2 to ObjectIds 10 and 11 |
| 01-08-2006, 08:24 PM | #5 |
Too late. But I'll rep you, at least you wrote it little clearer EDIT:I can't rep today. I'll rep you if I won't forget. |
| 01-08-2006, 08:34 PM | #6 |
And to add Code:
Groups 8 13 { |
| 01-08-2006, 08:39 PM | #7 |
No rep for you... you got to much and I hit a limit... :) |
| 01-08-2006, 08:39 PM | #8 |
I'll rep SF then :) |
| 01-08-2006, 08:49 PM | #9 |
OK and rep yourself :D |
