Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapshot3D with webshot=TRUE is dangerous #370

Open
stla opened this issue Jun 12, 2023 · 0 comments
Open

snapshot3D with webshot=TRUE is dangerous #370

stla opened this issue Jun 12, 2023 · 0 comments

Comments

@stla
Copy link

stla commented Jun 12, 2023

Hello,

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.

  • rgl Version: 1.1.15
  • R Version: 4.3
  • Platform: Linux Mint 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant