An open API service indexing awesome lists of open source software.

https://github.com/pwhiddy/raymarch-engine

Minimal ray-traced game engine with gravity affected rays
https://github.com/pwhiddy/raymarch-engine

game-engine gravity opengl portal puzzle raymarching-distance-fields raytracing wormhole

Last synced: about 2 months ago
JSON representation

Minimal ray-traced game engine with gravity affected rays

Awesome Lists containing this project

README

        

# Raymarch Engine

## An improved version of this repo can be found here: https://github.com/pwhiddy/time

An empty room with tiled walls and some luxurious y=sin(x*z) floors
![alt tag](http://i.imgur.com/n5JWmFI.png)

Player has created a couple wormholes
![alt tag](http://i.imgur.com/iwVP7II.png)

Getting dangerously close
![alt tag](http://i.imgur.com/R8AOVm9.png)

All graphics are ray-traced in real time. Geometry is defined as signed distance fields.
The player can create wormhole portals that bend light as it travels, creating a very similar effect to that seen in interstellar.
An example of useage can be found in initialize.cpp

Dependencies: glfw, glew, glm