Skip to content

3d visualizer, using raymarching technology to draw vectorized primitives

Notifications You must be signed in to change notification settings

MucTepDayH16/RayTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayTracing

About

3d visualizer, using raymarching technology to draw vectorized primitives

Build requirements

  • CMake >= 3.17
  • NVidia GPU and CUDA toolkit >= 11.0
  • Simple DirectMedia Layer library (SDL) >= 2.0

Building

To build the application I will enter next commands in shell:

mkdir Build
cmake -B./Build -DCMAKE_BUILD_TYPE=Release .
cmake --build ./Build --target all

Execution

On Windows you need to add SDL2.dll runtime library to ./Build directory. It is located in ./SDL2extra/win_x64 or ./SL2extra/win_x86, depending on your system.

Run ./Build/RayTracing (./Build/RayTracing.exe on Windows) with arguments:

  • --width WIDTH - replace WIDTH with your desired window width;
  • --height HEIGHT - replace HEIGHT with your desired window height;
  • --input FILE - specify desired scene. Template scenes are located in ./Scenes directory.

Future Work

  • To test Linux-compliance;
  • To add OpenCL compute method for Radeon GPU's compatibility;
  • To add more template scenes and scene creator;
  • To add better illumination and materials.

About

3d visualizer, using raymarching technology to draw vectorized primitives

Topics

Resources

Stars

Watchers

Forks