Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: PienueDut

26. May 2012, 09:41:24 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Animation and bones
Pages: [1]
Print
Author Topic: Animation and bones  (Read 636 times)
mordrek
Just dropped in

Offline Offline

Posts: 5


View Profile
« on: 17. December 2008, 07:35:05 pm »

Hi.
I am at a point where I'd like to get a specific feature into my code:
 Meshes mounted on animated bones

I'm a total noob at both Xith and modelling/animation.
I'm working with some models in .obj loaded into Blender, rigged, animated and then exported.

I managed to get animation working with .md5 (.dae didn't load anything when exporting scene, and no animations where found when exporting selection).

Now... is it possible to get hold of the bones transform somehow so I can update the transform of another mesh?

/Andreas
Logged
mordrek
Just dropped in

Offline Offline

Posts: 5


View Profile
« Reply #1 on: 18. December 2008, 11:46:41 am »

Looked some more and it does feel like I have to fiddle a bit too much in xith or jagatoo to get it done.

I just realized I can ignore the whole issue, by rigging the "gun" I want to attach with the same skeleton and same animations as my main model and then diplay both at the same location with the same animation running.

Would be nice to get bones anyway though to do things like having particle emitters attached to the model etc. hmm,...
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 24. December 2008, 07:05:27 pm »

For this to work you need to attach the gun to the main model. To make the gun always be placed at the same relative location to the model's hand, you need a set of mount transforms. Please have a look at the MD2/MD3 testcases for examples.

Marvin
Logged
mordrek
Just dropped in

Offline Offline

Posts: 5


View Profile
« Reply #3 on: 27. December 2008, 02:54:47 pm »

Thanx for the reply.
Got it working after some fiddling Smiley
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic