skymodelr: Generates and Samples Realistic Terrestrial Atmospheres

Generates physically based sky environment maps and radiance samples using the spectral Hosek-Wilkie and Prague atmosphere models. Functions write high-dynamic-range 'OpenEXR' domes in latitude-longitude projections, compute per-direction RGB or 55-channel values, and optionally composite time-accurate star fields and moon phases. Features include automatic sun and moon positioning from date, time and location, support for sea-level and high-altitude observers, wide-spectrum coefficients, and multithreaded C++ acceleration for fast, high-resolution output. For model details, see Hosek and Wilkie (2012) <doi:10.1145/2185520.2185591>, Hosek and Wilkie (2013) <doi:10.1109/MCG.2013.18>, Wilkie et al. (2021) <doi:10.1145/3450626.3459758>, and Vevoda et al. (2022) <doi:10.1111/cgf.14677>.

Version: 0.3.1
Depends: R (≥ 4.3.0)
Imports: Rcpp, swephR, rayvertex (≥ 0.14.0), rayimage (≥ 0.24.1)
LinkingTo: Rcpp, RcppThread, libimath, libopenexr
Suggests: testthat (≥ 3.0.0), rayrender (≥ 0.40.1)
Published: 2026-06-26
DOI: 10.32614/CRAN.package.skymodelr (may not be active yet)
Author: Tyler Morgan-Wall [aut, cre, cph], Petr Vevoda [ctb], Charles University [cph], Eric Bruneton [ctb, cph], Lukas Hosek [ctb, cph], Alexander Wilkie [ctb, cph]
Maintainer: Tyler Morgan-Wall <tylermw at gmail.com>
BugReports: https://github.com/tylermorganwall/skymodelr/issues
License: GPL-3
Copyright: file inst/COPYRIGHTS
skymodelr copyright details
URL: https://www.skymodelr.com
NeedsCompilation: yes
Materials: NEWS
CRAN checks: skymodelr results

Documentation:

Reference manual: skymodelr.html , skymodelr.pdf

Downloads:

Package source: skymodelr_0.3.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=skymodelr to link to this page.