Skip to content

Problem with BVHParser #20

@enekoatxa

Description

@enekoatxa

Hello. I have been trying the BVHParser to parse some files that I have and I have noticed that if the JOINT names contain a ":" character, the parser is not able to read the file.

For example, it won't read:

HIERARCHY
ROOT mixamorig:Hips
{
OFFSET -0.000007 99.791939 0.000048
CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
JOINT mixamorig:Spine
{
OFFSET -0.000008 9.923462 -1.227335
CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
JOINT mixamorig:Spine1
{
OFFSET -0.001162 11.645447 -1.422342
CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
JOINT mixamorig:Spine2

But it will read:

HIERARCHY
ROOT mixamorigHips
{
OFFSET -0.000007 99.791939 0.000048
CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
JOINT mixamorigSpine
{
OFFSET -0.000008 9.923462 -1.227335
CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
JOINT mixamorigSpine1
{
OFFSET -0.001162 11.645447 -1.422342
CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
JOINT mixamorigSpine2

The issue also happens if the JOINT name contains a ".".

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions