JCPalmer Posted September 24, 2018 Share Posted September 24, 2018 I am using a kinect2 for data capture inside of Blender. For all but the root bone, I am using the absolute joint position method. Trying to use the rotation quaternions is a nightmare, which is not helped by: Blender being right-handed & Kinect2 being left Y & Z dimensions switched Data capturing & not mirroring quaternion method is all or nothing. Complete garbage where you cannot figure out what is wrong. With location data you can sort of see what you are doing wrong. I get decent results, when facing forward, but if I do a twirl location data can never work. I was think of using the quaternion data solely for the rootbone. Unfortunately, the data looks kind of weird. Below, is a clockwise twirl. I have not corrected for being a mirror yet. The second group is using Blender's quaternion.to_euler('XYZ'). Can anyone explain this data? Do people even try to data capture stuff like this? Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted September 24, 2018 Author Share Posted September 24, 2018 Doing some more searching, I found some info on using the location data for getting orientation to camera as well. I had tried to do this myself as well, but using the hips instead of shoulders. Mine was a real kludge. The last response was: Quote That's actually pretty easy: Xvector = (Right Shoulder Position) - (Left Shoulder Position) Yvector = (Head Position) - (SpineBase Position) Zvector = CrossProduct(Xvector,Yvector) Zvector will give you the overall pointing direction of the body relative to the camera Vicente Penades Not sure exactly how to do this yet, but I know for a fact that the location data is consistent all the time. Any comments? Quote Link to comment Share on other sites More sharing options...
dbawel Posted September 25, 2018 Share Posted September 25, 2018 I had serious issues capturing into Blender. I ran my Kinect(s) into MotionBuilder and then exported FBX to Blender without any problems. In working with motion capture for 20+ years, I see too many problems with capturing into Blender right now; until someone writes a proper plugin which is simple to use. DB Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.