1
0
This commit is contained in:
2025-11-21 19:39:06 +09:00
parent eda15ac729
commit 198a569c2c
3 changed files with 6 additions and 7 deletions

BIN
atmosphere/public/earth.glb Normal file

Binary file not shown.

BIN
atmosphere/public/iss.glb Normal file

Binary file not shown.

View File

@@ -32,10 +32,9 @@ const EARTH_RADIUS = 6378137;
const WEATHER_INTERVAL = 5 * 60 * 1000;
const TIME_SCALE = 10;
const TIME_SCALE = 100;
// 初期時刻: 正午 (12:00)
const INITIAL_DATE = new Date('2024-06-21T16:00:00');
const INITIAL_DATE = new Date('2024-06-21T12:00:00');
// --- Weather Presets (天候設定) ---
const WEATHER_PRESETS = [
@@ -73,7 +72,7 @@ const WEATHER_PRESETS = [
const LOCATIONS = [
{ name: 'Tokyo', longitude: 139.7671, latitude: 35.6812, heading: 180, pitch: -5, distance: 300 },
{ name: 'Fuji', longitude: 138.7278, latitude: 35.3606, heading: 0, pitch: -10, distance: 4000 },
{ name: 'Space', longitude: 139.7671, latitude: 35.6812, heading: 0, pitch: -90, distance: 10000000 },
{ name: 'Space', longitude: 139.7671, latitude: 35.6812, heading: 0, pitch: -90, distance: 100000 },
];
// --- Shared State for Synchronization ---
@@ -290,7 +289,7 @@ function AtmosphereScene() {
/>
))}
</Clouds>
<AerialPerspective sky sunLight skyLight />
<AerialPerspective sky />
<ToneMapping mode={ToneMappingMode.AGX} />
</EffectComposer>
</Atmosphere>
@@ -551,8 +550,8 @@ function CameraSync() {
function AvatarLayer() {
return (
<Canvas gl={{ alpha: true, antialias: true }}>
<PerspectiveCamera makeDefault position={[0, 1.5, 3]} fov={30} />
<Canvas gl={{ alpha: true, antialias: true, logarithmicDepthBuffer: true }}>
<PerspectiveCamera makeDefault position={[0, 1.5, 3]} fov={40} />
<CameraSync />
<directionalLight position={[-1, 1, 1]} intensity={1.5} />