diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-12 18:50:31 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-12 18:50:31 -0400 |
commit | 8328b6e53f51974afb4b22c8a84e4d0a99cf162b (patch) | |
tree | 00132e8ec03de7a656314c01096084af5f131d59 /camera.py | |
parent | 56f17469d6e86b78f68ece3bce41d1a50a58b657 (diff) | |
parent | 3e02fe2a94366f2908006d41f7609f0e9555315b (diff) | |
download | chroma-8328b6e53f51974afb4b22c8a84e4d0a99cf162b.tar.gz chroma-8328b6e53f51974afb4b22c8a84e4d0a99cf162b.tar.bz2 chroma-8328b6e53f51974afb4b22c8a84e4d0a99cf162b.zip |
merge
Diffstat (limited to 'camera.py')
-rwxr-xr-x | camera.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ def encode_movie(dir): print 'movie saved to %s.' % filename -def get_rays(position, size = (800, 600), width = 0.035, focal_length=0.05): +def get_rays(position, size = (800, 600), width = 0.035, focal_length=0.018): height = width*(size[1]/float(size[0])) x = np.linspace(-width/2, width/2, size[0]) @@ -84,7 +84,7 @@ class Camera(Thread): self.nblocks = 64 - self.point = np.array([0, self.scale*1.75, (lower_bound[2]+upper_bound[2])/2]) + self.point = np.array([0, self.scale*1.0, (lower_bound[2]+upper_bound[2])/2]) self.axis1 = np.array([1,0,0], float) self.axis2 = np.array([0,0,1], float) |