PyMeshLab icon indicating copy to clipboard operation
PyMeshLab copied to clipboard

How to call the "Save Snapshot" function

Open ziwenjie opened this issue 3 years ago • 5 comments

I want to take snapshot by meshlab in python

ziwenjie avatar Nov 16 '21 02:11 ziwenjie

There is already the filter snapshot (please read the docs!!), however it is very limited and it needs to be improved.

alemuntoni avatar Nov 16 '21 11:11 alemuntoni

Hi: how to get rid of the triangle meshes and points in the snapshot. Thanks

ziwenjie avatar Nov 17 '21 14:11 ziwenjie

however it is very limited and it needs to be improved.

This means that, right now, there is no way to do what you are asking.

alemuntoni avatar Nov 17 '21 14:11 alemuntoni

Can I render with pyglet or pyrender? thanks

lovecoding2023 avatar Jan 09 '22 13:01 lovecoding2023

You can use any other library that allows to make offline rendering. PyMeshLab exposes all the information of the meshes you need trough numpy arrays. I don't know when pymeshlab will allow to provide a proper offline rendering of a MeshSet, therefore for now I suggest to look for other alternatives. Whenever there will be updates on this, I'll write on this issue.

alemuntoni avatar Oct 17 '22 13:10 alemuntoni