From: Svjatoslav Agejenko
Date: Sat, 1 Feb 2020 11:51:49 +0000 (+0200)
Subject: Added runnable jar file to the web site
X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=da8f2647b4a28b9b2f1739f2fda955041f73663f;p=sixth-3d-demos.git
Added runnable jar file to the web site
---
diff --git a/doc/.gitignore b/doc/.gitignore
new file mode 100644
index 0000000..0cc8fd2
--- /dev/null
+++ b/doc/.gitignore
@@ -0,0 +1,2 @@
+apidocs/
+sixth-3d-demos.jar
diff --git a/doc/index.html b/doc/index.html
index 91a98ef..959ee66 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -2,7 +2,7 @@
Sixth 3D engine demos
-
+
@@ -260,10 +260,24 @@ Goal of this project is to show off capabilities and API usage of
-All sample scenes below are rendered at interactive framerates.
+All example scenes in this repository render at interactive
+framerates.
@@ -546,7 +561,7 @@ Simple test scene. Easy to implement and looks nice.
diff --git a/doc/index.org b/doc/index.org
index 6ca368f..0fce973 100644
--- a/doc/index.org
+++ b/doc/index.org
@@ -38,7 +38,14 @@
Goal of this project is to show off capabilities and API usage of
[[https://www3.svjatoslav.eu/projects/sixth-3d/][Sixth 3D]] engine.
-All sample scenes below are rendered at interactive framerates.
+All [[id:5f88b493-6ab3-4659-8280-803f75dbd5e0][example scenes in this repository]] render at interactive
+framerates.
+
+Download runnable JAR file: [[file:sixth-3d-demos.jar]]
+
+To start demo application, use command:
+: java -jar sixth-3d-demos.jar
+
* Navigating in space
| key | result |
|--------------------------------+--------------------------------------|
@@ -46,7 +53,10 @@ All sample scenes below are rendered at interactive framerates.
| mouse scroll wheel | move: up, down |
| dragging with mouse | look around |
-* Example applications in this repository
+* Example scenes in this repository
+:PROPERTIES:
+:ID: 5f88b493-6ab3-4659-8280-803f75dbd5e0
+:END:
** Raytracing through voxels
[[file:screenshots/raytracing fractal in voxel polygon hybrid scene.png]]
diff --git a/tools/update web site b/tools/update web site
index 57963a5..7442ab6 100755
--- a/tools/update web site
+++ b/tools/update web site
@@ -3,6 +3,17 @@ cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
cd ..
+# build application and javadoc
+mvn clean package
+
+# copy generated javadoc for publishing on website
+rm -rf doc/apidocs/
+cp -r target/apidocs/ doc/
+
+# copy runnable jar file for publishing on website
+cp target/sixth-3d-demos.jar doc/
+
+# deploy generated project homepage to server
rsync -avz --delete -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d-demos/
echo ""