1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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'.
This commit is contained in:
Alexey Dokuchaev 2022-10-05 04:06:26 +00:00
parent 2cbfc9c923
commit 7198053347
5 changed files with 89 additions and 0 deletions

View File

@ -3,6 +3,7 @@
SUBDIR += R-cran-maptools
SUBDIR += accrete
SUBDIR += astrometry
SUBDIR += calcmysky
SUBDIR += celestia
SUBDIR += celestia-gtk
SUBDIR += cfitsio

21
astro/calcmysky/Makefile Normal file
View File

@ -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>

3
astro/calcmysky/distinfo Normal file
View File

@ -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

17
astro/calcmysky/pkg-descr Normal file
View File

@ -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.

47
astro/calcmysky/pkg-plist Normal file
View File

@ -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