8 def main(argv
=sys
.argv
):
14 print "Loading %s..." % filename
15 scene
= loadScene(filename
)
18 travscene
= scene
.clone()
19 g
= createGraphOpSeq("GeoType() Stripe(stitch=false)")
20 g
.traverseSeq(travscene
)
22 print "Running test..."
28 test
.setScene(travscene
)
33 test
.makeOrbit(0, 1, 0)
36 print "trav FPS:", test
.getFPS()
38 timage
= test
.snapshot(100)
43 print "Non-Trav FPS:", test
.getFPS()
45 image
= test
.snapshot(100)
48 dimage
= image
.clone()
50 dimage
.write("diffimage.png")
51 image
.write("image1.png")
52 timage
.write("image2.png")
56 if __name__
== '__main__':