tylermorganwall / rayrender

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

render_scene no longer runs in parallel #16

Closed tteo closed 3 years ago

tteo commented 4 years ago

Hi Tyler, I've been puzzled by why rendering jobs have slowed down rather drastically. Windows task manager shows that render_scene is only using one thread. Set options(cores= 12), but still only one thread at load. render_highquality() in rayshader is also painfully slow.

This used to work—had all 24 threads running at close to 100%. Tried 3.6.3 and 4.0.0, RStudio stable and preview, no luck. Tested multi-threaded performance with Geekbench, works fine.

Any ideas?

tylermorganwall commented 3 years ago

Is this still an issue?

tteo commented 3 years ago

I updated rgl and it's no longer an issue. Thanks, Tyler!

tylermorganwall commented 3 years ago

Great!