git: 719805334758 - main - astro/calcmysky: new port had been added (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Oct 2022 04:07:29 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=7198053347586b93bf65414a3f6fa9aca50bcc1c commit 7198053347586b93bf65414a3f6fa9aca50bcc1c Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-10-05 04:06:26 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-10-05 04:06:26 +0000 astro/calcmysky: new port had been added (+) 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 draw realistic sky in applications such as planetaria, e.g. `astro/stellarium'. --- astro/Makefile | 1 + astro/calcmysky/Makefile | 21 +++++++++++++++++++++ astro/calcmysky/distinfo | 3 +++ astro/calcmysky/pkg-descr | 17 +++++++++++++++++ astro/calcmysky/pkg-plist | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 89 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index 7ba76e4f4356..44139b635c3b 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -3,6 +3,7 @@ SUBDIR += R-cran-maptools SUBDIR += accrete SUBDIR += astrometry + SUBDIR += calcmysky SUBDIR += celestia SUBDIR += celestia-gtk SUBDIR += cfitsio 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 <bsd.port.mk> 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