How to obtain a high-quality png screenshot?
How to obtain a high-quality png screenshot? Thanks a lot.
Hi! What exactly do you mean?
There is a "Screenshot" button in the upper left corner of the GUI you can click, and in code there is a screenshot() function in both C++ and Python as described in the docs. To make the images look a little higher-resolution, you can adjust the anti-aliasing settings via the GUI or for example as polyscope::ssaaFactor=2.
Hello.
I am working with the python Polyscope. I am following the instructions here, however, I face the following error while trying to initialise camera location,
<ipython-input-8-6d6b03c8f958> in screenshot_ps(m, rot_mat, cmap)
14 ps_mesh = ps.register_surface_mesh('tempsc', m.vertices, m.faces)
15 ps_mesh.add_scalar_quantity('cmap', get_dist(m), enabled=True, cmap='rainbow')
---> 16 ps.look_at((0., 0., 5.), (1., 1., 1.))
17 # Adjust some screenshot default settings if you'd like
18 ps.set_screenshot_extension(".jpg");
AttributeError: module 'polyscope' has no attribute 'look_at'
Can you please let me know what could be wrong? The same code works for rendering individually.
Hello sorry about my previous message, the issue is fixed by updating polyscope