Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clockwise-face culling in gltf does not work correctly #571

Open
KaYaF opened this issue Jul 21, 2020 · 0 comments
Open

Clockwise-face culling in gltf does not work correctly #571

KaYaF opened this issue Jul 21, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request Priority_Middle better to do spec change Destructive spec changing
Milestone

Comments

@KaYaF
Copy link
Contributor

KaYaF commented Jul 21, 2020

ModelConverter.ts does not support the following:

  1. gl.frontFace(gl.CW)
  2. Nodes that share the same material have the different winding order of mesh triangle faces.

For 1, from the following description in the specification of the GlTF, when the determinant of transform is negative, the node(material) should be performed the clockwise-face culling.
image

For 2, in rhodonite, the winding order of mesh triangle faces is specified in a material object. When some primitive share a material, These primitive must have the same winding order.

┆Issue is synchronized with this Wrike Item

@emadurandal emadurandal added the spec change Destructive spec changing label Sep 1, 2020
@emadurandal emadurandal changed the title Clockwise-face culling is not work in gltf Clockwise-face culling in gltf is not work Feb 19, 2021
@emadurandal emadurandal added the enhancement New feature or request label Feb 19, 2021
@emadurandal emadurandal added this to the April 2021 milestone Feb 19, 2021
@emadurandal emadurandal self-assigned this Feb 19, 2021
@emadurandal emadurandal modified the milestones: June 2021, July 2021 Jun 8, 2021
@emadurandal emadurandal changed the title Clockwise-face culling in gltf is not work Clockwise-face culling in gltf does not work Jun 27, 2021
@emadurandal emadurandal changed the title Clockwise-face culling in gltf does not work Clockwise-face culling in gltf does not work correctly Jun 27, 2021
@emadurandal emadurandal modified the milestones: v0.4.2, More Later Sep 22, 2021
@emadurandal emadurandal added the Priority_Middle better to do label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority_Middle better to do spec change Destructive spec changing
Projects
None yet
Development

No branches or pull requests

2 participants