Open cansik opened 3 years ago
A workaround is to explicit set the resolution parameter in save_image()
:
w = 800
h = 500
data = scene.save_image(resolution=[w, h], visible=True)
This still doubles the resolution, but I guess this is due to the HDPI screen.
Problem
When rendering a view with
save_image()
the resulting image is twice the size of the camera resolution on MacOS (10.15.7
) using trimesh3.9.10
. I first thought this is due to it's hdpi rendering, but after the second rendering, the size has doubled again 🤷🏻♂️. The same problem could not be verified on a Ubuntu 20.04 & Windows10. Btw. also thescene.show()
renders in the higher resolution.Example Code
Here an example code to reproduce it:
Results
It should be (512, 512) all the time. Is there maybe a state set which should not be?