You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is GLTFKit issue and haven't tried GLTFKit2 yet but I have a feeling (quick search didn't find the fix) this project will be suffering from the same issue too and since this one is the newer I am creating issue here.
The issue is that according to glTF spec:
When a mesh primitive uses any triangle-based topology (i.e., triangles, triangle strip, or triangle fan), the determinant of the node’s global transform defines the winding order of that primitive. If the determinant is a positive value, the winding order triangle faces is counterclockwise; in the opposite case, the winding order is clockwise.
I have tried GLTFKit with unit_cube.zip model to show the issue. You will see an inside out cube.
The text was updated successfully, but these errors were encountered:
This is a renderer-level concern, and GLTFKit2 doesn't provide any renderers. It seems that SceneKit, which is used in the sample viewer included with this project, handles this situation correctly.
This is
GLTFKit
issue and haven't triedGLTFKit2
yet but I have a feeling (quick search didn't find the fix) this project will be suffering from the same issue too and since this one is the newer I am creating issue here.The issue is that according to glTF spec:
I have tried GLTFKit with unit_cube.zip model to show the issue. You will see an inside out cube.
The text was updated successfully, but these errors were encountered: