Announcement

Collapse
No announcement yet.

phoenixFD animation problem

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

  • phoenixFD animation problem

    Hi i have 1 liquid source with 3 simulator in my scene to simulate a water fall in 3 difference location, but everytime when i close 3d max and re-open, i need to re-simulate all 3 simulator 1 by 1, how can i skip this?
    or is there a way to burn phoenixFD simulation into 3ds max key frame?

    Thank you.
    Best regards,
    Jackie Teh
    --

    3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
    AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
    Website: https://www.sporadicstudio.com
    Email: info@sporadicstudio.com
    YouTube: https://www.youtube.com/c/SporadicStudio

  • #2
    Hey,

    Not sure if you mean that after you reopen Max the simulated caches are gone or you need to know how to make the simulators start automatically one after another? If it's the second one, go to Simulation, enable script and open the script editor. There is a ready piece of code there you can uncomment and you just need to paste the name of the simulator there, which will be started after the current one finishes. This way you can connect sim 2 to start after sim 1, and also sim 3 to start after sim 2.

    Cheers!
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      Originally posted by Svetlin.Nikolov View Post
      Hey,

      Not sure if you mean that after you reopen Max the simulated caches are gone or you need to know how to make the simulators start automatically one after another? If it's the second one, go to Simulation, enable script and open the script editor. There is a ready piece of code there you can uncomment and you just need to paste the name of the simulator there, which will be started after the current one finishes. This way you can connect sim 2 to start after sim 1, and also sim 3 to start after sim 2.

      Cheers!
      hi thank you for your reply.

      after i reopen Max the simulated caches are gone, so i have to re-simulate again and again...and i wonder if i send this file to render farm, do i need to open the file on renderfarm and re-simulate again? i don't think renderfamr can let me do that lol
      Best regards,
      Jackie Teh
      --

      3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
      AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
      Website: https://www.sporadicstudio.com
      Email: info@sporadicstudio.com
      YouTube: https://www.youtube.com/c/SporadicStudio

      Comment


      • #4
        Hmm, this is very weird. Can you check your Output cache directory to verify the caches are there while you simulate and keep an eye on them while you open Max? Are your Output and Input paths the same?
        Svetlin Nikolov, Ex Phoenix team lead

        Comment


        • #5
          Originally posted by Svetlin.Nikolov View Post
          Hmm, this is very weird. Can you check your Output cache directory to verify the caches are there while you simulate and keep an eye on them while you open Max? Are your Output and Input paths the same?
          ah thank you for the help, i have solve the path issue.

          about the script to connect simulator, do you have any video tutorials?
          Best regards,
          Jackie Teh
          --

          3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
          AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
          Website: https://www.sporadicstudio.com
          Email: info@sporadicstudio.com
          YouTube: https://www.youtube.com/c/SporadicStudio

          Comment


          • #6
            It's quite simple, check it:
            - Create two sims - sim1 and sim2. We are gonna connect sim2 to run after sim1 finishes.
            - Go to sim1's Simulation rollout, enable use Script and Edit...
            - Go to the fn OnSimulationEnd function. There is a code there you should uncomment. It has to read:

            -- ... or uncomment the lines below to start another simulator when this one is finished.
            -- Don't forget to substitute the name of your second simulator:
            sim = getnodebyname "sim2"
            select sim
            A_StartSim sim--*/

            This is it Close the script window, run the first sim and when it ends, it ill fire up sim2. You can use this technique in your setup
            Svetlin Nikolov, Ex Phoenix team lead

            Comment


            • #7
              Originally posted by Svetlin.Nikolov View Post
              It's quite simple, check it:
              - Create two sims - sim1 and sim2. We are gonna connect sim2 to run after sim1 finishes.
              - Go to sim1's Simulation rollout, enable use Script and Edit...
              - Go to the fn OnSimulationEnd function. There is a code there you should uncomment. It has to read:

              -- ... or uncomment the lines below to start another simulator when this one is finished.
              -- Don't forget to substitute the name of your second simulator:
              sim = getnodebyname "sim2"
              select sim
              A_StartSim sim--*/

              This is it Close the script window, run the first sim and when it ends, it ill fire up sim2. You can use this technique in your setup
              This is awesome and time saving, but it only run 2 sim, i have 3 sim in my set up, sir
              Best regards,
              Jackie Teh
              --

              3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
              AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
              Website: https://www.sporadicstudio.com
              Email: info@sporadicstudio.com
              YouTube: https://www.youtube.com/c/SporadicStudio

              Comment


              • #8
                Just do the same for the third simulator and you should be good.
                Georgi Zhekov
                Phoenix Product Manager
                Chaos

                Comment


                • #9
                  Originally posted by georgi.zhekov View Post
                  Just do the same for the third simulator and you should be good.
                  Hi, i am not good in scripting, could you please show me the code?
                  Best regards,
                  Jackie Teh
                  --

                  3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
                  AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
                  Website: https://www.sporadicstudio.com
                  Email: info@sporadicstudio.com
                  YouTube: https://www.youtube.com/c/SporadicStudio

                  Comment


                  • #10
                    Hey - here you can check how this works - https://drive.google.com/file/d/1GK7...ew?usp=sharing
                    Georgi Zhekov
                    Phoenix Product Manager
                    Chaos

                    Comment


                    • #11
                      Originally posted by georgi.zhekov View Post
                      Hey - here you can check how this works - https://drive.google.com/file/d/1GK7...ew?usp=sharing
                      Thank you very very much for your guide, i will post the result here.
                      Best regards,
                      Jackie Teh
                      --

                      3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
                      AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
                      Website: https://www.sporadicstudio.com
                      Email: info@sporadicstudio.com
                      YouTube: https://www.youtube.com/c/SporadicStudio

                      Comment


                      • #12
                        Hi, thank you for all the previous help, and i can upload my aniamtion to render farm today. but i have facing another problem with render farm,
                        i have go to phoenix FD simulator input to browse and link all my phoenix FD cache, click save and archive the max file, when this all done, i upload max file and phoenix cache folder to render farm, but when render, all the water are gone.
                        what have i miss ?

                        oh forgot to mention, the render farm guy asking me if i use absolute path or relative path, what is that mean?

                        Please help.
                        Best regards,
                        Jackie Teh
                        --

                        3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
                        AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
                        Website: https://www.sporadicstudio.com
                        Email: info@sporadicstudio.com
                        YouTube: https://www.youtube.com/c/SporadicStudio

                        Comment


                        • #13
                          Hey,
                          Absolute path is the whole path to the files - C:\ProjectName\Sim###.aur so Phoenix will try to load the files exactly from there.
                          Relative path is ProjectName\Sim###.aur - the ProjectName folder needs to be in the same location as the Max file. Using relative paths - no matter where your folder for the caches is as long as it is next to the Max file Phoenix will load them. Most of the render farms require relative paths.
                          Georgi Zhekov
                          Phoenix Product Manager
                          Chaos

                          Comment


                          • #14
                            Georgi Zhekov,

                            Thank you for your reply.
                            Is this also apply to all the textures in the scene too, which mean i just have to put all the textures, phoenix caches and max file into one folder, and then upload it to the renderfarm, best way for most of the renderfarm out there, am i correct?
                            Best regards,
                            Jackie Teh
                            --

                            3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.04 build 00000]
                            AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
                            Website: https://www.sporadicstudio.com
                            Email: info@sporadicstudio.com
                            YouTube: https://www.youtube.com/c/SporadicStudio

                            Comment


                            • #15
                              Yes, this applies to all the assets, but it's best to ask the renderfarm support how it should be set up for them.
                              Georgi Zhekov
                              Phoenix Product Manager
                              Chaos

                              Comment

                              Working...
                              X