Setup - PhilipPragerUrbina/DOGERAY GitHub Wiki

System Requirements:

-CUDA compatible NVIDA GPU

-Visual studio 2019 capable of running c++

-Blender 2.9

In order to build:

  1. Install CUDA: https://developer.nvidia.com/cuda-downloads

  2. Download SDL2 and put it somewhere: https://www.libsdl.org/download-2.0.php

  3. Open the visual studio project and change the vc++ directories to where the folders are on your computer

  4. You may have to address some platform specific bugs. Please report them if you can not fix them.

  5. To have optimal performance on your GPU you may need to change a few settings:

-The resolution in blender plugin

-The threads per block in CudaStarter() function

-other blender plugin settings such as number of bounces

If the above doesn't work you can try creating a new project instead:

1)Install CUDA

2)Create new CUDA project from Visual studio template

3)Set up SDL2: https://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/msvc2019/index.php

4)Paste in kernel.cu

Setting up blender plugin:

1)install like any other plugin in blender 2.9