šŸŽ‰ Celebrating 25 Years of GameDev.net! šŸŽ‰

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest vertexdata Activity

The rendering API doesn't really care, but in gltf the winding order is counterclockwise.  This is reversed if you flip a mesh by scaling it by a negative amount, either along one axis or on all three.

Source: https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.htmlā€‹

When a mesh primitive uā€¦

10,579 views
Advertisement

I'm trying to figure out how OpenGL actually calculates the beginning of each attribute using the layout info I'm providing. I concluded to an equation that seems to work when providing a layout of :

{pos, normal, coord} ā†’ {pos, normal, coord} ā†’ {pos, normal, coord} ā†’ {pos, normal, coord} ā€¦

But when ā€¦

3,249 views
Advertisement
Advertisement