Announcement

Collapse
No announcement yet.

Maya Fluid Questions

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

  • Maya Fluid Questions

    Maya Fluid is there a way to turn off the primary visibility?

  • #2
    Hm, this is not implemented . There is a way though. But you need to use the Phoenix FD shader. Then write the following post-translate Python:

    Code:
    from vray.utils import *
    sims=findByType("PhoenixFDSim")
    for sim in sims: sim.set("camera_visibility", 0)
    Will add this to the "todo" list.
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      Thanks.
      In this case, several of the containers can be applied selectively to do?
      For example, the first fluid container "cast shadow" (primaty visibility off) only the second fluid from the container (primary visibility on) would be affected.

      v-ray in the fast, high-quality rendering of fluid is very great. However, if "object property" control seems to be better.

      Comment


      • #4
        Actually, you can use the same approach with the post-translate callback to turn off primary visibility for the VolumeEnvironmentFog shader used for Maya fluids, even when you don't use Phoenix.

        Best regards,
        Vlado
        I only act like I know everything, Rogers.

        Comment


        • #5
          Ah, yes. In case of the standard shader, the script will look like this:

          Code:
          from vray.utils import *
          sims=findByType("EnvironmentFog")
          for sim in sims: sim.set("affect_camera", 0)
          Of course we will make this to work from the UI and take into an account the object properties also. This is just a work-around. The script can be made more UI friendly if you read the actual value from the node and don't just set 0. But if you can use nightly builds, you can just wait, I will try to fix this in the next nightly.
          V-Ray/PhoenixFD for Maya developer

          Comment


          • #6
            Thanks Vlado, ivanov
            I will test it.
            How do I get a nightly build?
            Last edited by wideeast; 30-10-2013, 05:06 AM.

            Comment


            • #7
              For access to the Nightly Builds please send a request to support@chaosgroup.com
              Svetlozar Draganov | Senior Manager 3D Support | contact us
              Chaos & Enscape & Cylindo are now one!

              Comment


              • #8
                oh, thanks draganov.

                Comment

                Working...
                X