CINEVERSITY

    Maxon Logo
    • Login
    • Search
    • Recent
    • Popular
    • Users
    • Groups

    basic particles turn on and off randomly

    Question & Answers
    2
    17
    112
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      resort-sand last edited by

      hello
      it is almost in the title, I am trying to create a flock of fireflies using particles, the idea is to make each particle appears "on and off" to trigger their lighting behaviour before they all "sync" together and turn on and off gradually to form a unity pattern. Since I have a good number of shots, I wanted to create a generic system, focusing on simplicity.
      I tried the "particle node modifier" and "data mapper" with a minimum of success as I was not able to turn each off completely.
      Then when I wanted to create the mesh objects "spheres" using mograph, I found out it doesn't inherit the radius value.
      So I said to myself, maybe I can just inherit the position and animate the scale to turn on&off using fields, I think it tends to over complicate the pipeline instead of simplifying it
      I don't hate the actual solution I had, but I was wondering if there is a tip to use on&off in case the client doesn't like the gradual scale changing that will influence the light intensity

      Holidays Greetings FF_test01.c4d

      1 Reply Last reply Reply Quote
      • Dr. Sassi
        Dr. Sassi last edited by Dr. Sassi

        Hi resort-sand,

        Thank you for the file!

        If I understand this correctly, the size is there to provide the glow "sphere".

        I have left your setup pretty much as it is, but used the Random Effector only to randomize the color.

        Below is the more detailed step-by-step. for anyone reading along. Perhaps it is faster to explore the file.

        CV4_2026_drs_25_RSff_01.c4d

        Screenshot 2025-12-30 at 11.06.06 AM.jpg

        Material
        The Color Data is based on Color User Data and the set up as "RSMGColor" Provided in the presets.

        This color information is all over the place, so I use only the red channel via Color Splitter (Blue or green is equally good, as they are just random gray values after all).

        To get it from dark to Yellow, I used a Ramp Node. The idea of those lights is a more organic feel, hence the little variations on the right side of the Ramp.
        This is then placed into a Mix Node, as you want to be able to go from Random to Full. To make that more comfortable to animate, I used a Group Node, set to Start node (Material Menu> Node> Start Node.)

        In this group Node I created an Input-Output and set the parameter to 0-100% with a step of 1% (right mouse click on the input> Edit input. then set up the parameters)

        This allows, now, after the material is selected in the Material Manager, to see that input in the Attributes, I named it "Glow RND to Full", and animated it as needed.

        The second input of the Group Node is Color. I have set it to blue for now, so the animation and change are clear. Use the warm glow tone for your final use if that is the target.

        All of that goes into the Emission Color, and I have set the Weight very high to enable the proper glow in post effects. See below.

        Screenshot 2025-12-30 at 11.02.26 AM.jpg

        Rendering
        If the Redshift Render View is open and large enough, the Cogwheel in the right upper corner should be visible.

        In the Display Tab, you can set up the Bloom and eventually the Flare effect. I have enabled both.

        This produces the Light "sphere" around the fireflies.

        The Render Settings have the RS Post Effects enabled

        Preview:
        https://projectfiles.maxon.net/Cineversity_Forum_Support/2025_CLIPS_DRS/20251230_CV4_2026_drs_25_RSff_01.mp4
        .

        Please let me know if that works for you.

        Happy holidays to you as well!

        Dr. Sassi Sassmannshausen Ph.D.
        Senior Trainer, Maxon Master Trainer, L&D - Strategist
        Cinema 4D mentor since 2004, Member of VES, DCS.

        1 Reply Last reply Reply Quote
        • R
          resort-sand last edited by

          Thanks Dr. Sassi, this answers perfectly my requests, I downloaded it and it look much closer to what I wanted to achieve
          I guess ... hope your next year will be full of success and peace

          1 Reply Last reply Reply Quote
          • R
            resort-sand last edited by

            Hello Dr.
            I was wondering if it is possible to match the number of the visible rendered particles with the one that is in the viewport ? I am aware that this may affect in a big part the workflow, but at I need to have a fidelity between the designed particles look / number / speed and the rendered ones to be able to previz before committing to render and publish to my client

            Many thanks

            1 Reply Last reply Reply Quote
            • Dr. Sassi
              Dr. Sassi last edited by

              Thanks for the reply, resort-sand, and. the kind feedback!

              They are all there, so far I can see, but perhaps too small? Please note that I set the Sampling (Render Settings> Redshift> Sampling for previews typically to 0.1, which is OK, but not production quality. Better is 0.01 or even 0.001, but the render time increases drastically.

              Please investigate these suggestions, so we can find what is not working on your side. Please take one step at a time.

              1. Move the slider of the material to the right (delete the animation)
              2. Set up the Sphere size to 10cm, for example
              3. Cache the Particles with the option on the Folder: Particle group

              Any insights that lead to solving this problem?

              Happy New Year

              Dr. Sassi Sassmannshausen Ph.D.
              Senior Trainer, Maxon Master Trainer, L&D - Strategist
              Cinema 4D mentor since 2004, Member of VES, DCS.

              1 Reply Last reply Reply Quote
              • R
                resort-sand last edited by

                it was my bad, I forgot to exclude the particles group from rendering, so its alpha with a big radius was dominating the alpha channel so it gave me a false flag of the particles number
                all is great now, will keep you posted
                Have a great Sunday

                1 Reply Last reply Reply Quote
                • Dr. Sassi
                  Dr. Sassi last edited by

                  Thank you for your reply, resort-sand.

                  My best wishes for your project, and have a great Sunday as well!

                  Dr. Sassi Sassmannshausen Ph.D.
                  Senior Trainer, Maxon Master Trainer, L&D - Strategist
                  Cinema 4D mentor since 2004, Member of VES, DCS.

                  1 Reply Last reply Reply Quote
                  • R
                    resort-sand last edited by

                    It seems it is getting me the caching issue using the new particles system, long story short, I am trying caching the scene here, bit it keeps crashing or freezing
                    I tried to debug it by recreating it, I think the moment where I ask for negative time values to get my preroll right this is where things get to be messed up
                    I am attaching the scene, but no need if I can find a proper and clean way to get like pre-roll of certain number of frames with caching
                    many thanks

                    https://we.tl/t-0lm0HGQ7Ep

                    1 Reply Last reply Reply Quote
                    • Dr. Sassi
                      Dr. Sassi last edited by Dr. Sassi

                      Hi resort-sand,

                      Thanks for the file.

                      Please run this version of your Project:
                      https://projectfiles.maxon.net/Cineversity_Forum_Support/2026_PROJECTS_DRS/20260112_CV4_2026_drs_26_PAcp_11.zip

                      I used these steps:
                      The Cache Object to cache (not the Cache Scene)
                      The Remesh was converted into a polygon mesh (Object Manager>Objects> Modify> Current State To Object
                      As wild guess as the Clones were set to Multi-Instances.

                      When this works for you, and all is as you need it, we can pinpoint more where it comes from and file a report.

                      All the best

                      Dr. Sassi Sassmannshausen Ph.D.
                      Senior Trainer, Maxon Master Trainer, L&D - Strategist
                      Cinema 4D mentor since 2004, Member of VES, DCS.

                      1 Reply Last reply Reply Quote
                      • Dr. Sassi
                        Dr. Sassi last edited by

                        P.S.: This evening I explored this a little bit more.
                        Can you share if that happens as well, based on the scene you shared when you create just the cache for the particles - Cache Object?

                        Thank you!

                        Dr. Sassi Sassmannshausen Ph.D.
                        Senior Trainer, Maxon Master Trainer, L&D - Strategist
                        Cinema 4D mentor since 2004, Member of VES, DCS.

                        1 Reply Last reply Reply Quote
                        • R
                          resort-sand last edited by

                          Good morning Dr.
                          I made more debugging based on your recommendations
                          It seems that only the Mograph object being active is causing the crash, all the other elements: cache scene Vs object, baking geos were not the cause of the crash
                          I will keep digging
                          cheers

                          1 Reply Last reply Reply Quote
                          • Dr. Sassi
                            Dr. Sassi last edited by

                            Thank you very much, resort-sand.

                            Does it make a difference if you have it on an Instance Render Instance or a Multi-Instance?

                            So, caching while the Cloner is off works, and switching the Cloner on after caching shows problems or not?

                            Either way, that needs to go to Tech-support, so it can move along the fixing "pipeline".
                            https://www.maxon.net/en/support-center
                            If you have a minute, please use this URL. Thank you very much!

                            Have a great morning as well. It is past midnight here, and I will call it a day soon.

                            Cheers

                            Dr. Sassi Sassmannshausen Ph.D.
                            Senior Trainer, Maxon Master Trainer, L&D - Strategist
                            Cinema 4D mentor since 2004, Member of VES, DCS.

                            1 Reply Last reply Reply Quote
                            • R
                              resort-sand last edited by

                              Hello
                              Once the mograph is deactivated ❌ the caching runs without no issue, upon finishing, I activated it ✅ all works normally, it didn't matter after if it is normal instances or multi instance
                              Thanks for being supportive
                              Best

                              1 Reply Last reply Reply Quote
                              • R
                                resort-sand last edited by

                                I noticed also the following,
                                -putting the mograph in Multi Instance with motion blur renders black frames, back to normal instance object and motion blur works
                                -in AOV with activating motion blur pass (with or without) motion blur activated renders black frames
                                At least this happens in my scene, maybe I am not aware of the motion blur limitations with particles or mograph based objects
                                Cheers

                                1 Reply Last reply Reply Quote
                                • Dr. Sassi
                                  Dr. Sassi last edited by

                                  Thank you very much, resort-sand, for the extra data.

                                  I'm glad we got at least the crashes tamed via the workaround.

                                  There is surely something not OK. I hope the tech support is getting to the bottom of it quickly.

                                  The evaluation of a bug is done by the tech support, which is not my scope here.

                                  All the best

                                  Dr. Sassi Sassmannshausen Ph.D.
                                  Senior Trainer, Maxon Master Trainer, L&D - Strategist
                                  Cinema 4D mentor since 2004, Member of VES, DCS.

                                  1 Reply Last reply Reply Quote
                                  • R
                                    resort-sand last edited by

                                    submitted as a bug

                                    1 Reply Last reply Reply Quote
                                    • Dr. Sassi
                                      Dr. Sassi last edited by

                                      Thank you so much, resort-sand.

                                      Sorry that you had to experience a problem in the first place.

                                      Fingers crossed that the switch on and off "dance" is soon not needed anymore.

                                      My best wishes for your project!

                                      Dr. Sassi Sassmannshausen Ph.D.
                                      Senior Trainer, Maxon Master Trainer, L&D - Strategist
                                      Cinema 4D mentor since 2004, Member of VES, DCS.

                                      1 Reply Last reply Reply Quote
                                      • First post
                                        Last post