Announcement

Collapse
No announcement yet.

Is there a way to make an emitter stop emitting when a volume is full?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a way to make an emitter stop emitting when a volume is full?

    So I am doing an effect where the emitter fills up a volume gradually using bodyforce.

    It occurs to me that I will have to keep resimming to get the timing right unless I can say to the emitter "when the volume is full, stop emitting"

    perhaps a script?
    http://www.jd3d.co.uk - Vray Mentor

  • #2
    You can change any parameter of Phoenix while it runs, so you could stop it manually at the right moment and then key it for that exact frame. You can restore the simulation from the last backup frame before the right moment, so you won't have to start all over again each time
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      Good idea. Thanks. Although I wonder if there is a way to "know" exactly rather than eyeball it.

      That said, every time I press > play - I start from the beginning. How do I make it so it's resumable? Is that reismulation?
      http://www.jd3d.co.uk - Vray Mentor

      Comment


      • #4
        Would there be a way to count the particles if we initially did a volume fill of the model?

        And then just work backwards to that number?
        http://www.jd3d.co.uk - Vray Mentor

        Comment


        • #5
          No, no - it's the Restore button that you need - in the Output rollout you can control how often backup frames are written during simulation, and then you can restore the simulation from one of those backup frames. You need to scroll the timeline to the time you want to continue from, and when you hit Restore, it will go back to the last backup frame and resume from there
          Svetlin Nikolov, Ex Phoenix team lead

          Comment


          • #6
            Urgent help please!

            So how can I resume at a certain point? I simulated til the end over night to find the right spot - so now I want to scrub back to a certain frame and render from there, but resuming goes to the end and resumes from the end - stipulating a start frame doesn;'t achieve anything as it still resumes from the end,
            http://www.jd3d.co.uk - Vray Mentor

            Comment


            • #7
              if you want to make it automatically, you can try to use the scripting tools, the grid content is accessible via the GetT function, perhaps the best place for the script code is in the OnNewFrame callback
              ______________________________________________
              VRScans developer

              Comment


              • #8
                architectureinmotion use the restore button like Svetlin said. Not resume or start frame etc ... it will jump back to the nearest restore frame by default it is every 15 frames or so!
                Adam Trowers

                Comment


                • #9
                  Thanks guys.

                  Maybe I will try the script later - but for now I have to do it by pausing and restoring...

                  but how do I restore the animation or continue the animation from earlier on.

                  Say I have simulated up to frame 750... how do I go to frame 300 and resume from that point onward
                  http://www.jd3d.co.uk - Vray Mentor

                  Comment


                  • #10
                    Hey,

                    Did you pause the sim? Pausing and resuming are different things. Stop the sim, go to the frame you like, and hit Restore

                    Cheers!
                    Svetlin Nikolov, Ex Phoenix team lead

                    Comment


                    • #11
                      Yes, I paused the aim.

                      But when I press "resume" it skips all the way to the end of the computed frames.

                      So it resumes from the end, not the middle - that's the 9divjgb3.

                      And right now is busting my balls big time!
                      http://www.jd3d.co.uk - Vray Mentor

                      Comment


                      • #12
                        Sorry, "that's the problem" - phone auto correct problem!
                        http://www.jd3d.co.uk - Vray Mentor

                        Comment


                        • #13
                          Don't pause it, stop it, and then you can use Restore (not Resume)
                          Svetlin Nikolov, Ex Phoenix team lead

                          Comment

                          Working...
                          X