wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Artist's Corner > Model & .Mdl Editing Corner
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 11-08-2011, 10:39 AM   #1
bendaowei
User
 
Join Date: Oct 2011
Posts: 12

bendaowei has little to show at this moment (0)

Default MDL Animation, Vertex and groups

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?
bendaowei is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 11-08-2011, 05:36 PM   #2
Rao Dao Zao
www.raodaozao.net
 
Rao Dao Zao's Avatar


MDL & Resource Moderator
 
Join Date: Aug 2003
Posts: 2,440

Submissions (27)

Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)

Approved Map: When the Freedom Slips Away

Send a message via MSN to Rao Dao Zao
Default

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...
__________________
Rao Dao Zao is offline   Reply With Quote
Old 11-09-2011, 03:28 AM   #3
bendaowei
User
 
Join Date: Oct 2011
Posts: 12

bendaowei has little to show at this moment (0)

Default

Thanks, it explains well. Let me make it be implemented in codes.

Last edited by bendaowei : 11-09-2011 at 03:29 AM.
bendaowei is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 12:06 PM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services