1 # Simple OpenSG benchmark
4 # Define the Window's parameters
16 for i
in range(-nc
,nc
):
19 for j
in range(-nc
,nc
):
22 for k
in range(-nc
,nc
):
23 geo
=makeBox(1,1,1, 1,1,1)
24 geo
.translate(i
*2, j
*2, k
*2)
39 print "%d transformed cubes took %f seconds: %f fps" % ((nc
*2)*(nc
*2)*(nc
*2), test
.getTime(), test
.getFPS())