Depth range from the ground: far bodies, their orbits and rings tie or invert in the 24-bit depth buffer
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, three.js
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- JavaScript
- 星标
- 55
- 派生
- 4
- 平均合并
- 9 小时 32 分钟
- 30 天内合并 PR
- 136
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
celestiary/web 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
celestiary/web#345 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
celestiary/web#344 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
celestiary/web#340 ·
维护者通常 1 天内回复
-
Show the instrument's pixel on the sky: a marker at Rubin's resolution beside the target可能已有人在做 @pablo-mayrgundter 今天认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
celestiary/web#339 ·
维护者通常 1 天内回复
-
难度 4/5 1-2 天 新手友好度 48/100
celestiary/web#336 ·
维护者通常 1 天内回复
相似的 Issue
-
bug documentation
难度 1/5 1 小时以内 新手友好度 88/100
awslabs/visual-asset-management-system#880 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
possible bug
难度 2/5 1-3 小时 新手友好度 85/100
Mintplex-Labs/anything-llm#6889 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
swc-project/swc-next#1165 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
nhsuk/nhsuk-prototype-kit-package#439 ·
维护者通常 1 天内回复