KhronosGroup / glTF-Asset-Generator

Tool for generating various glTF assets for importer validation
MIT License
161 stars 42 forks source link

Add negative scale to node. #555

Closed YuuuZhang closed 4 years ago

YuuuZhang commented 5 years ago

For issue #550

YuuuZhang commented 4 years ago

The sample image for the new model is now wrong. Can you investigate?

The new model image in sandbox.babylonjs is right (show two 'BaseColor_A'pics). But after GenerateScreenshots it goes wrong (only show one 'BaseColor_A' pic).

I am still investigating the issue, btw, it is interesting that if I change node[0] scale (1.0f, -1.0f, 1.0f) to (-1.0f, -1.0f, 1.0f), the screenshots can show same images with sandbox.babylonjs (two 'BaseColor_A'pics).

bghgary commented 4 years ago

I think this was a bug in Babylon.js at some point. The model works now in the sandbox. You probably just need to update Babylon.js to the latest version for the screenshot.