From da8f2647b4a28b9b2f1739f2fda955041f73663f Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sat, 1 Feb 2020 13:51:49 +0200 Subject: [PATCH] Added runnable jar file to the web site --- doc/.gitignore | 2 ++ doc/index.html | 27 +++++++++++++++++++++------ doc/index.org | 14 ++++++++++++-- tools/update web site | 11 +++++++++++ 4 files changed, 46 insertions(+), 8 deletions(-) create mode 100644 doc/.gitignore 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.

+ +

+Download runnable JAR file: sixth-3d-demos.jar +

+ +

+To start demo application, use command: +

+
+java -jar sixth-3d-demos.jar
+
+
+

3 Navigating in space

@@ -302,9 +316,10 @@ All sample scenes below are rendered at interactive framerates.
-

4 Example applications in this repository

+

4 Example scenes in this repository

-
+
+

4.1 Raytracing through voxels

@@ -531,7 +546,7 @@ Simple test scene. Easy to implement and looks nice.
  • 2. Overview
  • 3. Navigating in space
  • -
  • 4. Example applications in this repository +
  • 4. Example scenes in this repository
  • 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 "" -- 2.20.1