Hi! I’ve been using immediate mode for some time, and reading my vertex and faces from my 3ds loader, though now im going on to vertex arrays, what i wonder about is how the array is built,
for what it seems, its adding x,y,z,x,y,z,x,y,z in a one dimensional array, though the result i had with it was not good.
(pseudo)
so doing a for loop, f.exm for (vertxcounter=0;vertexcounter<numvertxes;vertxvounter++)
VertexArray[vertexcounter] = vertx;
VertexArray[vertexcounter+1] = verty;
VertexArray[vertexcounter+2] = vertz;
(vertexarray[numvertx * 3]
would be a mistake i guess?