Announcement

Collapse
No announcement yet.

milk and choc tutorial , rendering issues with possibly the PhoenixFDTexture2D

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

  • milk and choc tutorial , rendering issues with possibly the PhoenixFDTexture2D

    hi,
    I've just been familiarizing myself with PhoenixFD and completed the setup and sim tutorial for Milk and Chocolate , in Maya for some reason I don't seem to be getting the two liquids to render out correctly in the VDB.
    has anyone tried this tutorial and had similar issues ?

    thanks for any help



    Maya 2020.2
    Vray 5 for maya v5.00.20 Aug 2020
    Phoenix for Maya 2020 / V-Ray 5.x version 4.30.00 build ID 20200912








    Attached Files

  • #2
    Hmm, is this the tutorial you are following? https://docs.chaosgroup.com/display/...+and+Chocolate

    Is there a particular reason why you are using the 2D texture? I think you should use the regular 3D Phoenix grid texture instead - the 2D one is intended for use by 2d simulators - that is - 1 voxel thick.
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      hi Svetlin,

      Thanks for the reply ,

      I had to rebuild the sim as the orig Maya file was corrupted, I used the regular Phoenix grid texture as you suggested but still don't seem to be getting the two materials in the render

      kind regards
      Guy
      Attached Files

      Comment


      • #4
        Ah, does it help if you turn on the Auto mapping checkbox in the Grid texture options?
        Georgi Zhekov
        Phoenix Product Manager
        Chaos

        Comment


        • #5
          hi Georgi,

          Its done something ... though the right side material is supposed to be red
          Attached Files

          Comment


          • #6
            if i shift the color scale i get this..
            Attached Files

            Comment


            • #7
              Is it possible to attach the scene so we can take a look what is going on?

              Thanks!
              Georgi Zhekov
              Phoenix Product Manager
              Chaos

              Comment


              • #8
                ok cool , whats the best way of uploading ? the upload attach option won't allow .mb files

                Comment


                • #9
                  https://drive.google.com/file/d/1RAe...ew?usp=sharing

                  Comment


                  • #10
                    I changed the RGB values to Black in one liquid source and White in the other liquid source.. . this seemed to work.. , I also set the color scale in the Phoenix Texture node to 2 to get the render to show the two materials .. I would like to sim 3 materials though .. is this possible ?

                    I found a tutorial on Youtube

                    https://www.youtube.com/watch?v=txCjRuPa_Fo

                    its in 3DMax but it mentions a "RGB Diffusion" value in the GRID Dynamics Tab, Maya doesn't seem to have this ?

                    thanks for looking into this

                    G
                    Attached Files

                    Comment


                    • #11
                      Ah yes, when using the RGB as a mask it's best to use black and white colors for the RGB colors in the sources so you can get a proper blending.
                      In the case you want to blend three materials you will have to swithc the RGB colors for each sources so you should have 1 pure red, 1 pure green and 1 pure blue.
                      Then you will have to connect the red channel output of the Grid texture to be used as a mask for the first material, the green for the second and the blue for the third. I have attached a screenshot and a sample scene of how this works.

                      As for the RGB diffusion option in Maya, this is in the Liquid rollout of the simulator as Maya still uses one simulator node for both Liquids and Smoke/Fire.

                      You can get the scene from here - https://drive.google.com/file/d/1QwX...ew?usp=sharing



                      Attached Files
                      Georgi Zhekov
                      Phoenix Product Manager
                      Chaos

                      Comment


                      • #12
                        hi Georgi ,

                        brilliant thanks for that , seems to be working !!
                        kind regards
                        Guy

                        Attached Files

                        Comment


                        • #13
                          hi ,
                          with regards to batch rendering , for some reason the sim isn't being included in the batch render ... if I use the VFB the sim is visible but if I do a batch render the sim isn't there ... ive checked the Forum and made sure the Resimulate is unchecked
                          Last edited by ignuf; 13-10-2020, 11:44 PM.

                          Comment


                          • #14
                            Ah, regarding Maya batch rendering, check this out - https://docs.chaosgroup.com/display/...gwithMayaBatch

                            Cheers!
                            Georgi Zhekov
                            Phoenix Product Manager
                            Chaos

                            Comment


                            • #15
                              thanks for the link, so... Ive copied and pasted the batch render section and highlighted in red the change input path bit.. from what I can see in my settings , below the simulation save path there is what looks like an absolute path.. is this what I should be changing ? if so .. do you add frame padding to this ?

                              Maya Batch rendering copies the scene elsewhere on the hard drive. By default, Phoenix FD uses paths to the cache files such as $(same_as_output) or $(scene_path), which search for the cache files next to the Maya scene file. When Maya batch copies the scene, it won't copy the cache files with it, and the scene will not be able to load its cache files, so your fluid will not be rendered. To fix this, please change the Input path to an absolute path such as "D:/caches/frame_####.aur" so that the scene file would always be able to find its cache files no matter where the scene is copied. If you are using Resimulation, make sure to update the resimulation paths as well.
                              Attached Files
                              Last edited by ignuf; 14-10-2020, 01:23 AM.

                              Comment

                              Working...
                              X