Package: skymodelr 0.3.2
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>.
Authors:
skymodelr_0.3.2.tar.gz
skymodelr_0.3.2.tar.gz(r-4.7-arm64)skymodelr_0.3.2.tar.gz(r-4.7-x86_64)skymodelr_0.3.2.tar.gz(r-4.6-arm64)skymodelr_0.3.2.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
skymodelr/json (API)
| # Install 'skymodelr' in R: |
| install.packages('skymodelr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tylermorganwall/skymodelr/issues
Pkgdown/docs site:https://www.skymodelr.com
Last updated from:0f07807368. Checks:5 OK, 1 FAIL. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 147 | ||
| linux-devel-x86_64 | OK | 170 | ||
| source / vignettes | OK | 188 | ||
| linux-release-arm64 | OK | 161 | ||
| linux-release-x86_64 | OK | 148 | ||
| wasm-release | FAIL | 174 |
Exports:calculate_sky_radiancecalculate_sky_valuescalculate_sun_brightnessclear_sky_datadownload_sky_datagenerate_moon_latlonggenerate_planetsgenerate_skygenerate_sky_latlonggenerate_starslist_sky_data
Dependencies:base64encclicpp11crayondigestgluehmsjpegjsonlitelibimathlibopenexrlifecyclemagrittrpillarpkgconfigpngprettyunitsprogressR6raggrayimagerayvertexRcppRcppArmadilloRcppThreadrlangspacefillrstbimageheadersstringiswephRsystemfontstextshapingtibbletifftinydngutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Sample Prague sky radiance at a chosen wavelength. | calculate_sky_radiance |
| Sample a direction from the Prague model. | calculate_sky_values |
| Sample sun luminance at the disk center. | calculate_sun_brightness |
| Clear cached sky data files | clear_sky_data |
| Download Prague Sky Model Coefficient Data | download_sky_data |
| Generate the atmosphere with the moon | generate_moon_latlong |
| Generate a bright-planet image array | generate_planets |
| Generate a Hosek-Wilkie sky dome array | generate_sky |
| Generate a location and time-specific sky dome (optionally with stars) | generate_sky_latlong |
| Generate a star-field array aligned with 'generate_sky()' | generate_stars |
| List cached sky data files | list_sky_data |
