Depth range from the ground: far bodies, their orbits and rings tie or invert in the 24-bit depth buffer
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, three.js
- Ambito
- computer-graphics
Direzione di ricerca
Start by reading the depth-buffer and projection setup, then check the composite and Cesium depth handoff described in CESIUM.md and portal-netgl. Compare reversed-Z, logarithmic depth, and analytic occlusion against the stated telescope-FOV cases; done means Jupiter occludes the far halves of its moons' orbits, Saturn occludes its far ring arc, the Moon hides background stars, and space views retain parity.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found while fixing the atmosphere dashes over Jupiter (#174).
Problem
From Earth's surface the near plane is ~100 m, so every body beyond a few million km lands on or one 24-bit step under the far plane. Depth can then no longer order them:
- Orbits over their planet: Ganymede's orbit line ties with Jupiter's disc, and overlays pass the depth test on a tie, so the far half of the orbit draws across Jupiter (telescope FOV from the ground).
- Rings: Saturn's far ring arc draws over the disc from the ground.
- The Moon and stars: catalogue stars, pulled to 0.999999·w, sit nearer than the Moon from the ground (≈0.9999995), so a bright star behind the Moon could show through it.
#174 fixed the atmosphere pass's own misreading of these depths; the ordering problem remains.
Options
- Reversed-Z with a float depth buffer (WebGL2:
DEPTH_COMPONENT32Fplus a reversed projection): near-uniform relative precision over the whole range. three.js supportsreverseDepthBuffer(r163+); check the composite and Cesium's depth handoff (CESIUM.md) and portal-netgl. - Logarithmic depth (three's
logarithmicDepthBuffer): simple, but writesgl_FragDepth, which costs early-z and touches every custom shader. - Analytic occlusion: overlays and background test against the bounding spheres of nearer bodies in the shader. Targeted, no buffer change.
Done when
From Earth's surface at a telescope FOV, Jupiter hides the far half of its moons' orbits, Saturn's disc hides the far ring arc, and the Moon hides the stars behind it; nothing changes in space views (parity).
Generated by Claude Code
- Lingua principale
- JavaScript
- Stelle
- 55
- Fork
- 4
- Merge medio
- 10h 12m
- PR unite (30g)
- 134
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di celestiary/web
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
celestiary/web#345 ·
I maintainer di solito rispondono entro 1 giorno
-
Cesium guest (?cesium=iframe): white flicker near Mars's and Earth's surface remains after #335Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
celestiary/web#344 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
celestiary/web#340 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
celestiary/web#336 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
celestiary/web#334 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di celestiary/web
Issue simili
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validationForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
cncf/endusers#2006 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
check:passed feeds:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
all-contributors/cli#587 ·
I maintainer di solito rispondono entro 1 giorno
-
RGAA5
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 8 giorni
-
feedback simulation workshop
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
githubnext/gh-aw-workshop#5157 ·
I maintainer di solito rispondono entro 1 giorno