X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d-demos.git;a=blobdiff_plain;f=doc%2Findex.html;h=d25b2a93138108da9ed2ea6b41467d84fb0fdfff;hp=680aad898d7a76e00bbf51b837452b90dac4b213;hb=e397ff8bf4ebcbcec2c229c80f223baef9508e16;hpb=a936df46b9819a3b0b4dd173082a5523625277fa diff --git a/doc/index.html b/doc/index.html index 680aad8..d25b2a9 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1,202 +1,551 @@ - - - + + - - - Sixth 3D engine demos - - + + + + + + + + + - -
-

Sixth 3D engine demos

-
-

Table of Contents

-
-
    -
  • 1. Description
  • +
    +

    Sixth 3D engine demos

    + +
    +

    1 General

    +
    +
    + +
    +

    1.1 Source code

    +
    + +
    +
    +
    + +
    +

    2 Overview

    +
    +

    +Goal of this project is to show off capabilities and API usage of +Sixth 3D engine. +

    + +

    +All sample scenes below are rendered at interactive framerates. +

    +
    +
    +
    +

    3 Navigating in space

    +
    + + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + +
    keyresult
    cursor keysmove: left, right, forward, backward
    mouse scroll wheelmove: up, down
    dragging with mouselook around
    +
    -
    + +
    +

    4 Samples

    +
    +
    +

    4.1 Raytracing through voxels

    +
    + +
    +

    raytracing fractal in voxel polygon hybrid scene.png +

    +
    + +

    +Test scene that is generated simultaneously using: +

    +
      +
    • conventional polygons +
        +
      • for realtime navigation, and +
      • +
      +
    • +
    • voxels +
    • +
    -
  • This program is free software; you can redistribute it and/or modify it under -the terms of version 3 of the GNU Lesser General Public License or later as -published by the Free Software Foundation.
  • +

    +Instead of storing voxels in dumb [X * Y * Z] array, dynamically +partitioned octree is used to compress data. Press "r" key anywhere in +the scene to raytrace current view through compressed voxel +datastructure. +

    +
    +
    -
  • Program author: +
    +

    4.2 Conway's Game of Life

    +
    +

    +The Game of Life, also known simply as Life, is a cellular automaton +devised by the British mathematician John Horton Conway in 1970. +

    + + +
  • +
+ + +
+

life.png +

+
+ +

+Current application projects 2D game grid/matrix onto three +dimensional space. Extra dimension (height) is used to visualize +history (previous iterations) using glowing dots suspended in space. +

+ +

+Usage: +

+ + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
keyresult
mouse click on the cell (cell)toggles cell state
<space>next iteration
ENTERnext iteeration with the history
"c"clear the matrix
+
+
+ +
+

4.3 Text editors

+
+ +
+

text editors.png +

+
-
  • other applications hosted at svjatoslav.eu
  • +

    +Initial test for creating user interfaces in 3D and: +

    +
      +
    • window focus handling +
    • +
    • picking objecs using mouse +
    • +
    • redirecting keyboard input to focused window +
    -
    -

    1 Description

    -

    -Goal of this project is to show off capabilities of Sixth 3D engine. Also to -show examples of its usage. +Window focus acts like a stack. +

    + +

    +When window is clicked with the mouse, previously focused window (if +any) is pushed to the focus stack and new window receives focus. Red +frame appears around the window to indicate this. +

    + +

    +When ESC key is pressed, window focus is returned to previous window +(if any). +

    + +

    +When any window is focused, all keyboard input is redirected to that +window, including cursor keys. To be able to navigate around the world +again, window must be unfocused first using ESC key.

    -
    -

    screenshots.png +

      +
    • TODO: +
        +
      • Improve focus handling: +
          +
        • Perhaps add shortcut to navigate world without exiting entire +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. +
        • +
        +
      • +
      • Possibility to store recently visited locations in the world and +return to them. +
      • +
      +
    • +
    +
    +
    +
    +

    4.4 Mathematical formulas

    +
    + +
    +

    mathematical formulas.png

    +
    + +
      +
    • TODO: instead of projecting 2D visualizations onto 3D space, +visualize some formula using all 3 dimensions avaliable. +
    • +
    +
    +
    +

    4.5 Sinus heightmaps and sphere

    +
    + +
    +

    sinus heightmaps and sphere.png +

    +

    -Sample scenes rendered at interactive framerates by Sixth 3D engine. +Simple test scene. Easy to implement and looks nice.

    -
    -

    Author: Svjatoslav Agejenko

    -

    Created: 2016-08-23 Tue 09:35

    -

    Validate

    +
    +