google / usd_from_gltf

Apache License 2.0
547 stars 85 forks source link

Transformation not applied when there are multiple nodes/meshes with different skins #67

Open janispritzkau opened 3 years ago

janispritzkau commented 3 years ago

As soon as I use several meshes with different skins that are parented to a transformed node, the meshes in the converted usdz file all seem to end up in the same place.

The picture below shows the issue which occurs when converting a gltf file (left side) to usdz (right side) with this tool.

gltf-usd

Here are the gltf and usdz files where the issue happens: model.zip

janispritzkau commented 3 years ago

This is roughly how the nodes in gltf file are structured:

Each module plate has a seperate skin/joints. Each node in the tree is unique. Meshes are reused between modules.

janispritzkau commented 3 years ago

Besides that, there is a shading issue when I only have one skinned mesh in the scene.

shading_issue