Skip to main content
GameDev.net gamedev.net
🔒 Locked 🎮 Unity

UpdateSkinnedMesh inside

Started by gekisai Feb 21, 2009 at 5:27 AM 0 replies 900+ views
Original Post
gekisai
gekisai
Good day everybody! I have a small question to Direct X experts. Can you tell me, ladies and gentleman, what the method UpdateSkinnedMesh is doing? I mean, how. :) For example, it uses a set of parameters: pMesh->pSkinInfo->UpdateSkinnedMesh(pMesh->pBoneMatrices, NULL, SrcPtr, DestPtr); Where SrcPtr, DestPtr are a source and destignation vertex buffers, and pBoneMatrices is an array of transform matrices, everyone of it is calculated by multiplying bone offset matrix to combined transform matrix of each bone. I just know what is doing that function, but I want to know how. Because I want to make my own function to obtain the same result. What is doing inside the function? For example, how are using the bone weights for every vertex? It's very important for my Direct3D understanding, but the msdn documentation is so poor... It will be fine if I will receive an answer. Excuse my bad English. :) Igor, Moscow. Russia

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.