Hi Nukers,

I just want to drive the size of the particles by their speed, but even with a 
simple example it gives weird results. Some particles goes big although the 
expression must (should?) just divide the size.
The second expression node clamp the size to avoid this, it works for some 
reasonable particles but not for the wild ones.
With sphere particles i've checked that the big ones are effectively big and 
not just in front of the camera.

Is there anybody here with an explanation for that ?

Cheers
philhub


set cut_paste_input [stack 0]
version 6.3 v4
Constant {
 inputs 0
 color 0.3
 name Constant6
 selected true
 xpos -1804
 ypos 222
}
Sphere {
 uniform_scale 0.5
 name Sphere1
 selected true
 xpos -1804
 ypos 294
}
push $cut_paste_input
ParticleEmitter {
 start_frame 128
 lifetime 100
 velocity 0.2
 spread 0.5
 name ParticleEmitter6
 selected true
 xpos -1797
 ypos 371
}
ParticleGravity {
 to {0 -0.01 0}
 name ParticleGravity7
 selected true
 xpos -1797
 ypos 408
}
set N31783080 [stack 0]
ParticleExpression {
 temp_name0 newSize
 temp_expr0 1/y(vel+.01)/300
 colexpr .5
 opacityexpr .5
 sizeexpr newSize<.05?newSize:.05
 name ParticleExpression5
 selected true
 xpos -1724
 ypos 471
}
push $N31783080
ParticleExpression {
 temp_name0 newSize
 temp_expr0 1/y(vel+.01)/300
 colexpr .5
 opacityexpr .5
 sizeexpr newSize
 name ParticleExpression7
 selected true
 xpos -1842
 ypos 472
}

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to