Bubbles ? Bubbles ! A small real time ray-tracer/marcher written in CUDA.
This is Thibaut Pérami and Mathieu Fehr project for the M2 class "Computer Graphics and Visualization" in the MPRI.
You need cmake
, cuda
, and glfw
to build the executable.
ccmake
can be used to change the compilation parameters (to change the initial size of the window for instance).
The executable will be bin/Bubbles
These are the shortcuts when launching the program (these shortcuts are based on an azerty keyboard):
T
,Y
,U
,I
,O
,P
load different scenesX
change the position of the light to the position of the cameraG
activate andV
deactivate the creation of bubble in pipesH
activate andB
deactivate the movement of bubblesJ
activate andN
deactivate the movement of lightK
increase and,
decrease the speed of the bubblesL
increase and;
decrease the gammaLeft Click
fire a bullet from the camera position in the direction of the cameraRight Click
creates a bullet in the camera position