Real Flow problem with partition and motion blur

Hi Bobo
I am following the tutorial software.primefocusworld.com/sof … uences.php
but I have some problems in the last part: Generating Correct velocities For Motion Blur
I followed step by step instructions but I think there is any problem.
the Particle Flow is the same of tutorial (although I used the Script Operator)

-if I use a Krakatoa File Update operator to load Positions, IDs and particle velocities from the sequence. and sets the Velocity
Add channel to 100% of the velocities as in the tutorial, resulting that the particles moving in an unusual way,particles in motion accentuate their motion,
that looks best when the dispay operator is set to line (see the attachment: Velocity_Add)

-if I use a Krakatoa File Update operator to load Positions, IDs and particle velocities from the sequence. and sets the Velocity
Blend to channel 100% of the velocities, resulting that there isn’t Ofset (see the attachment: Velocity_Blend)

-if I use a Krakatoa File Update operator to load Positions, IDs and NO particle velocities from the sequence, resulting: correct ofset
wrong speed (see the attachment: NoVelocity_CorrectOfset)

what is the problem? the Script Operator?
thanks again



There is something wrong with the way the flow is evaluated, but please keep in mind the tutorial was written for 1.1.1 which had different Krakatoa Update operators and could not partition PRT Loaders. I am not quite sure yet what is wrong with the setup when replicated in 1.5.x (will try to figure out), but you are not supposed to use this approach anyway since 1.1.2 and higher let you apply a Noise modifier to the PRT Loader itself and perform partitioning directly! See “IMPORTANT NOTE” on the tutorial page you posted :wink:

For partitioning a PRT Loader directly, see here:
software.primefocusworld.com/sof … rtices.php

Hmm, looking at the scripts you posted, it almost appears that Script Operator 01 has the line pCont.particleSpeed = pCont.particleVector while that should be in Script Operator 02. Are you positive that you have the correct order of Script Operators (first one copying the Speed to the Vector, second one copying back the Vector into Speed)? The title of your Script Editor is cut off in the screenshots, but it looks like 01 to me and not 02…

Also, why is the IMPORTANT line pCont.particleIndex = i remarked in all scripts? Without it, the particles will not get their data recorded!

I recreated the flow using the Teapot from the introduction demo and the flow correctly randomizes the positions while keeping the original speed. I don’t see any other problems so far. Still, I would suggest using the Noise Modifier method since it is SO much easier…