From 8acede7e46cd5887417baa68ccbf7bedb32ff3c1 Mon Sep 17 00:00:00 2001 From: march3 Date: Sat, 22 Jul 2023 19:35:57 +0800 Subject: [PATCH] =?UTF-8?q?Python=E8=B6=85=E4=BA=BA-=E5=AE=87=E5=AE=99?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sim_scenes/earth/earth.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sim_scenes/earth/earth.py b/sim_scenes/earth/earth.py index d8271cc..abf4fba 100644 --- a/sim_scenes/earth/earth.py +++ b/sim_scenes/earth/earth.py @@ -14,10 +14,16 @@ if __name__ == '__main__': """ 高清地球模拟运行 """ + texture = "earth_miller_projection_SW.jpg" + texture = "earth_bam_equidistant_cylindrical.png" + texture = "earth_miller.png" + texture = "earth_hd.jpg" + bodies = [ - Earth(texture="earth_hd.jpg", - init_position=[0, 0, 0], init_velocity=[0, 0, 0], - size_scale=1) + Earth( + texture=texture, + init_position=[0, 0, 0], init_velocity=[0, 0, 0], + size_scale=1) ] # 使用 ursina 查看的运行效果 # 常用快捷键: P:运行和暂停 O:重新开始 I:显示天体轨迹 -- GitLab