A Minecraft like game with ray tracing based on NVIDIA Optix7.3.
- Install Required Packages
- CUDA 10.1 or 11.3
- OptiX 7.3 SDK
- latest driver
- cmake
- Download or clone the source repository
git clone https://github.com/19reborn/Ray-Tracing-Project.git
- Open
CMake GUI
from your start menu- point "source directory" to the downloaded source directory (not directory 'src')
- point "build directory" to
- click 'configure', then specify the generator as Visual Studio 2017 or 2019, and the Optional platform as x64. If CUDA, SDK, and compiler are all properly installed this should enable the 'generate' button. If not, make sure all dependencies are properly installed, "clear cache", and re-configure.
- click 'generate' (this creates a Visual Studio project and solutions)
- click 'open project' (this should open the project in Visual Studio)
- Open folder as a CLion project
- add cmake option
-G "Visual Studio 16 2019"
- QEsc Quit the game
- WASD Move Forward / Left / Backward / Right
- Left Shift Run
- Space Jump
- M Fly Mode
- F Get the same block as targeted
- B Switch to thinner block
- L Place light
- K Switch the color of the light
- T Particle effect switch
- G /tp spawn
- Left Ctrl Landing in Fly Mode
- F5 Save
- F6 Activate real-time shadow
- F10 F11 Zoom the window size - / +
- Scroll: Switch the type of block to place