P3D performance with 62500 boxes

I tried the 3.5.3 version but same bottleneck.
it is definitely the shapes[i].translate line that slows everything way down.

for (int i = 0; i < shapes.length; i++) {
shapes[i].resetMatrix();
shapes[i].translate(m.x, m.y, m.z);
}
it is so frustrating because i don’t know what to do to move forward. I absolutely need to port my very long 151 + GLGraphics program to P3 very soon. any suggestions, anyone ? help !

1 Like