diff --git a/astro/Makefile b/astro/Makefile index 7ba76e4f4356..44139b635c3b 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -1,143 +1,144 @@ COMMENT = Astronomical ports SUBDIR += R-cran-maptools SUBDIR += accrete SUBDIR += astrometry + SUBDIR += calcmysky SUBDIR += celestia SUBDIR += celestia-gtk SUBDIR += cfitsio SUBDIR += erfa SUBDIR += fowsr SUBDIR += foxtrotgps SUBDIR += geographiclib SUBDIR += gkrellmoon2 SUBDIR += gnuastro SUBDIR += gpsbabel SUBDIR += gpsbabel14 SUBDIR += gpscorrelate SUBDIR += gpsd SUBDIR += gpsman SUBDIR += gpsprune SUBDIR += gpstk SUBDIR += gpxloggerd SUBDIR += indiwebmanagerapp SUBDIR += jday SUBDIR += josm SUBDIR += kosmindoormap SUBDIR += kosmorro SUBDIR += kstars SUBDIR += libgal SUBDIR += libnova SUBDIR += libosmium SUBDIR += libosmpbf SUBDIR += luna SUBDIR += marble SUBDIR += match SUBDIR += mepo SUBDIR += merkaartor SUBDIR += mkgmap SUBDIR += mkgmap-splitter SUBDIR += mymoon SUBDIR += nightfall SUBDIR += opencpn SUBDIR += openuniverse SUBDIR += oskar SUBDIR += osmosis SUBDIR += p5-Astro SUBDIR += p5-Astro-ADS SUBDIR += p5-Astro-App-Satpass2 SUBDIR += p5-Astro-Catalog SUBDIR += p5-Astro-Constants SUBDIR += p5-Astro-Coords SUBDIR += p5-Astro-DSS SUBDIR += p5-Astro-FITS-CFITSIO SUBDIR += p5-Astro-FITS-Header SUBDIR += p5-Astro-Flux SUBDIR += p5-Astro-Hipparcos SUBDIR += p5-Astro-MoonPhase SUBDIR += p5-Astro-PAL SUBDIR += p5-Astro-SIMBAD SUBDIR += p5-Astro-SIMBAD-Client SUBDIR += p5-Astro-SpaceTrack SUBDIR += p5-Astro-SunTime SUBDIR += p5-Astro-Sunrise SUBDIR += p5-Astro-Telescope SUBDIR += p5-Astro-WaveBand SUBDIR += p5-Astro-satpass SUBDIR += p5-GPS SUBDIR += p5-GPS-Babel SUBDIR += p5-GPS-OID SUBDIR += p5-GPS-Point SUBDIR += p5-Geo-METAR SUBDIR += p5-Misc-Quality SUBDIR += p5-Net-GPSD3 SUBDIR += p5-Starlink-AST SUBDIR += p5-Weather-Underground SUBDIR += pal SUBDIR += phd2 SUBDIR += phoon SUBDIR += pp3 SUBDIR += ptiger SUBDIR += py-astlib SUBDIR += py-astral SUBDIR += py-astropy SUBDIR += py-astropy-helpers SUBDIR += py-ephem SUBDIR += py-extension-helpers SUBDIR += py-horoscopegenerator SUBDIR += py-indiweb SUBDIR += py-jplephem SUBDIR += py-kosmorrolib SUBDIR += py-metar SUBDIR += py-metpy SUBDIR += py-pyerfa SUBDIR += py-pykep SUBDIR += py-pymeeus SUBDIR += py-pymetar SUBDIR += py-pysofa SUBDIR += py-pywapi SUBDIR += py-ro SUBDIR += py-sgp4 SUBDIR += py-skyfield SUBDIR += py-skyfield-data SUBDIR += py-spacetrack SUBDIR += py-spktype01 SUBDIR += py-spktype21 SUBDIR += pykep SUBDIR += pyweather SUBDIR += qmapshack SUBDIR += readosm SUBDIR += rmap SUBDIR += routino SUBDIR += sextractor SUBDIR += siril SUBDIR += sofa SUBDIR += sscalc SUBDIR += stardates SUBDIR += starplot SUBDIR += stars SUBDIR += stellarium SUBDIR += stellarsolver SUBDIR += sunclock SUBDIR += sunwait SUBDIR += swe SUBDIR += tclgeomap SUBDIR += tkgeomap SUBDIR += wcslib SUBDIR += weather SUBDIR += wmglobe SUBDIR += wmjupiter SUBDIR += wmmoonclock SUBDIR += wmsolar SUBDIR += wmspaceweather SUBDIR += wmsun SUBDIR += xearth SUBDIR += xeartk SUBDIR += xephem SUBDIR += xmoontool SUBDIR += xphoon SUBDIR += xplanet SUBDIR += xtide SUBDIR += xworld .include diff --git a/astro/calcmysky/Makefile b/astro/calcmysky/Makefile new file mode 100644 index 000000000000..3e996a824435 --- /dev/null +++ b/astro/calcmysky/Makefile @@ -0,0 +1,21 @@ +PORTNAME= ${GH_PROJECT:tl} +PORTVERSION= 0.1.0 +DISTVERSIONPREFIX= v +CATEGORIES= astro + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Simulator of light scattering by planetary atmospheres +WWW= https://github.com/10110111/CalcMySky + +LICENSE= GPLv3 + +BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Dense:math/eigen3 \ + ${LOCALBASE}/include/glm/glm.hpp:math/glm + +USES= cmake:testing localbase qt:5 +USE_GITHUB= yes +GH_ACCOUNT= 10110111 +GH_PROJECT= CalcMySky +USE_QT= buildtools:build qmake:build core gui opengl widgets + +.include diff --git a/astro/calcmysky/distinfo b/astro/calcmysky/distinfo new file mode 100644 index 000000000000..ebb193c0e7e8 --- /dev/null +++ b/astro/calcmysky/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1663537745 +SHA256 (10110111-CalcMySky-v0.1.0_GH0.tar.gz) = 830f0332facc6ba5e45b9e7c4791346d32ec1af5a881d203c01700bd8802cb20 +SIZE (10110111-CalcMySky-v0.1.0_GH0.tar.gz) = 2150736 diff --git a/astro/calcmysky/pkg-descr b/astro/calcmysky/pkg-descr new file mode 100644 index 000000000000..4f35681d4bc9 --- /dev/null +++ b/astro/calcmysky/pkg-descr @@ -0,0 +1,17 @@ +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. diff --git a/astro/calcmysky/pkg-plist b/astro/calcmysky/pkg-plist new file mode 100644 index 000000000000..49ff5fc4f5ef --- /dev/null +++ b/astro/calcmysky/pkg-plist @@ -0,0 +1,47 @@ +bin/calcmysky +bin/showmysky +include/ShowMySky/AtmosphereRenderer.hpp +include/ShowMySky/Exception.hpp +include/ShowMySky/Settings.hpp +lib/ShowMySky/cmake/ShowMySkyConfig-%%CMAKE_BUILD_TYPE%%.cmake +lib/ShowMySky/cmake/ShowMySkyConfig.cmake +lib/libShowMySky.so +share/CalcMySky/shaders/accumulate-single-scattering-texture.frag +share/CalcMySky/shaders/calc-view-dir.h.glsl +share/CalcMySky/shaders/common-functions.frag +share/CalcMySky/shaders/common-functions.h.glsl +share/CalcMySky/shaders/compute-direct-irradiance.frag +share/CalcMySky/shaders/compute-eclipsed-double-scattering.frag +share/CalcMySky/shaders/compute-eclipsed-single-scattering.frag +share/CalcMySky/shaders/compute-indirect-irradiance.frag +share/CalcMySky/shaders/compute-light-pollution-multiple-scattering.frag +share/CalcMySky/shaders/compute-light-pollution-single-scattering.frag +share/CalcMySky/shaders/compute-multiple-scattering.frag +share/CalcMySky/shaders/compute-scattering-density.frag +share/CalcMySky/shaders/compute-single-scattering.frag +share/CalcMySky/shaders/compute-transmittance-functions.h.glsl +share/CalcMySky/shaders/compute-transmittance.frag +share/CalcMySky/shaders/copy-scattering-texture-2d.frag +share/CalcMySky/shaders/copy-scattering-texture-3d.frag +share/CalcMySky/shaders/direct-irradiance.frag +share/CalcMySky/shaders/direct-irradiance.h.glsl +share/CalcMySky/shaders/eclipsed-direct-irradiance.frag +share/CalcMySky/shaders/eclipsed-direct-irradiance.h.glsl +share/CalcMySky/shaders/multiple-scattering-light-pollution.frag +share/CalcMySky/shaders/multiple-scattering-light-pollution.h.glsl +share/CalcMySky/shaders/multiple-scattering.frag +share/CalcMySky/shaders/multiple-scattering.h.glsl +share/CalcMySky/shaders/render.frag +share/CalcMySky/shaders/shader.geom +share/CalcMySky/shaders/shader.vert +share/CalcMySky/shaders/single-scattering-eclipsed.frag +share/CalcMySky/shaders/single-scattering-eclipsed.h.glsl +share/CalcMySky/shaders/single-scattering-light-pollution.frag +share/CalcMySky/shaders/single-scattering-light-pollution.h.glsl +share/CalcMySky/shaders/single-scattering.frag +share/CalcMySky/shaders/single-scattering.h.glsl +share/CalcMySky/shaders/texture-coordinates.frag +share/CalcMySky/shaders/texture-coordinates.h.glsl +share/CalcMySky/shaders/texture-sampling-functions.frag +share/CalcMySky/shaders/texture-sampling-functions.h.glsl +share/CalcMySky/shaders/version.h.glsl