Skip to content

usdc parser doesn`t handle quat arrays. #16

@NicTanghe

Description

@NicTanghe

the .usdc parser only handled scalar quaternions.
PointInstancer orientation data is authored as quat arrays,

orientations are being decoded as a single quat, causing the array lookup return None,
THis causes instance rotations remaining identity.

openusd-rs\src\usdc\parser.rs (+4 -0)

721 +               Type::Quath if value.is_array() => read_pod_vec::<gf::Quath>(&mut cursor)?.into(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions