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