so the mesh combiner is done. now you are able to combine, for performance issues or something else, the vertex buffer informations together.
eg.: combining 2 meshes together:
combinedMESH = combineBUFFER(cubeMESH,statueMESH);
or a couple of pieces:
var meshLST_ = [statueMESH,socketMESH,building0MESH,birdMESH]
var currentDATA = cubeMESH;
for(i=0;i<meshLST_ .length;i++){
currentDATA = combineBUFFER(
currentDATA ,
meshLST_ [i]);
}
stay tuned
greetz
dirk
Keine Kommentare:
Kommentar veröffentlichen