simple particle fade in/out function

Home Page forums Autodesk/Discreet Flame and Smoke simple particle fade in/out function

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #200982
    Justin
    Participant

    hello all, looking for the particle function that will fade a particle on, and then fade the particle off, over the lifetime of the particle……

    #213395
    bnw
    Participant

    It’s in the fxguide particle function article: http://www.fxguide.com/modules.php?name=Content&pa=showpage&pid=5

    …but basically you want “transparency = sin(lifetimeI*3.14)” 😉

    #213397
    king koret
    Participant

    thanks for the reply Loops – that almost works! Its just that the very 1st frame of each particle is “on” then it dissapears on the second frame and from that point on the equation works just fine. I don’t really want to paint out all those ‘dots’! Any further ideas would be appreciated…. thanks anyway for your post.

    #213394
    bnw
    Participant

    You’re right. How weird. The same thing happens even with “transparency = 1.0”, particles get born fully opaque. Grr!

    Turning TimeSteps up to like 25 or even more seems to fix it if you can deal with the slowdown.

    #213392
    Shane
    Participant

    Hey Fellas,

    Don’t forget that particle manipulators and functions only take effect after the birth of a particle. This means that particles inherit the particle generators parameters first then their manipultors.

    The simple answer is to adjust your particles transperncy to zero under the geometry submenu and let the manipultor control the transparency since particles will be born transparent.

    Now I’ll bet you’ll want to control the transparency but now you can’t because you’ve set them to zero. Add *magnitude to the end of your expression and use magnitude to control at what level of transparency you want particle to be born at. .05 = 95% tranparent. 1 = 100% full.

    enjoy

    #213393
    bnw
    Participant

    That’s a much better solution 🙂

    #213396
    king koret
    Participant

    Thank you both……….all good!!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Copy link
Powered by Social Snap