GitXplorerGitXplorer
1

CalcMySky

public
30 stars
8 forks
5 issues

Commits

List of commits on branch master.
Unverified
b66f57885db49f60183b96b025da4cf8a5dcfcec

Fix a comment

110110111 committed 3 months ago
Unverified
1397b4a5f899da6fa2e198423112765352443772

Fix zero order Sun appearing on the opposite direction to the correct one

110110111 committed 3 months ago
Unverified
908c5f99219779025d68e25d875e9b29e05df1b4

Use length(cross(view,sun)) instead of dot(view,sun) in zero order

110110111 committed 3 months ago
Unverified
bdf85dfeb2afeccf58e617d62fd7ba0cfe95b352

Add red, green, and blue to color view modes

110110111 committed 4 months ago
Unverified
d3aa2037093f45cc0f39c7ef07927252a3d754f1

Enable position-independent code in CMake

110110111 committed 4 months ago
Unverified
be6a9f1d353c4fda1c25d39a488dc8ea44c2d372

Add a missing include

110110111 committed 4 months ago

README

The README file for this repository.

Build status

CalcMySky

CalcMySky is a software package that simulates scattering of light by the atmosphere to render daytime and twilight skies (without stars). Its primary purpose is to enable realistic view of the sky in applications such as planetaria. Secondary objective is to make it possible to explore atmospheric effects such as glories, fogbows etc., as well as simulate unusual environments such as on Mars or an exoplanet orbiting a star with a non-solar spectrum of radiation.

The simulation is based on E. Bruneton's Precomputed Atmospheric Scattering paper and the updated implementation of the demo. This in particular limits the atmosphere to spherical symmetry (which means localized clouds are not supported, and ground albedo is the same all around the globe).

An additional capability is simulation of solar eclipses, which is currently limited to two scattering orders, while the non-eclipsed atmosphere can be simulated to arbitrary order.

This package consists of three parts:

  • calcmysky utility that does the precomputation of the atmosphere model to enable rendering,
  • libShowMySky library that lets the applications render the atmosphere model,
  • ShowMySky preview GUI that makes it possible to preview the rendering of the atmosphere model and examine its properties.

Full documentation can be found here.