I'm attempting to capture a PNG of an image produced using plot_gg().
I seem to be able to get an image using
rgl::rgl.snapshot(tempfilename)
but the documentation for this states I should be using th following to get better quality results:
snapshot3d(tempfilename, webshot = TRUE)
but this gives me a very blurry image, significantly worse than rgl.snapshot.
Could someone give me some guidance please on how to get the best quality, high resolution, capture?
Also, is there a way to capture and reload the 3d image to the viewer without having to regenerate the whole thing from scratch, which takes a little while?
I'm attempting to capture a PNG of an image produced using plot_gg().
I seem to be able to get an image using
rgl::rgl.snapshot(tempfilename)
but the documentation for this states I should be using th following to get better quality results:
snapshot3d(tempfilename,
webshot = TRUE)but this gives me a very blurry image, significantly worse than rgl.snapshot.
Could someone give me some guidance please on how to get the best quality, high resolution, capture?
Also, is there a way to capture and reload the 3d image to the viewer without having to regenerate the whole thing from scratch, which takes a little while?