This week i have resurrected my old Real time Ray Tracer for the 4k competition and have spent time bringing it to an inital working state.
This is the first version which is real-time and allows for user interaction.
As it is a first version is has some flaws:
-It is obviously larger than 4096 bytes at the moment
-not a game yet (I plan to make a poor clone of Decsent by Parallax Software )
-only primitive are spheres (will only consist of Cylinders, Spheres and Triangles )
-not heavily optimised (there is a large slow down when large portions of the screen are covered with spheres)
-makes use of many short lived objects which makes it slow ( I will be converting it to procedual)
-no textures (will be procedual eventually and if i can fit it in 4k)
-only one directional light + ambient (will have localised lighting)
You can try it out:
Directions:
up arrow: move forward
back arrow: move backward
left arrow: roll left
right arrow: roll right
Esc: quit
Use the mouse to change look direction.
The FPS are limited to ~33