Search code examples
pythonmeshlabpymeshlab

python call the meshlab snapshot function


I am new to meshlab, I can not find the function in meshlabsever or pymeshlab, and I want to take the snapshot in obj files.enter image description here


Solution

  • That function is unique to meshlab, and does not exists in pymeshlab nor meshlabserver. It is not possible to implement it because they avoid to create a render context. This means that they lack of concepts like camera position, background colour or number of lights, which is the basis of rendering. If you really need to batch render a set of obj files, you can try using blender3D or pov-ray.