summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcamera.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/camera.py b/camera.py
index 52a0add..d2d5d6c 100755
--- a/camera.py
+++ b/camera.py
@@ -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)