Relationship of Normal list to Face List

BlitzMax Forums/BlitzMax OpenGL Programming/Relationship of Normal list to Face List

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,

The number of vertex/normal 'values' doesn't matter, its the index lists that follow them that count.

Each row of the first index list specifies the vertices of a triangle.

Each row of the second index list specifies the normals for each vertex of the corresponding triangle.

This effectively means that to generate vertex arrays you'll have to duplicate values within the arrays, but that's OK.