I may be completely wrong, but I don't know how DBP handles objects in memory. But wouldn't the cube have 36 vertices per cube?
3 per triangle,
2 triangles per face,
6 faces.
3*2*6 = 36 vertices?
Then the XYZ positions, normals, and don't forget about the UV data.
Plus it stores a count of how many vertices it has for the positions, normals, and UV.
Here is a 100,100,100 cube aligned at 0,0,0:
//The positions
36;
-50.000000;-50.000000;-50.000000;,
50.000000;-50.000000;50.000000;,
-50.000000;-50.000000;50.000000;,
50.000000;-50.000000;50.000000;,
-50.000000;-50.000000;-50.000000;,
50.000000;-50.000000;-50.000000;,
-50.000000;50.000000;-50.000000;,
50.000000;50.000004;50.000000;,
50.000000;50.000000;-50.000000;,
50.000000;50.000004;50.000000;,
-50.000000;50.000000;-50.000000;,
-50.000000;50.000004;50.000000;,
-50.000000;-50.000000;-50.000000;,
50.000000;50.000000;-50.000000;,
50.000000;-50.000000;-50.000000;,
50.000000;50.000000;-50.000000;,
-50.000000;-50.000000;-50.000000;,
-50.000000;50.000000;-50.000000;,
50.000000;-50.000000;-50.000000;,
50.000000;50.000004;50.000000;,
50.000000;-50.000000;50.000000;,
50.000000;50.000004;50.000000;,
50.000000;-50.000000;-50.000000;,
50.000000;50.000000;-50.000000;,
50.000000;-50.000000;50.000000;,
-50.000000;50.000004;50.000000;,
-50.000000;-50.000000;50.000000;,
-50.000000;50.000004;50.000000;,
50.000000;-50.000000;50.000000;,
50.000000;50.000004;50.000000;,
-50.000000;-50.000000;50.000000;,
-50.000000;50.000000;-50.000000;,
-50.000000;-50.000000;-50.000000;
-50.000000;50.000000;-50.000000;,
-50.000000;-50.000000;50.000000;,
-50.000000;50.000004;50.000000;
//Normals
36;
0.000000;-1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;1.000000;-0.000000;,
0.000000;1.000000;-0.000000;,
0.000000;1.000000;-0.000000;,
0.000000;1.000000;-0.000000;,
0.000000;1.000000;-0.000000;,
0.000000;1.000000;-0.000000;,
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;;
//UV Data
36;
0.339291;0.339291;,
0.660709;0.660709;,
0.339291;0.660709;,
0.660709;0.660709;,
0.339291;0.339291;,
0.660709;0.339291;,
0.010000;0.331418;,
0.331418;0.010000;,
0.331418;0.331418;,
0.331418;0.010000;,
0.010000;0.331418;,
0.010000;0.010000;,
0.339291;0.990000;,
0.660709;0.668582;,
0.660709;0.990000;,
0.660709;0.668582;,
0.339291;0.990000;,
0.339291;0.668582;,
0.668582;0.990000;,
0.990000;0.668582;,
0.990000;0.990000;,
0.990000;0.668582;,
0.668582;0.990000;,
0.668582;0.668582;,
0.010000;0.660709;,
0.331418;0.339291;,
0.331418;0.660709;,
0.331418;0.339291;,
0.010000;0.660709;,
0.010000;0.339291;,
0.010000;0.990000;,
0.331418;0.668582;,
0.331418;0.990000;,
0.331418;0.668582;,
0.010000;0.990000;,
0.010000;0.668582;;
