From fa9730f11964789c9284abcd74722d4d772d6486 Mon Sep 17 00:00:00 2001 From: march3 Date: Mon, 13 Nov 2023 16:00:16 +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 --- objs/halley_comet.py | 2 +- sim_scenes/solar_system/halley_comet_sim.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/objs/halley_comet.py b/objs/halley_comet.py index abb5818..8d90b6b 100644 --- a/objs/halley_comet.py +++ b/objs/halley_comet.py @@ -50,7 +50,7 @@ class HalleComet(RockSnow): super().__init__(**params) # create_cone(radius, height, subdivisions, r=0.1) # self.comet_info = (0.18, 2.0, 100, 0.2) - self.comet_info = (0.03, 0.18, 1.5, 100) + self.comet_info = (0.03, 0.18, 2, 100) from ursina.prefabs.primitives import Shader diff --git a/sim_scenes/solar_system/halley_comet_sim.py b/sim_scenes/solar_system/halley_comet_sim.py index 90a2656..375e170 100644 --- a/sim_scenes/solar_system/halley_comet_sim.py +++ b/sim_scenes/solar_system/halley_comet_sim.py @@ -155,7 +155,7 @@ class HalleyCometSim(HalleyCometSimBase): # 渐渐消失的距离范围(开始消失距离, 完全消失距离) HIDE_DISTANCE = 3, 12 # 彗星最大的透明度 - MAX_ALPHA = 0.8 + MAX_ALPHA = 1 # 大于完全消失距离 if d_au >= HIDE_DISTANCE[1]: -- GitLab