MCPcopy Index your code
hub / github.com/AntonioFerreras/Digital-Earth

github.com/AntonioFerreras/Digital-Earth @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
160 symbols 384 edges 15 files 1 documented · 1% updated 14mo ago★ 44
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Digital Earth

Demo shots 1080p
Earth render 1 Earth render 2
Earth render 1 Earth render 2

Overview

A renderer that generates highly realistic images of the Earth from outer space. (Note: Requires a beefy GPU to run, RTX 3070 or above)

Rendering is done with Path Tracing in participating media. + Uses measured data for density and light response (extinction coeficients and scattering functions) of atmospheric gases. + Rayleigh scatterers: Nitrogen (N2), Oxygen (O2), Carbon Dioxide (CO2) + Mie scatterers: Water vapour + Other absorbers: Ozone (O3) + Textures from NASA for ground albedo, water bodies, topology, clouds. + Spectral rendering to get an accurate representation of colours. + OpenDRT for conversion from HDR->SDR (https://github.com/jedypod/open-display-transform) + Camera Response Function for filmic look

Taichi Lang documentation: https://docs.taichi-lang.org/

Step-by-step Installation

  1. Install dependencies of the renderer. (Assuming you have Python)
pip install -r requirements.txt
  1. Then download textures from here (google drive) and drag them into the textures folder.

  2. Finally, to run Digital Earth,

python main.py

Controls

  • Drag with your right mouse button to rotate the camera.
  • Press W/A/S/D to move the camera.
  • Press 'Q' to rotate the camera to Earth's surface
  • Press 'E' to reset camera rotation
  • Press SPACE to go up
  • Press CTRL to go down
  • Press P to save a screenshot.

Core symbols most depended-on inside this repo

sdivf
called by 10
lib/OpenDRT.py
saturate
called by 10
lib/math_utils.py
rsi
called by 9
lib/math_utils.py
_logf
called by 8
lib/OpenDRT.py
sample_sphere_texture
called by 8
lib/math_utils.py
sqr
called by 7
lib/math_utils.py
land_sdf
called by 5
pathtracer.py
spowf
called by 5
lib/OpenDRT.py

Shape

Function 110
Method 45
Class 5

Languages

Python100%

Modules by API surface

renderer.py33 symbols
lib/volume_rendering_models.py21 symbols
pathtracer.py19 symbols
lib/math_utils.py16 symbols
lib/OpenDRT.py16 symbols
lib/surface_rendering_models.py15 symbols
earth_viewer.py15 symbols
lib/AgX.py12 symbols
lib/colour.py7 symbols
lib/sampling.py4 symbols
lib/parameters.py2 symbols

For agents

$ claude mcp add Digital-Earth \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page