Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 21st, 2012, 12:16 AM
Edward_Two Edward_Two is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 1 Edward_Two User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 31 sec
Reputation Power: 0
Skeleton Matrices [solved]

I'm attempting to animate a skinned mesh with joints. I have looked at many different materials, and something isn't right with my understanding. All of my nodes hold a local and global matrix. When I load in the joints, I calculate the inverse pose matrix like so:

Pose Matrix = Mesh's Inverse Global * Joint Global
Inverse Pose Matrix = Inverse of Pose Matrix

Then when my joints are updated, I calculate the joint in mesh space and multiply it with the inverse pose matrix.

Joint wrt Mesh = Mesh's Inverse Global * Joint Global
Deform Matrix = Joint wrt Mesh * Inverse Pose Matrix

I uploaded the following video files to demonstrate what is happening to my mesh. Please add http to the start of the links.

Source animation..
____://tinypic.com/r/ncmnpj/5

My Results..
____://tinypic.com/r/egviqf/5

EDIT:
It turns out that the joints were being exported with what I had assume was local space but was actually global.

Reply With Quote
  #2  
Old April 24th, 2012, 08:10 PM
macano macano is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: Germany
Posts: 4 macano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 36 sec
Reputation Power: 0
Send a message via MSN to macano Send a message via Skype to macano
Oh, nice game! hope to see it out soon, maybe let me beta run it so I can let you know any bugs or sort!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > Skeleton Matrices

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap