Skip to content

A Minecraft like game with ray tracing based on NVIDIA Optix7.3.

Notifications You must be signed in to change notification settings

19reborn/Optix7Craft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Optix7Craft

A Minecraft like game with ray tracing based on NVIDIA Optix7.3.

ScreenShots

Building under Windows

  • 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

Visual Studio

  • Open CMake GUI from your start menu
    • point "source directory" to the downloaded source directory (not directory 'src')
    • point "build directory" to /build (agree to create this directory when prompted)
    • 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)

CLion

  • Open folder as a CLion project
  • add cmake option -G "Visual Studio 16 2019"

Game Control

  • 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

About

A Minecraft like game with ray tracing based on NVIDIA Optix7.3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •