commit def700ee7a43cf210d408033ed83ca7b90ecc86d
parent a63d5337580013981c00c758b03c0006de1b6171
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 19 May 2022 11:14:39 +0200
htrdr: adds the mods page
Diffstat:
6 files changed, 50 insertions(+), 3 deletions(-)
diff --git a/htrdr/.gitignore b/htrdr/.gitignore
@@ -1,5 +1,6 @@
htrdr.html
htrdr-docs.html
+htrdr-mods.html
htrdr-atmosphere-spk.html
htrdr-combustion-spk.html
htrdr-*-GNU-Linux64/
diff --git a/htrdr/Makefile b/htrdr/Makefile
@@ -90,7 +90,7 @@ HTML=\
htrdr-atmosphere-spk.html\
htrdr-combustion-spk.html\
htrdr-docs.html\
- mods/htrdr-urban.html
+ htrdr-mods.html
build: .sig .man
@$(MAKE) -fMakefile -f .sig -f .man build_all
@@ -184,7 +184,7 @@ $(COMSPK_README):
################################################################################
# Mods
################################################################################
-mods/htrdr-urban.html: mods/htrdr-urban.html.in htrdr_build.sh
+htrdr-mods.html: mods/htrdr-urban.html.in htrdr_build.sh
@echo "Building $@"
@$(SHELL) htrdr_build.sh mods > $@
diff --git a/htrdr/htrdr_build.sh b/htrdr/htrdr_build.sh
@@ -53,7 +53,17 @@ documentations()
mods()
{
- print_header -s htrdr -n Mods -r ../../
+ print_header -s htrdr -n Mods -r ../
+
+ echo "<header>"
+ echo " <h1>Modifications</h1>"
+ echo "</header>"
+
+ echo "<code>htrdr</code> is free software. Far from a simple <i>credo</i>,"
+ echo "the user is invited to study, modify and redistribute it"
+ echo "according to his own needs. This page lists some of these forks"
+ echo "developed by the <code>htrdr</code> community."
+
cat mods/htrdr-urban.html.in
print_footer
}
diff --git a/htrdr/mods/Rendering_icif_district_spp200.jpg b/htrdr/mods/Rendering_icif_district_spp200.jpg
@@ -0,0 +1 @@
+#$# git-wad cdd28e25ccb72a10dad1f34eed834f254f80b615d546ab67d2d18745ebb58eb2 342698
+\ No newline at end of file
diff --git a/htrdr/mods/htrdr-urban.html.in b/htrdr/mods/htrdr-urban.html.in
@@ -0,0 +1,29 @@
+<h2 id="urban"><code style="color: #000000">htrdr</code> Urban</h2>
+
+<div class="news">
+ <ul>
+ <li><a href="https://gitlab.com/edstar/htrdr/-/tree/main_urban">Git</a>
+ repository</li>
+ </ul>
+</div>
+
+<p>The <code>htrdr</code> Urban program is a fork of <code>htrdr</code> 0.6.1
+that simulates radiative transfer in scenes composed of an atmospheric gas
+mixture, clouds, and a ground with buildings and vegetation. In addition of
+<b>visible or infrared rendering</b> of scenes and calculation of <b>solar or
+ifrared irradiation</b>, <code>htrdr</code> Urban adds the calculation of
+<b>radiative flux density</b> incident on or absorbed by a group of triangles
+belonging to the ground geometry (e.g. building, walls, windows, roofs,
+<i>etc.</i>).</p>
+
+<div class="img" style="width: 20em">
+ <a href="mods/Rendering_icif_district_spp200.jpg">
+ <img src="mods/Rendering_icif_district_spp200.jpg" alt="icif_district">
+ </a>
+ <div class="caption">
+ Rendering in the visible part of the solar spectrum of a procedurally
+ generated dense mid-rise city. The number of pixels is 1500x800, the vertical
+ field of view 70°, and the number of samples per pixel 200.
+ </div>
+</div>
+
diff --git a/meso-menu.sh b/meso-menu.sh
@@ -137,6 +137,11 @@ print_htrdr_sub_menu() {
echo " <li><a href=\"${root}htrdr/htrdr-combustion-spk.html\">Combustion</a></li>"
fi
echo " </ul></li>"
+ if [ "${name}" = "Mods" ]; then
+ echo " <li id=\"cur\">Modifications</li>"
+ else
+ echo " <li><a href=\"${root}htrdr/htrdr-mods.html\">Modifications</a></li>"
+ fi
echo " <li><a href=\"https://gitlab.com/meso-star/htrdr\">Git repository</a></li>"
echo " </ul>"
echo " <div id=\"info\">"