Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load BVH joint hierarchy #10

Closed
Tracked by #9
nixon-voxell opened this issue Mar 25, 2024 · 1 comment
Closed
Tracked by #9

Load BVH joint hierarchy #10

nixon-voxell opened this issue Mar 25, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@nixon-voxell
Copy link
Collaborator

nixon-voxell commented Mar 25, 2024

Example of joint hierarchy from BVH file:

HIERARCHY
ROOT Hips
{
	OFFSET 173.408295 91.952423 -518.280273
	CHANNELS 6 Xposition Yposition Zposition Zrotation Yrotation Xrotation 
	JOINT LeftUpLeg
	{
		OFFSET 0.103459 1.857827 10.548504
		CHANNELS 3 Zrotation Yrotation Xrotation
		JOINT LeftLeg
		{
			OFFSET 43.500008 0.000000 0.000004
			CHANNELS 3 Zrotation Yrotation Xrotation
			JOINT LeftFoot
			{
				OFFSET 42.372192 0.000011 0.000000
				CHANNELS 3 Zrotation Yrotation Xrotation
				JOINT LeftToe
				{
					OFFSET 17.299973 -0.000013 -0.000010
					CHANNELS 3 Zrotation Yrotation Xrotation
					End Site
					{
						OFFSET 0.000000 0.000000 0.000000
					}
				}
			}
		}
	}
	JOINT RightUpLeg
	{
		OFFSET 0.103454 1.857830 -10.548500
		CHANNELS 3 Zrotation Yrotation Xrotation
		JOINT RightLeg
		{
			OFFSET 43.500038 -0.000038 0.000004
			CHANNELS 3 Zrotation Yrotation Xrotation
			JOINT RightFoot
			{
				OFFSET 42.372253 0.000019 0.000024
				CHANNELS 3 Zrotation Yrotation Xrotation
				JOINT RightToe
				{
					OFFSET 17.299988 -0.000007 0.000004
					CHANNELS 3 Zrotation Yrotation Xrotation
					End Site
					{
						OFFSET 0.000000 0.000000 0.000000
					}
				}
			}
		}
	}
	JOINT Spine
	{
		OFFSET 6.901963 -2.603744 0.000004
		CHANNELS 3 Zrotation Yrotation Xrotation
		JOINT Spine1
		{
			OFFSET 12.588104 0.000008 -0.000010
			CHANNELS 3 Zrotation Yrotation Xrotation
			JOINT Spine2
			{
				OFFSET 12.343202 -0.000005 0.000010
				CHANNELS 3 Zrotation Yrotation Xrotation
				JOINT Neck
				{
					OFFSET 25.832897 0.000000 0.000001
					CHANNELS 3 Zrotation Yrotation Xrotation
					JOINT Head
					{
						OFFSET 11.766611 -0.000006 -0.000000
						CHANNELS 3 Zrotation Yrotation Xrotation
						End Site
						{
							OFFSET 0.000000 0.000000 0.000000
						}
					}
				}
				JOINT LeftShoulder
				{
					OFFSET 19.745899 -1.480366 6.000108
					CHANNELS 3 Zrotation Yrotation Xrotation
					JOINT LeftArm
					{
						OFFSET 11.284111 -0.000018 -0.000015
						CHANNELS 3 Zrotation Yrotation Xrotation
						JOINT LeftForeArm
						{
							OFFSET 33.000050 -0.000005 0.000028
							CHANNELS 3 Zrotation Yrotation Xrotation
							JOINT LeftHand
							{
								OFFSET 25.200012 0.000000 0.000002
								CHANNELS 3 Zrotation Yrotation Xrotation
								End Site
								{
									OFFSET 0.000000 0.000000 0.000000
								}
							}
						}
					}
				}
				JOINT RightShoulder
				{
					OFFSET 19.746111 -1.480335 -6.000074
					CHANNELS 3 Zrotation Yrotation Xrotation
					JOINT RightArm
					{
						OFFSET 11.284151 0.000036 0.000001
						CHANNELS 3 Zrotation Yrotation Xrotation
						JOINT RightForeArm
						{
							OFFSET 33.000092 -0.000035 0.000022
							CHANNELS 3 Zrotation Yrotation Xrotation
							JOINT RightHand
							{
								OFFSET 25.199768 0.000178 0.000417
								CHANNELS 3 Zrotation Yrotation Xrotation
								End Site
								{
									OFFSET 0.000000 0.000000 0.000000
								}
							}
						}
					}
				}
			}
		}
	}
}
@kahboon0425
Copy link
Owner

already solve with #18

@nixon-voxell nixon-voxell added this to the v0.1.0 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants