And in the event that my flatmate is reading this: It's the original artist that was the incompetent jackwagon, you're awesome. Thank you for correcting the normals so it at least renders with correct lighting if I disable culling.
-
-
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
-
-
calculate the cross product of (V2-V1) and (V3-V1), and figure if it aligns with the normal or is opposed to it (dunno which one would be correct)
-
Not a horrible idea. Since my flatmate corrected the normals on the mesh at least, it should be possible to determine whether the cross product agrees or disagrees with the normal.
Keskustelun loppu
Uusi keskustelu -
-
-
Off the top of my head... Compare the sign of dot_product(cross_product(edge1, edge2), normal) to the normal. Pick any two edges. Same sign = CW Different sign = CCW
-
Yep, that sounds like a solid plan. Thanks!
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.