作业帮 > 综合 > 作业

英语翻译// prunup.mel// author:sean fennell// date:1/25/00// usa

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/05/06 15:58:10
英语翻译
// prunup.mel
// author:sean fennell
// date:1/25/00
// usage:pre-render mel script to runup a particle simulation in order
// to break up renders across several machines successfully.
//
// enter in render globals window under render options tab into
// pre-render mel and the frame number to cache from (usually the first
// frame in the range to render)
//
// example :prunup 40 would runup to frame 40 and cache for render from
// frame 40.
//
// notes:since this proc will run every frame there is a compensation
// variable that will run up to the current frame of render before every
// frame that renders.This may cause frames later in a large
// simulation to render slightly slower due to runup times.
global proc prunup(int $maxTime)
{
runup -mxf $maxTime -cache;
print("\nRunup to frame " + $maxTime + " complete.\nNow Rendering...");
prunup.mel
/ /作者:肖恩fennell
/ /日期:1/25/00
/ /用法:pre-render梅尔脚本助跑,粒子模拟
/ /分手,使得在多台机器.
/ /
/ /进入全局渲染选项窗口下渲染成.选项
/ / pre-render梅尔和帧数从(通常是第一个缓存
/ /帧渲染范围).
/ /
/ /例子:prunup 40会助跑,以框架,从40和缓存渲染
/ /帧40.
/ /
/ /注:从这个过程将每帧有一种补偿
/ /变量,就跑到当前帧渲染前
/ /帧,效果.这可能导致框架以后在一个大的
/ /模拟来渲染稍慢是因为助跑倍.


prunup全球触发maxTime美元(整数).
{
-mxf maxTime美元-cache助跑.
打印(“\ nRunup框架”+ $ maxTime +完整.\ nNow渲染…”).