Copy/设置pscale大小
(资料图)
floor(fit01(rand(@id*3+34),1,15)) id随机
fit01(rand(@id),0.8,1.2)根据id 随机大小
@pscale = fit01(rand(@id),0.1,0.2)*0.005;
Stamp表达式stamp("../copy1","scale",0) 大小
fit01(rand(stamp("../copy13","my_id",0)*5.5+3),0,360)+fit01(rand(stamp("../copy13","my_id",0)*5.5+3),0,360)*$T/2*stamp("../copy13","my_num",0) 旋转
根据速度删除点length($VX,$VY,$VZ)>18(需要查看速度大小)
根据时间求余$F%2
ID层v@CID={1,0,0}; Attribute Wrangle
根据年龄控制空气阻力
airresist *=fit01(@nage,1,10); 根据随机idairresist *= fit01(rand(@id),1,5);
控制速度大小@v*=0.5;
接入端口`opinputpath("..",2)`
@Timelnc:帧速率(1SPS.4帧1秒)
根据Cd属性删除(移除)粒子
if(@Cd<0.3)
removepoint(0,@ptnum);
根据点序号属性删除(移除)粒子
if(rand(@ptnum)>chf("thredshold"))
removepoint(0,@ptnum);