tylermorganwall / rayshader

R Package for 2D and 3D mapping and data visualization
https://www.rayshader.com/
2.06k stars 214 forks source link

Multi-threading? #31

Closed ekianjo closed 5 years ago

ekianjo commented 5 years ago

I noticed that when rendering, rayshader seems to only use a single thread (or at least a single core). Is there a way, in the future, to support rendering with multiple cores? It would significantly speed up the workload for animations.

tylermorganwall commented 5 years ago

Are you referring to plot_3d()? That cannot be parallelized, as the rendering is done by the rgl package, which is single threaded. The raytracing functions are already parallelized by setting parallel = TRUE.

tylermorganwall commented 5 years ago

Since this is about rendering (which depends entirely on rgl) and thus I have no control over this request, I am going to close this.