Change font size
It is currently Tue Jun 30, 2026 4:18 pm


Post a new topicPost a reply Page 1 of 1   [ 4 posts ]
Author Message
PostPosted: Mon Nov 12, 2012 2:07 pm 

Joined: Mon Nov 12, 2012 2:04 pm
Posts: 2
I'm trying to export the center of gravity calculated from the View --> mass objects
How do I export these objects ?


Top
 Profile  
 
PostPosted: Tue Nov 13, 2012 8:05 am 
iPi Soft

Joined: Wed Jan 11, 2012 6:12 am
Posts: 2355
Location: Moscow, Russia
Currently, iPi Mocap Studio cannot export the gravity center animation. It can be relatively easy computed given the exported skeleton animation and bones' masses.
Though, recently we've got the same request a couple of times. So we may add this function to our software in future releases. But no promises until major features are released :)


Top
 Profile  
 
PostPosted: Tue Nov 13, 2012 5:58 pm 

Joined: Mon Nov 12, 2012 2:04 pm
Posts: 2
Quote:
It can be relatively easy computed given the exported skeleton animation and bones' masses.

oh cool :) . So there is a solution. Would you mind explaining how to do this / provide links to resources ?
(Currently using blender3d)


Top
 Profile  
 
PostPosted: Fri Nov 16, 2012 4:35 am 
iPi Soft

Joined: Wed Jan 11, 2012 6:12 am
Posts: 2355
Location: Moscow, Russia
The center of mass of some object group (for example, skeleton consisting of bones) is calculated using formula:
center_position = (position1 * mass1 + position2 * mass2 + ... + positionN * massN) / (mass1 + mass2 + ... + massN)

Blender supports scripting in Python, so it should be not too complex (for a person having appropriate skills :) to write a script doing this calculations.
I have googled a couple of examples for you:
http://books.google.ru/books?id=13fXlLfEM54C&pg=PT94&source=gbs_toc_r&cad=4#v=onepage&q&f=false
http://blenderartists.org/forum/archive/index.php/t-202716.html (links to script seem not working now, but you may try to contact with its author)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 4 posts ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB® Forum Software © phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net