Closed trevorld closed 9 months ago
Currently rasterize_scene() and rasterize_lines() has:
rasterize_scene()
rasterize_lines()
if(!is.null(options("cores")[[1]])) { numbercores = options("cores")[[1]] } else { numbercores = parallel::detectCores() } if(!parallel) { numbercores = 1 }
Perhaps we should update that to match the new logic in {rayrender}:
{rayrender}
numbercores = getOption("cores", default = getOption("Ncpus", default = parallel::detectCores())) if(!parallel) { numbercores = 1 }
for similar reasons as in https://github.com/tylermorganwall/rayrender/issues/46
If this change is okay I could put together a PR
Added in 967a88f
Currently
rasterize_scene()
andrasterize_lines()
has:Perhaps we should update that to match the new logic in
{rayrender}
:for similar reasons as in https://github.com/tylermorganwall/rayrender/issues/46
If this change is okay I could put together a PR