自动从层文件导出图像

问题描述

我想自动从层文件导出到png(或jpeg或其他格式)渲染,以便制作电影。我猜我应该为此使用meshlabserver,但我找不到实际的方法。

谢谢

同步

解决方法

我最终使用了 python 包 Vedo

from vedo import *
cell = load("file_name.ply").computeNormals().lineWidth(0.01)
world = Box([0,0],12,4.8,3.2).wireframe()
plt=show(world,cell,bg='gray',bg2='dark')

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...