Hierarchy problems
Hello.(At first, I'm sorry I'm not good at writing english)
As I posted before, I'm trying to move the hand model by using 16 sensors(patriot). The hand model and my right hand do the same move, this is my purpose. I've been thinking about hand bone's hierarchy. I get 16 bones like this: Code:
rh=viz.add(hand.cfg') For example, when I want to move my index finger, I think rbi_1_0 is affected by rbw's rotation(euler) data, rbi_1_1 is affected by rbi_1_0's rotation data, and rbi_1_2 is affected by rbi_1_1's rotation data because of the hierarchy. So, each bones rotate more than the real rotation. I was just wondering if I could remove the influence of the hierarchy. So I tried some transform matrix methods, but I could not solve it. Please tell me if you know some methods or useful vizard commands for my problem. Thank you for reading my message. |
Are you applying your rotations in world coordinates? Also, have you tried apply the rotations in order of hierarchy (i.e. apply first to bones at the top of the hierarchy)?
|
Thank you for your message.
I noticed that I used rotation matrix in each sensor's local coordinates. So, I am going to rewrite my codes. I have to study coordinate more. Thank you again. |
Sorry, another quastion.
I tried some hierarchy calculation for each bones. When I bend my fingers, the influence of hierarchy wasn't seen. But...I bent my fingers when I turned my palm inside out, the hand model's fingers were bent. But it was a inverse rotation compared to the real rotation. When I clench my fist, the hand model's fingers were bent backward. I'm confused what is the reason for that. Do you know any idea? Thank you for reading. |
All times are GMT -7. The time now is 10:23 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC