提交 b26bfd5c 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 e42c0d1a
...@@ -44,7 +44,7 @@ else: ...@@ -44,7 +44,7 @@ else:
camera_pos = "right" camera_pos = "right"
print("camera_pos:", camera_pos) print("camera_pos:", camera_pos)
camera_l2r = 0.01 * AU camera_l2r = 0.002 * AU
if camera_pos == "right": # 摄像机右眼 if camera_pos == "right": # 摄像机右眼
init.light_init_position[0] += camera_l2r init.light_init_position[0] += camera_l2r
......
...@@ -169,6 +169,7 @@ if __name__ == '__main__': ...@@ -169,6 +169,7 @@ if __name__ == '__main__':
# video.write(img) # video.write(img)
min_index = min(r_frames.keys()) min_index = min(r_frames.keys())
max_index = max(r_frames.keys()) max_index = max(r_frames.keys())
print("对视频进行3D处理")
for index in range(min_index, max_index + 1): for index in range(min_index, max_index + 1):
rv = r_frames.get(index, None) rv = r_frames.get(index, None)
lv = l_frames.get(index, None) lv = l_frames.get(index, None)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册