diff --git a/sim_scenes/fiction/earth_orbit_stopped.py b/sim_scenes/fiction/earth_orbit_stopped.py index 1a93df7e1137868c543f69802cf12aeaf4a5999f..61d9b5e572a4ec089443512b1244774765280ece 100644 --- a/sim_scenes/fiction/earth_orbit_stopped.py +++ b/sim_scenes/fiction/earth_orbit_stopped.py @@ -37,6 +37,7 @@ class EarthOrbitStoppedSim(UniverseSimScenes): # self.sun = Sun(init_position=[0, 0, 0], color=(255, 255, 200), size_scale=1, texture="fixed_star.png") self.earth = Earth(init_position=[0, 0, -AU], texture="earth_hd.jpg", init_velocity=[0, self.EARTH_INIT_VELOCITY, 0], + rotation_speed=0.15, size_scale=1).set_light_disable(True) # 水星轨道半径 self.mercury_radius = 0.384 * AU @@ -82,7 +83,10 @@ class EarthOrbitStoppedSim(UniverseSimScenes): def on_ready(self): # 运行前触发一次 # 应用的时间缩放越小,视频更近顺滑(低速运行比较重要) + camera.clip_plane_near = 0.01 + camera.clip_plane_far = 50000 application.time_scale = 0.00001 + # FOV是摄像机的视场角,即Field of view(FOV),它的大小决定了摄像机的视野范围。 camera.fov = 50 self.text_panel = create_text_panel(font="fonts/DroidSansFallback.ttf", font_scale=1.3)