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