Sixth 3D engine demos
+Sixth 3D engine demos
+Table of Contents
+ +1 General
+1 General
- This program is free software: released under Creative Commons Zero -(CC0) license - +(CC0) license
- Program author:
-
-
- Svjatoslav Agejenko - -
- Homepage: https://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 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 @@ -251,7 +290,7 @@ Goal of this project is to show off capabilities and API usage of
-All example scenes in this repository render at interactive +All example scenes in this repository render at interactive framerates.
@@ -264,60 +303,59 @@ 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 Example scenes in this repository
+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 @@ -355,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 @@ -389,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 |