Cesium's Moon terminator is rougher than celestiary's: the relief map's anisotropic filtering
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 51/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, three.js
- Domain
- computer-graphics
Research direction
Read CESIUM.md at “relief on the Moon’s tiles” and inspect the celestiary moon_normal.jpg texture setup alongside textureGrad and CESIUM_BODIES.moon.relief. Start by setting anisotropy up to 4 using the renderer’s maximum and measure lit-edge RMS for both Moons at #192 view A and the ev=10 view. Done means RMS differs by no more than one pixel and moon-quarter’s mean is unchanged or closer to 1.000; if filtering is not the cause, investigate the alternatives named in the issue.
Written by the indexing model from the issue text.
Description
Noted in #206's description ("Not chased") and in CESIUM.md, relief on the Moon's tiles.
Problem
With the LOLA normal map on both Moons, at the user's ev=10 view Cesium's terminator is rougher than celestiary's: lit-edge RMS 5.1 px against 3.0. Likely cause: the tiles' shader reads the map with 4× anisotropic filtering (textureGrad, CESIUM_BODIES.moon.relief), while three reads celestiary's normal map without any. The swap between the two Moons then shows a change in the terminator's sharpness, where #206 meant it to be seamless. It also leaves the mean of Cesium's lit disc about 1% brighter at moon-quarter (1.017 against 1.000 at the median).
The work
- Set
anisotropyon celestiary'smoon_normal.jpgtexture to match (renderer.capabilities.getMaxAnisotropy()capped at 4), and re-measure the lit-edge RMS on both sides at the user's view. - If it isn't the cause, find what is (mip bias, the tangent frame, the tiles' geometry normal).
Done when
The lit-edge RMS on both sides agrees within a pixel at #192's view A and the ev=10 link, and moon-quarter is unchanged or closer to 1.000 in the mean.
Related: #192, #205, #206.
- Dominant language
- JavaScript
- Stars
- 55
- Forks
- 4
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 134
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from celestiary/web
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
celestiary/web#345 ·
Maintainers usually reply within 1 day
-
Cesium guest (?cesium=iframe): white flicker near Mars's and Earth's surface remains after #335Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
celestiary/web#344 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
celestiary/web#340 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 1-2 days Newbie friendliness 48/100
celestiary/web#336 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
celestiary/web#334 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
FEATURE REQUEST
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Fei2411/DeepSeek-Bot#703 ·
-
area:web first-timers-only good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
career-ops-hq/career-ops#6264 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
cline/mcp-marketplace#3394 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
exelearning/exelearning#2677 ·
Maintainers usually reply within 1 day