Sixth 3D engine demos
+Sixth 3D engine demos
+Table of Contents
+ +1 General
+1 General
-
-
- This is a subproject of Sixth 3D which in turn is a subproject of -Sixth. - - -
- This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as -published by the Free Software Foundation, either version 3 of the -License, or (at your option) any later version. - +
- This program is free software: released under Creative Commons Zero +(CC0) license
- Program author:
-
-
- Svjatoslav Agejenko - -
- Homepage: http://svjatoslav.eu - -
- Email: mailto://svjatoslav@svjatoslav.eu - -
+ - Svjatoslav Agejenko +
- Homepage: https://svjatoslav.eu +
- Email: mailto://svjatoslav@svjatoslav.eu +
1.1 Source code
+1.1 Source code
-
-
- Download latest snapshot in TAR GZ format - +
- Download latest snapshot in TAR GZ format -
- Browse Git repository online - +
- Browse Git repository online -
- Clone Git repository using command: +
+Clone Git repository using command: +
-git clone http://www2.svjatoslav.eu/git/sixth-3d-demos.git -
-
+git clone https://www2.svjatoslav.eu/git/sixth-3d-demos.git
+
2 Overview
+2 Overview
Goal of this project is to show off capabilities and API usage of -Sixth 3D engine. +Sixth 3D engine. +
+ ++All example scenes in this repository render at interactive +framerates.
-All sample scenes below are rendered 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
+ +3 Navigating in space
key | -result | +key | +result |
---|---|---|---|
cursor keys | -move: left, right, forward, backward | +cursor keys | +move: left, right, forward, backward |
mouse scroll wheel | -move: up, down | +mouse scroll wheel | +move: up, down |
dragging with mouse | -look around | +dragging with mouse | +look around |
4 Samples
+4 Example scenes in this repository
4.1 Raytracing through voxels
+4.1 Raytracing through voxels
4.2 Conway's Game of Life
+4.2 Conway's Game of Life
The Game of Life, also known simply as Life, is a cellular automaton @@ -345,30 +389,24 @@ devised by the British mathematician John Horton Conway in 1970.
-
-
- https://en.wikipedia.org/wiki/Conway's_Game_of_Life +
- https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
- Game rules:
-
-
- 2 cell states: alive / dead - -
- Each cell sees 8 neighboring cells. - +
- 2 cell states: alive / dead +
- Each cell sees 8 neighboring cells.
- If alive cell neighbors count is 2 or 3, then cell survives, -otherwise it dies. - -
- Dead cell becomes alive if neighbors count is exactly 3. - -
-
+otherwise it dies.
+ - Game rules:
- Dead cell becomes alive if neighbors count is exactly 3. +
+
- +
Current application projects 2D game grid/matrix onto three @@ -379,64 +417,61 @@ history (previous iterations) using glowing dots suspended in space.
Usage:
-key | -result | +key | +result |
---|---|---|---|
mouse click on the cell (cell) | -toggles cell state | +mouse click on the cell (cell) | +toggles cell state |
<space> | -next iteration | +<space> | +next iteration |
ENTER | -next iteeration with the history | +ENTER | +next iteeration with the history |
"c" | -clear the matrix | +"c" | +clear the matrix |