Understanding camera.yaw()
Hello all, I'm using camera.yaw() iteratively to rotate a full 2*pi around in steps of 2*pi/100. At each iteration I print out the camera properties. The initial print out gives: <Camera Object>: position:[1.5 0.6 0.7] unitary focus:[0.5 0.5 0.5] unitary north_vector:[-0.19421137 -0.01942114 0.98076744] dimensionless width:[1.5 1.5 1.5] unitary light:None resolution:(512, 512) Lens: <Lens Object>: lens_type:plane-parallel viewpoint:[-1451589.92609281 -239814.12665532 -292191.95321947] unitary all of which is fine, but then the next iteration gives <Camera Object>: position:[1.5 0.6 0.7] unitary focus:[0.5 0.5 0.5] unitary north_vector:[-0.19421137 -0.01942114 0.98076744] dimensionless width:[1.5 1.5 1.5] unitary light:None resolution:(512, 512) Lens: <Lens Object>: lens_type:plane-parallel viewpoint:[-1433600.74659457 -332297.23040534 -290461.08804655] unitary where everything is the same except the "viewpoint" vector. I don't get this at all. It makes sense to me that focus and width are unchanged, but I was expecting position to change. I looked through the source, but I haven't quite figured that out. Is there a good reference to understand how plane-parallel cameras work and how the camera functions modify the internal camera parameters? Thank you, Andrew
participants (1)
-
Steiner, Andrew (Andrew W. Steiner)