summaryrefslogtreecommitdiff
path: root/camera.py
diff options
context:
space:
mode:
authorAnthony LaTorre <tlatorre9@gmail.com>2011-08-18 11:11:25 -0400
committerAnthony LaTorre <tlatorre9@gmail.com>2011-08-18 11:11:25 -0400
commitf3589198dc7ffb765a2e76a8e608da1f169eb1ba (patch)
treed001fac01c48e55a44fd39b5492712794d120b88 /camera.py
parent506bcfcf589c007fa899c4f83595dc3a788447b3 (diff)
downloadchroma-f3589198dc7ffb765a2e76a8e608da1f169eb1ba.tar.gz
chroma-f3589198dc7ffb765a2e76a8e608da1f169eb1ba.tar.bz2
chroma-f3589198dc7ffb765a2e76a8e608da1f169eb1ba.zip
make default camera resolution widescreen. fix checkerboard scene.
Diffstat (limited to 'camera.py')
-rwxr-xr-xcamera.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/camera.py b/camera.py
index 7d23be5..609d9f0 100755
--- a/camera.py
+++ b/camera.py
@@ -568,7 +568,7 @@ class EventViewer(Camera):
self.color_hit_pmts()
return
- if event.key == K_PAGEDOWN:
+ elif event.key == K_PAGEDOWN:
entry = self.T.GetReadEntry()
if entry > 0:
self.T.GetEntry(entry-1)
@@ -589,10 +589,8 @@ if __name__ == '__main__':
parser = optparse.OptionParser('%prog filename.stl')
parser.add_option('-b', '--bits', type='int', dest='bits',
help='bits for z-ordering space axes', default=10)
- #parser.add_option('-l', action='store_true', dest='load_bvh',
- # help='load bounding volumes', default=False)
parser.add_option('-r', '--resolution', dest='resolution',
- help='specify resolution', default='800,600')
+ help='specify resolution', default='1024,576')
parser.add_option('-i', dest='io_file', default=None)
options, args = parser.parse_args()