Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 24-06-2003, 08:52 PM   #1
Den200678
Registered User
 
Join Date: Jun 2003
Location: Graz / Austria
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default matrix concatenation for binding geometry to a skeleton

Actually i try to load in a .ma file in c++ using directX9 to render it. It is a skinned mesh. I never worked with maya since i am a programmer trying to code skinning... I choosed the .ma files cause theyre easy to understand...
So i did load in all informations i think i need ( the mesh, joint and skincluster nodes... )
I filled my vertex structure with the weigths and indices to the joints..
The problem now i have is how to concatenate the different matrices and/or informations ( at first to render the mesh in the bind pose ).

In the joint node there is a translation (.t), a joint orient (.jo) and a bind pose (.bps) matrix derived.
In the skinCluster node a bindPreMatrix (.pm) and a geomMatrix (.gm)

Can anyone give me a hint / a formular on how maya works with these matrices / information ?

Thanx Den
Den200678 is offline   Reply With Quote
Old 24-06-2003, 11:37 PM   #2
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Default



Um, why you try useing the actualy program, imstead of doing it all in C++. I dont like C++ any ways, im a Java man myself... hehe
__________________
Armitrex Studios
Now open!!
Ultragames is offline   Reply With Quote
Old 25-06-2003, 12:34 PM   #3
Den200678
Registered User
 
Join Date: Jun 2003
Location: Graz / Austria
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default easy to understand....

First i tried to load in the directx ".x" format.... but, ok, it sounds strange, but the ".ma" format is easier to understand...

Actually, it seems like it runs... i just multiplied the bindPose Matrix with the bindPreMatrix...
Den200678 is offline   Reply With Quote
Old 03-07-2003, 03:06 PM   #4
strarup
Subscriber
 
Join Date: Jan 2003
Location: Denmark
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Den,

sounds interesting... will try to dig for some info...

regards

Strarup
__________________
------------------------------------------------
Alex V. U. Strarup

One mistake can ruin it all...
strarup is offline   Reply With Quote
Old 03-07-2003, 04:10 PM   #5
Den200678
Registered User
 
Join Date: Jun 2003
Location: Graz / Austria
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Talking strarup

Thanx... ! Would help me a lot... its easy to render the mesh in the bindpose but actually i couldnt find out a way to animate it...
i read in the correct rotation angles for the joints and a "dagPose" node but i dont know how to compute the right matrices....
Den200678 is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.