rgl is a 3D visualization system based on OpenGL. It provides a medium to high level interface for use in R, currently modelled on classic R graphics, with extensions to allow for interaction.
I had a big mesh. Maybe about 500000 vertices and 1e6 faces. It has multiple colors too. I ran snapshot3d with webshot=TRUE and this has frozen the laptop, completely blocked, totally irresponsive. I had to shut it down by brutally pressing the power button.
So I thought maybe a force option would be reasonable in snapshot3d, which whould be FALSE by default. It would be ignored if webshot=FALSE. If webshot=TRUE and force=FALSE and the mesh is big, no snapshot would be generated, instead a warning would be printed, something like "Your mesh is big and using webshot is not safe; use force=TRUE if you are sure you want to use webshot".
Now I don't know what would be the limit defining a "big" mesh.
Hello,
I had a big mesh. Maybe about 500000 vertices and 1e6 faces. It has multiple colors too. I ran
snapshot3d
withwebshot=TRUE
and this has frozen the laptop, completely blocked, totally irresponsive. I had to shut it down by brutally pressing the power button.So I thought maybe a
force
option would be reasonable insnapshot3d
, which whould beFALSE
by default. It would be ignored ifwebshot=FALSE
. Ifwebshot=TRUE
andforce=FALSE
and the mesh is big, no snapshot would be generated, instead a warning would be printed, something like "Your mesh is big and using webshot is not safe; use force=TRUE if you are sure you want to use webshot".Now I don't know what would be the limit defining a "big" mesh.