kcoley / gltf2usd

command-line utility for converting glTF 2.0 models to USD
MIT License
263 stars 39 forks source link

scaling different when using keyframes #74

Closed wave-electron closed 5 years ago

wave-electron commented 5 years ago

@kcoley There is an issue with scaling when you add keyframes to the GLTF file. The GLTF looks fine, but the conversion to usdz is out of whack. Sticking with the same sample cubeBounce. I have pair again, one with no keyframing at all. The other with a keyframe on each separate mesh. Its a flat hierachy, but it makes no difference issue still happens either way. I suspect the scaling is not applied consistently when the gltf file contains keyframes.

I removed all the timeSamples with scale set to 0.01.


 float3 xformOp:scale:scale.timeSamples = {
            0: (0.01, 0.01, 0.01),
wave-electron commented 5 years ago

Sorry I created a duplicate