Cast shadows on the Moon: a horizon map from LOLA
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, three.js
- Área
- computer-graphics
Línea de trabajo
Read js/scene/Planet.md under relief and CESIUM.md under relief on the Moon's tiles, then inspect tools/moon/lolaNormalMap.py and the mesh material and tileset sunlitShader entry points. Build horizon maps from the LOLA DEM and apply the shadow term consistently to both render paths; decide whether to include the higher-resolution normal map. Done means rims shadow floors near the terminator on both views, moon-quarter stays in bounds, and the recipe rebuilds the maps.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Proposed in #192's comment (section 3) and left open by #199 and #206; see Planet.md, relief ("No cast shadows yet") and CESIUM.md, relief on the Moon's tiles ("Not done: cast shadows").
Problem
The Moon's normal map (#199, on Cesium's tiles by #206) lights each texel by its own slope, which makes crater walls light and shade along the terminator. A slope can't make a rim shadow its floor, and in the last few degrees of Sun the real floors are black, the terminator's best-known look.
Proposal
A horizon map from the same LOLA DEM: the horizon's elevation in 8 azimuths per texel, in two RGBA 2048×1024 textures (about 2–4 MB, so Git LFS under public/large/moon/ with dataUrl; AGENTS.md, data policy). One shadow term in the surface shader, in both the mesh's material and the tileset's sunlitShader (so both sides of the swap match; moon-quarter parity). The recipe goes in tools/moon/ next to lolaNormalMap.py, and in Planet.md.
A 4096×2048 normal map (1.4 MB, LFS) would hold detail to a 1.3° Moon; decide whether to do it with this.
Done when
At the occultation view, rims shadow their floors near the terminator on both celestiary's Moon and Cesium's tiles, moon-quarter stays inside its bounds, and the recipe rebuilds the maps.
Related: #192, #199, #206, #205.
- Lenguaje dominante
- JavaScript
- Estrellas
- 55
- Forks
- 4
- Merge medio
- 10 h 12 min
- PR fusionados (30 d)
- 134
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de celestiary/web
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
celestiary/web#345 ·
Los mantenedores suelen responder en 1 día
-
Cesium guest (?cesium=iframe): white flicker near Mars's and Earth's surface remains after #335Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
celestiary/web#344 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
celestiary/web#340 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
celestiary/web#336 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
celestiary/web#334 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de celestiary/web
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
feimacode/open-design-agent-kit#66 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
xojs/eslint-config-xo#134 ·
-
FEATURE REQUEST
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
huggingface/transformers.js#1839 ·
Los mantenedores suelen responder en 1 día