tylermorganwall / rayrender

A pathtracer for R. Build and render complex scenes and 3D data visualizations directly from R
http://www.rayrender.net
622 stars 42 forks source link

Any plan or way to support GPU Rendering? #20

Closed ekianjo closed 3 years ago

ekianjo commented 3 years ago

Hi, very cool project Tyler! I was wondering if you have any plan to support offloading the rendering to a GPU if available? Would it be possible to use CUDA or OpenCL ?

tylermorganwall commented 3 years ago

None anytime in the near future—most GPU-based packages quickly get removed from the CRAN due to compatibility issues, and CUDA is not supported on Windows using the mingw toolchain.

If R has a significant overhaul in the future that focuses on GPU-computing and improves the ecosystem for packages using GPUs, then I would consider re-hauling the renderer, but it's too much of an undertaking until then.

ekianjo commented 3 years ago

Thanks Tyler, I understand.