Metadata
aliases: []
shorthands: {}
created: 2022-02-26 18:39:07
modified: 2022-02-26 18:49:08
This is just a simple way of storing the vertices and indices of a mesh in memory: store the
This means the following exact configuration:
x, storing the y, storing the z, storing the i, storing the index of the first vertex for each trianglej, storing the index of the second vertex for each triangle in the same orderk, storing the index of the third/last vertex for each triangle in the same orderWith this convention, a tetrahedron would be stored the following way (using Python syntax):
x=[0, 1, 2, 0]
y=[0, 0, 1, 2]
z=[0, 2, 0, 1]
i=[0, 0, 0, 1]
j=[1, 2, 3, 2]
k=[2, 3, 1, 3]
This results in the following, when rendered (see this):
