2024-09-19 23:30:55 发布
网友
我正在编写一个python脚本,它在服务器上与pvbatch一起运行。在
它创建一个vtm文件的片段并将其存储为png文件。在
当我直接在服务器上运行脚本时,屏幕截图看起来不错。但是,当我通过ssh远程登录服务器时,屏幕截图看起来很暗:
左图像:远程,右图像:直接 我想用以下方法改变照明:
slice1Display.Specular = 0.0 slice1Display.Opacity = 1.0
但它不起作用。有什么想法吗?在
NVM伙计们,刚找到一个有用的链接:enter link description here
看来我的问题解决了:
RenderView1 = GetRenderView() # Turn off "Head Light" RenderView1.LightSwitch = 0 # Turn off "Light Kit" RenderView1.UseLight = 0 r = GetDisplayProperties(slice,RenderView1) r.Ambient = 1.0 r.Diffuse = 0.0
NVM伙计们,刚找到一个有用的链接:enter link description here
看来我的问题解决了:
相关问题 更多 >
编程相关推荐