Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cesium's Moon terminator is rougher than celestiary's: the relief map's anisotropic filtering

Aperta
#212 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
51/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, three.js

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

cesium track:rendering

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 anisotropy on celestiary's moon_normal.jpg texture 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.

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di celestiary/web

Tutte le issue di celestiary/web

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.