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

Python超人-宇宙模拟器

上级 3f93fbbc
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import os import os
import numpy as np import numpy as np
import sys
from bodies import Earth from bodies import Earth
from common.consts import SECONDS_PER_HOUR from common.consts import SECONDS_PER_HOUR
from sim_scenes.func import ursina_run from sim_scenes.func import ursina_run
...@@ -23,7 +23,9 @@ def transformed_mars_ani(transformed_texture=None, texture=None, camera3d=False) ...@@ -23,7 +23,9 @@ def transformed_mars_ani(transformed_texture=None, texture=None, camera3d=False)
trans_texture = transformed_texture.replace(".jpg", "_trans.png") trans_texture = transformed_texture.replace(".jpg", "_trans.png")
# texture = transformed_texture # texture = transformed_texture
# texture = os.path.join("transformed", texture) # texture = os.path.join("transformed", texture)
if len(sys.argv) > 1:
camera3d = True
print("sys.argv", sys.argv)
# 创建带有云层的地球 # 创建带有云层的地球
mars = Earth( mars = Earth(
texture=texture, texture=texture,
......
...@@ -17,7 +17,7 @@ CALL conda activate %env% ...@@ -17,7 +17,7 @@ CALL conda activate %env%
%DISK% %DISK%
cd %SimFilePath% cd %SimFilePath%
start python -m %SimFileName% start python -m %SimFileName% 3d
cd %SimDir%\tools cd %SimDir%\tools
python -m sim_video_3d_cap_ext --save_name=%SimFileName%.mp4 %param3% python -m sim_video_3d_cap_ext --save_name=%SimFileName%.mp4 %param3%
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册