Earth's night side is lit about 30% on the bare ellipsoid when ion's World Terrain is unavailable
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
Start with the linked CESIUM.md section and review #202 for context on the two shading paths: terrain vertex lighting and ellipsoid day/night shading. Compare the decode-pass option with a flat terrain provider that supplies normals, then run the earth-night-* parity views with the ion token unset. Done means the ellipsoid night side is as dark as with terrain, and city lights have the same exposure.
索引モデルが issue の本文から書いたものです。
説明
Found in review of #202; written up in CESIUM.md, Earth's lighting needs the terrain, and listed there as not fixed.
Problem
Cesium lights a globe two ways. With terrain that has vertex normals (ion's World Terrain, requested with requestVertexNormals) it uses ENABLE_VERTEX_LIGHTING, which litSurfaceOnly sets to Lambert × 1 + 0: dark on the night side, as celestiary's own Earth. On the plain ellipsoid it uses ENABLE_DAYNIGHT_SHADING, colour × clamp(5 × Lambert + 0.3), hard-coded. The 0.3 is a floor all over the night side, and as the exposure meter takes the night side's brightness for the scene's, it also dims the exposure the city lights are seen at.
So whenever the globe is on the ellipsoid, Earth's night side shows the day surface at about 30% and the lights are dimmed: until the terrain answers, and for good when ion refuses it (no token, a token not scoped to asset 1, a 401 or 403 from the account's quota, or a build with CESIUM_ION_TOKEN= as AGENTS.md now suggests for testing). Production with a working token is unaffected; PR previews, local builds without the token and an over-quota account are not.
Options (from CESIUM.md)
- Apply the ellipsoid's shading in the decode pass, taking the 0.3 floor out (the decode already inverts Cesium's frame).
- A flat terrain provider that supplies normals, so the globe takes the vertex-lighting path without ion.
Done when
With ion's terrain refused, Earth from 30,000 km shows the night side as dark as with terrain on (the parity earth-night-* views pass with the token unset), and the city lights are at the same exposure.
Related: #202, #93, #110.
- 主要言語
- JavaScript
- スター
- 55
- フォーク
- 4
- 平均マージ
- 10時間 12分
- マージ済み PR(30日)
- 134
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
celestiary/web のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
celestiary/web#345 ·
メンテナーはふだん 1 日以内に返信
-
Cesium guest (?cesium=iframe): white flicker near Mars's and Earth's surface remains after #335オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
celestiary/web#344 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
celestiary/web#340 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
celestiary/web#336 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
celestiary/web#334 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
ai-driven-fuzzing bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
linagora/cozy-client#1777 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validation対応中かも @hivecommons-hive が今日担当しました。 オープンagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
cncf/endusers#2006 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
check:passed feeds:add
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 4 日以内に返信
-
CMS video element: "CmsVideoPlugin" sets `volume = 0`, so videos cannot be unmuted on Android Chromeオープンneeds-triage Platform(Default)
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
all-contributors/cli#587 ·
メンテナーはふだん 1 日以内に返信