1 # Simple OpenSG benchmark
4 # Define the Window's parameters
16 for i
in range(-nc
,nc
):
17 for j
in range(-nc
,nc
):
18 for k
in range(-nc
,nc
):
19 geo
=makeBox(1,1,1, 1,1,1)
20 geo
.translate(i
*2, j
*2, k
*2)
36 # Statistics collection frame
41 print "%d transformed cubes took %f seconds: %f fps" % \
42 (test
.getStatValue("NGeometries", 0) , time
, fps
)