复杂的安装直接略过。。。。。。
这里使用maya2008extension2
使用renderman渲染带阴影的粒子
1、粒子半径大小控制,radiusPP使用rand随机控制(rand(0.02,0.04))。
渲染,发现一个大半径的粒子非常突兀,neroblack说这是因为动力学解算每一帧的第一个不读取表达式。
解决办法是在粒子运行时表达式中运行一次粒子半径随机,创建时半径为0。
if (particleShape1.once == 0) {
particleShape1.radiusPP = rand(0.02,0.04);
particleShape1.once = 1;
}
2、粒子打光,attributes->renderman->add shadow attrs,勾选use depth map shadows。
3、renderman渲染设置
shading rate比率值越低采样越精细,一般为1
pixel samples (3,3)
motion blur->shutter angle (360)。