Announcement

Collapse
No announcement yet.

Opacity Maps and VDBs

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

  • Opacity Maps and VDBs

    Hi, we have an issue when using opacity maps in conjunction with environment fog and various VDBs. The EnvFog/VDBs render fine together - and so does the opacity map without VDBs (on a LgtMtl with the luminance map going into opacity with multiply by opacity set to on). But when both are visible at the same time the poly plane that the light material is mapped to becomes visible as if not fully transparent. What could be causing this? We tried upping the max transparency levels in the globals but that did not change anything.
    Anything on the VDB side that we need to take care of?
    Thanks for any help already!
    Last edited by k_18; 15-09-2022, 04:13 AM.

  • #2
    Click image for larger version  Name:	two.jpg Views:	0 Size:	23.9 KB ID:	1159838Click image for larger version  Name:	three.jpg Views:	0 Size:	9.9 KB ID:	1159837Click image for larger version  Name:	one.jpg Views:	0 Size:	9.4 KB ID:	1159839
    This is to illustrate the problem: In the first image the card shows correctly with environment fog on but no VDBS loaded.
    In the second image the VDBs are in and everything renders as expected.
    In the third one both the cards as well as the VDBs are set to be visible - and this is where we have the issue: The geometry of the cards becomes visible.

    Comment


    • #3
      Hey,

      Is your Volume Grid using Volumetric Geometry mode? If it using just the regular Volumetric option, try swtichting to Geometry mode for the Volume Grid and see if this helps.
      Georgi Zhekov
      Phoenix Product Manager
      Chaos

      Comment


      • #4
        If we set the volume to volumetric geometry it does seem to fix it - running a test right now. It does, however, tank the performance to such an extent, that we will need to revert to doing it in post if that is the only way of fixing it in Maya... Any obvious performance settings we might have missed here?

        Comment


        • #5
          Indeed, the geometry mode is quite slower to render, but would solve issues where env fog and volume grid volumes are mixed together. There are a few things that might help speeding things up - you can increase the Volume light cache in the Smoke color options - try something like 0.99 (note that this might produce render artifacts, so if some show up dial it down). You can also try lower values for the Probabilistic shading options in the V-Ray Overrides Volumetrics options. Note that for this option lower is not always faster, so try 1,5,10,15 - it really depends on the scene.

          Finally you can also try and increae the step% and the shadow step% in the Volume Grid render options, but these might produce artifacts if you push them too much so use them carefully.

          Georgi Zhekov
          Phoenix Product Manager
          Chaos

          Comment


          • #6
            Thanks Georgi, will try. One question : Do I understand correctly that the env fog and volume grid volumes together cause this behaviour and not the opacity map on the card? In that case we might get away without the env fog in that scene...

            Comment


            • #7
              Maybe, can't tell for sure without the scene, but Volume Grid + Env fog won't produce correct result unless the Volume Grid is in Geometry mode.

              Aah, another thing you can try as a workaround, that should probably render faster.

              Create an empty Volume Grid (this will act as Env Fog), using the Grid rollout options you can specify how large the area to be covered by it.

              Go to the Smoke opacity options, set the Based on Option to be based on Smoke and adjust the first curve point. Increasing its value will increase the density of the fog.

              This way you can have 1 Volume Grid that will act as a fog and another one that will load the VDBs. These can overlap without the need to use Geometry mode and probably will render faster.

              Attatching a screenshot with sample settings.

              Attached Files
              Georgi Zhekov
              Phoenix Product Manager
              Chaos

              Comment


              • #8
                Thanks a lot, Georgi, will try it out tomorrow first thing.

                Comment


                • #9
                  Thank you so much for the suggested workaround, Georgi. This works like a charm and rendertimes are great!

                  Comment


                  • #10
                    Awesome, glad it's all good now!
                    Georgi Zhekov
                    Phoenix Product Manager
                    Chaos

                    Comment

                    Working...
                    X