主题:  粒子云

hw3d

职务:普通成员
等级:1
金币:0.0
发贴:27
注册:2002/6/14 17:24:44
#12002/6/15 8:14:15
创建粒子云
1.particles/particle tool(option),命名,设置
Particle spacing : 1
Placement : with textfields
Minimum corner : -20, -1, -20
Maximum corner : 20, 1, 20
单击:create Particle Grid
2.选择粒子物体,增加一个turbulence场,设置为:
Magnitude : 1
Attenuation : 0
Frequency : 0.25
Interpolation type : quadratic
Noise level : 2
Noise ratio : 0.6
Use max distance : off
3.选择particle shape结点,ctrl+a打开属性设置,把particle render type设

置成cloud,在add dynamic attributes下,单击General,在add

attribute下的Particle下选择radiusPP,单击ok.在per

particle(array)attributes下右击选择Creation Expression.输入:
particleShape1.radiusPP=rand(1.5,3);
在preferences window下的timeline设置播放范围为100帧,播放循环为once速度

为free.播放,停下后选择粒子物体,再选择:solvers/initial state/set for

selected.
4.粒子云材质建立:
在hypershade中,添加一个particlecloud shader 打开设置为:
Color : black
Transparency : 0.6 grey
Density : 0.5
Blob map : white
Roundness : 0
Translucence : 0.5
Noise : 0.7
Noise freq : 0.13
Noise anim rate : 0.01
Solid core size : 0
Diffuse coeff : 1
Surface color : 0.8 grey
Translucence coeff : 0.1
Surface shading shadow : on
Filter radius : 7
5.建立灯光:
我们在这里建立3个灯,一个ambient,设置为:
Color : 0.88, 0.93, 1
Intensity : 0.18
一个主光灯,用directional light
Translation: 90 91 72
Rotation : -38 49 0
Color : white
Intensity : 0.85
Use depth map shadows : on
Shadow color : 0.2 0.23 0.26
Dmap resolution : 512
Use mid dist dmap : off
Use dmap auto focus : off
Dmap width focus : 100
Use light position : on
Dmap bias : 0.01
在加一个directional light
Translation : 0 0 0
Rotation : 30 -80 0
Color : 0.9 0.95 1
Intensity : 0.25
6.添加camera动画,渲染



hw3d

职务:普通成员
等级:1
金币:0.0
发贴:27
注册:2002/6/14 17:24:44
#22002/6/15 9:01:55
最终效果如下:

编辑历史:[这消息被koodoo编辑过(编辑时间2002-06-15 12:23:43)]