【发布时间】:2019-08-30 21:17:52
【问题描述】:
我是脚本新手,我正在尝试导出场景中的对象并单独渲染所有选定对象的图像。
现在我的代码只能根据我的对象的名称导出 FBX 文件,并且可以渲染一张图像。
for current in geometry do
(
select current
newFileName = current.name
newFilePath = pathConfig.GetDir #Export
completeFilePath = (newFilePath + "/" + newFileName)
exportFile completeFilePath #noPrompt selectedOnly:true using:FBXEXP
render renderType:#selected
--render current frame:1 outputfile:"testRender.png"
)
我想导出、渲染场景中的每个选定对象(单独),将其保存为 .png,并在渲染图像上使用对象的名称。
【问题讨论】:
标签: maxscript