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…

11,969 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,668 views
Advertisement
Advertisement