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.
-
+
+
1 General
+
+
+
This program is free software: released under Creative Commons Zero
+(CC0) license
Goal of this project is to show off capabilities and API usage of
@@ -260,58 +290,72 @@ 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.
+
Test scene that is generated simultaneously using:
@@ -319,16 +363,12 @@ Test scene that is generated simultaneously using:
conventional polygons
-
for realtime navigation, and
-
-
-
+
for realtime navigation, and
+
voxels
-
for on-demand raytracing
-
-
-
+
for on-demand raytracing
+
@@ -340,8 +380,8 @@ datastructure.
-
-
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
@@ -349,30 +389,24 @@ devised by the British mathematician John Horton Conway in 1970.
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.
+
Dead cell becomes alive if neighbors count is exactly 3.
+
+
-
-
+
+
-
+
Current application projects 2D game grid/matrix onto three
@@ -383,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
-
-
4.3 Text editors
+
+
4.3 Text editors
-
-
+
+
-
+
Initial test for creating user interfaces in 3D and:
-
window focus handling
-
-
picking objecs using mouse
-
-
redirecting keyboard input to focused window
-
+
window focus handling
+
picking objecs using mouse
+
redirecting keyboard input to focused window
@@ -472,48 +503,41 @@ again, window must be unfocused first using ESC key.
Improve focus handling:
Perhaps add shortcut to navigate world without exiting entire
-stack of focus.
-
-
Possibility to retain and reuse recently focused elements.
-
+stack of focus.
+
Possibility to retain and reuse recently focused elements.
Store user location in the world and view direction with the
focused window. So that when returning focus to far away object,
-user is redirected also to proper location in the world.
-
-
-
+user is redirected also to proper location in the world.
+
Possibility to store recently visited locations in the world and
-return to them.
-
-
-
+return to them.
+
-
-
4.4 Mathematical formulas
+
+
4.4 Mathematical formulas
-
-
+
+
-
+
TODO: instead of projecting 2D visualizations onto 3D space,
-visualize some formula using all 3 dimensions avaliable.
-
+visualize some formula using all 3 dimensions avaliable.
-
-
4.5 Sinus heightmaps and sphere
+
+
4.5 Sinus heightmaps and sphere
-
-
+
+
-
+
Simple test scene. Easy to implement and looks nice.
@@ -521,34 +545,11 @@ Simple test scene. Easy to implement and looks nice.