mcjJet script: basic particle effects for DS 1-4 - with Burst mode!

mCasualmCasual Posts: 4,607
edited November 2014 in Freebies

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * mcjJet now for DS 4,5 * * * mcjJet now for DS 4,5 * * * mcjJet now for DS 4,5 * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
it’s ready ( knock on wood )

https://sites.google.com/site/mcasualsdazscripts/mcjjet

The new mcjJet 2 with color-ramps lives here :

https://sites.google.com/site/mcasualsdazscripts4/mcjjet2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
it's Friday afternoon and i thought, lets make a new script

but i don't know yet what

( it was kind of hard to repress ideas as i was heading to write this post )

---

a script has the advantage of not saddening Mac users like when i write plugins or exes

---

ok, the thing i want to make is, pixie dust particle effect

we'll limit the effect to 255 billboards

first i'll reacquaint myself with the particle effect script i wrote and used long ago

the movie - https://www.youtube.com/watch?v=sZcZf_LGsbQ

the old script - https://sites.google.com/site/mcasualsdazscripts/mcjjet

---

figure 1, our animated fairy and her wand ( i.e. our animated particle emitter )

---

so we want our 50 sparkles to be emitted ( and maybe we'll re-use some )

the rate of emission should be zero for a while, ramp up, sustained flow, ramp down, zero

an individual sparkle life cycle will be .... not sure yet

---

show.gif
400 x 400 - 337K
Post edited by Cris Palomino on
«13

Comments

  • mCasualmCasual Posts: 4,607
    edited April 2013

    first results show that either

    A - i must read the manual i wrote
    B - something aint working in the script

    note that i'll probably modernize mcjJet ( example, save the last used settings upon exit ) instead of writing a pixie-dust script

    show1.gif
    512 x 512 - 555K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited April 2013

    if i use the pre-simulation option, i hide the problem,

    but i think i have to fix mcjJet, ( already i added last-settings-used saving on exit .... update will be published soon )

    show2.gif
    512 x 512 - 799K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited December 1969

    the next version of mcjJet will be able to hide the particles that are not "born"

    it's not a very complete particle engine, but it was written mostly for simple smoke/steam ( exhaust of a steampunk ship )

    the particles are little billboards striving to keep facing the camera

    in another video ( with a supercar ) we can see there's a problem for zero-crossing camera angles

    ... i may fix that too

    show3.gif
    512 x 512 - 737K
  • SimonJMSimonJM Posts: 5,980
    edited December 1969

    Just decided to write something, eh? :)

  • mCasualmCasual Posts: 4,607
    edited December 1969

    SimonJM said:
    Just decided to write something, eh? :)

    well i did study the maths of the lattice deformers a bit but wanted a divertimento

    ( notably, 1 x 4 lattices would be useful and easy to work with, for long hair animations ... and could be driven by a 4-segmets physics simulation .... or for dresses )

  • mCasualmCasual Posts: 4,607
    edited April 2013

    and here is the completed effect i wanted

    today i'll publish the updated mcjJet ( just gave to make sure it still works with DS1, 2, 4 )

    ---

    figure 2 shows my settings, the effect was "built" with the frame rate set at 30 fps

    if i wanted a stronger burst, i could "build" the animation with a frame rate of 60 fps , and still, render at 30 fps or 15fps

    --

    the stars are emitted from frame 20 to 40

    they start their life opaque with a size of 1.5 and end it transparent with a size of 0.5

    so we get a bouquet of stars with different sizes

    the speed settings are the defaults

    Aiko is holding a primitive cylinder by its tip, since the base of the cylinder is the origin and the emitter point

    the emitter size is 1cm, so the stars are deemed to come out of the tip

    (maybe i didnt need to set it since the emitter mode is set to "point"

    whishy.png
    585 x 438 - 21K
    whish.gif
    512 x 512 - 688K
    Post edited by mCasual on
  • IvyIvy Posts: 7,165
    edited December 1969

    Casual said:
    and here is the completed effect i wanted

    today i'll publish the updated mcjJet ( just gave to make sure it still works with DS1, 2, 4 )

    ---

    figure 2 shows my settings, the effect was "built" with the frame rate set at 30 fps

    if i wanted a stronger burst, i could "build" the animation with a frame rate of 60 fps , and still, render at 30 fps or 15fps

    --

    the stars are emitted from frame 20 to 40

    they start their life opaque with a size of 1.5 and end it transparent with a size of 0.5

    so we get a bouquet of stars with different sizes

    the speed settings are the defaults

    Aiko is holding a primitive cylinder by its tip, since the base of the cylinder is the origin and the emitter point

    the emitter size is 1cm, so the stars are deemed to come out of the tip

    (maybe i didnt need to set it since the emitter mode is set to "point"


    wow this is super.. I'll have to give them a try.. Though to be honest I'm no where near as good with working with scripts- and coding as you are, but hs looks like ti could be useful...

    Thank you for sharing it :)

  • mCasualmCasual Posts: 4,607
    edited April 2013

    here you can see a new feature for the upcoming mcjJet update,

    the billboards/stars/smoke-puffs are made to face the camera,

    even if the camera moves,

    and the billboards remains upstanding

    this was set up and rendered in Daz Studio 1.8 software render

    another new feature is that in "burst mode" the unused particles are properly hidden

    indiasong3.gif
    512 x 512 - 516K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Interesting. How about something other than the sparkles. Like just some simple colored balls with a really faded out edge and a lighter center to look like an energy dot. Get enough of those going will look really cool.

  • mCasualmCasual Posts: 4,607
    edited April 2013

    RAMWolff said:
    Interesting. How about something other than the sparkles. Like just some simple colored balls with a really faded out edge and a lighter center to look like an energy dot. Get enough of those going will look really cool.

    initially it was used for smoke and steam effects in Steampunkettes https://www.youtube.com/watch?v=sZcZf_LGsbQ

    note that one could load many, even, say, 10 50-billboard props and get 500 dots moving

    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited May 2013

    new features will be

    - support for burst mode ( aka pixie dust effects )

    - better handling of the settings

    - automated billboard re-orientation so that they face the camera

    ---

    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited April 2013

    well it was all going smoothly, with daz studio 3 and 1.8

    then i test Daz Studio 4 and aWWWWWwwwwh, the changes to Studio broke usability of the 50billboards fiigure

    so i made a 50billboards prop, but there too, i get weird results

    ---

    so if anyone is following this, the new mcjJet script launch will be delayed to tomorrow

    who knows maybe we'll add a feature while we're at it

    ---

    actually it's not too bad, the replacement prop seems to work moderately weirdly, not totally weirdly

    ----

    figure 2, well this was normal behavior, though i had to re-position the prop centers and infert the flow of the particles
    so i'll add that option named "reverse flow"

    wingawing.gif
    600 x 450 - 177K
    wazzap.gif
    600 x 450 - 115K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited April 2013

    worked a few minutes on the DS4.5 compatibility issues
    using a 50billboard prop instead of a 50billboard figure

    for now each billboard is made to stand vertically and turn (YRotate) to face the camera
    but i think i may modify it to really really face the camera,
    maybe using mcjFaceTheCam's equations

    hmm i could also do something that works with mcjTracer ... maybe not

    ...later that evening

    i think i fixed DS4.5 issues regarding 50billboards figures
    this was somewhat important because figure animations can be saved as pose presets and maybe BVHs too

    so the the improved mcjJet for DS 1, 2, 3, 4 may be out tomorrow !

    mowwie.gif
    400 x 517 - 342K
    sisis.gif
    600 x 450 - 210K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Oh, I like the last one. Hey, that's an idea.... blow bubbles!

  • mCasualmCasual Posts: 4,607
    edited April 2013

    since i had to rebuild the 50billboards figure for Daz Studio compatibility i'll use the occasion to
    give you 60, 120 and 240 billboards figures.

    i think over 255 "bones" in a figure would cause problems ( in old versions of Poser for instance )

    240.png
    800 x 800 - 286K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited December 1969

    RAMWolff said:
    Oh, I like the last one. Hey, that's an idea.... blow bubbles!

    bubbles ..... sort'of :)

    bubbles.gif
    384 x 384 - 728K
  • zigraphixzigraphix Posts: 2,787
    edited December 1969

    This is so cool! I want to be you when I grow up. ;)

  • mCasualmCasual Posts: 4,607
    edited December 1969

    zigraphix said:
    This is so cool! I want to be you when I grow up. ;)

    thanks! i'll be able to delegate work to my yourself then :)

    zira.png
    1600 x 900 - 521K
  • mCasualmCasual Posts: 4,607
    edited April 2013

    you liked the animated gifs you'll love the movie

    more than 1 minute of non stop particle drama

    http://www.youtube.com/watch?v=1ZLmLpprLSg

    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Oh, that was just wonderful. Snow could totally happen with this. The last effect is really nice.

  • mCasualmCasual Posts: 4,607
    edited December 1969

    the "burst mode" will allow re-using the same billboards-prop , shown here, 2 bursts

    homie.gif
    384 x 216 - 381K
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Very nice. Your so creative and talented.

  • mCasualmCasual Posts: 4,607
    edited December 1969

    last thing i want to do is make sure looping animations still work

    yavul.gif
    364 x 600 - 738K
  • mCasualmCasual Posts: 4,607
    edited December 1969

    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    * * * mcjJet now for DS 4,5 * * * mcjJet now for DS 4,5 * * * mcjJet now for DS 4,5 * * *
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    it's ready ( knock on wood )

    https://sites.google.com/site/mcasualsdazscripts/mcjjet

  • SimonJMSimonJM Posts: 5,980
    edited December 1969

    Casual said:
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    * * * mcjJet now for DS 4,5 * * * mcjJet now for DS 4,5 * * * mcjJet now for DS 4,5 * * *
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    it's ready ( knock on wood )

    https://sites.google.com/site/mcasualsdazscripts/mcjjet

    Woohoo!

    Thanks for this, should be fun to try out and make use of! :)

  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Awesome. Thanks so much. WOOT!

  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Hmm, keep getting a "Page Not Found" notice.

  • mCasualmCasual Posts: 4,607
    edited May 2013

    RAMWolff said:
    Hmm, keep getting a "Page Not Found" notice.

    mcjJet page
    https://sites.google.com/site/mcasualsdazscripts/mcjjet

    direct link to the mcjJet 's zip package
    https://sites.google.com/site/mcasualsdazscripts/mcjjet/mcjJet.zip?attredirects=0&d=1

    mcjBillboards page
    https://sites.google.com/site/mcasualsdazscripts3/mcjbillboards

    direct link to mcjBillboards zip package
    https://sites.google.com/site/mcasualsdazscripts3/mcjbillboards/mcjBillboards.zip?attredirects=0&d=1

    all seem to work for me

    maybe the version Google serves you is on the old server in the tool shed :)

    Post edited by mCasual on
  • patience55patience55 Posts: 7,006
    edited May 2013

    Casual said:
    RAMWolff said:
    Hmm, keep getting a "Page Not Found" notice.

    mcjJet page
    https://sites.google.com/site/mcasualsdazscripts/mcjjet

    direct link to the mcjJet 's zip package
    https://sites.google.com/site/mcasualsdazscripts/mcjjet/mcjJet.zip?attredirects=0&d=1

    mcjBillboards page
    https://sites.google.com/site/mcasualsdazscripts3/mcjbillboards

    direct link to mcjBillboards zip package
    https://sites.google.com/site/mcasualsdazscripts3/mcjbillboards/mcjBillboards.zip?attredirects=0&d=1

    all seem to work for me

    maybe the version Google serves you is on the old server in the tool shed :)

    It's from the link in the first post that one gets the page 404.


    THANK YOU! Looking forward to playing with this one.

    I have noticed with interest this phrase ... I might borrow it sometime ;-)
    To avoid incomprehensible effects ...

    Post edited by patience55 on
  • mCasualmCasual Posts: 4,607
    edited May 2013

    ....
    It's from the link in the first post that one gets the page 404.
    THANK YOU! Looking forward to playing with this one.
    I have noticed with interest this phrase ... I might borrow it sometime ;-)
    To avoid incomprehensible effects ...

    welcome !

    thanks i corrected the link ( which was merged with the word "so" )

    indirectly related to the word "So" http://www.youtube.com/watch?v=FmnDXRJ7btE

    Post edited by mCasual on
Sign In or Register to comment.