fn renderr = ( a=box() ambientcolor = (color 255 255 255) --设置环境光(搞不太懂,白的不出错就行) for i = 0 to 10 do ( dis = i*30 i as string ca=TargetCamera pos:[50,50,dis] --设置摄像机位置 tobj=targetobject pos:[0,0,0] --设置摄像机目标点的位置(ca 和 tobj的连线其实就是照相的方向,决定着之后以何种角度给房子 拍照渲染) ca.target=tobj render camera:ca outputFile: ("D:\\3dmax_ls\\"+i as string+".jpg") vfb:off ?--以照相机ca的角度渲染,输出文件位于指定地点,vfb:off ?不清楚是什么。 ) ) renderr()
原文:https://www.cnblogs.com/hdyss/p/10725298.html