Announcement

Collapse
No announcement yet.

Debug shading isolate select, how it works under the hood

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

  • Debug shading isolate select, how it works under the hood

    Hi,

    Dragging a texture into an object or using the material override option under settings, how it works under the hood is that it connects the texture into the diffuse slot of a vray material and applying that material to an object
    This way the textures appear brighter than expected, This is not how debug shading(isolate select) works in Vray Max/Maya/Modo
    For the correct behavior, create a Vray light material, connect the texture to the color slot and apply that material to an object, this is how I expect my textures to be like
    Am I missing something?
    This is a very big deal, currently I create a light material to be able to drag into my objects and see the effect of my textures.

    Best,
    ​​​​​​​Muhammed
    Muhammed Hamed
    V-Ray GPU product specialist


    chaos.com

  • #2
    > This is not how debug shading(isolate select) works in Vray Max/Maya/Modo

    Exactly, because this is not debug shading. "Dragging a texture into an object" in the IPR is the Houdini feature we just wanted to support and it does what it does.
    Currently, I plan to implement this workflow https://forums.chaosgroup.com/forum/...986-debug-node rather then this "drop" thing.
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Awesome!
      Thanks for the input Andrei!
      This would be handy for look dev, instead of the current workflow of making a light material and dropping that into objects.

      Best,
      Muhammed
      Muhammed Hamed
      V-Ray GPU product specialist


      chaos.com

      Comment


      • #4
        Muhammed_Hamed, VOP debug flag support is implemented in the nightlies. Please, check if it works as you expect.
        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
        andrei.izrantcev@chaos.com
        Support Request

        Comment


        • #5
          Thanks so much Andrei, that was quite fast!
          3 things to note in my testing today,
          -debug flag works in a way where it applies the texture to diffuse slot of a Vray material(like what I explained in my original post above)
          This is not good for many reasons, in normal lighting,textures would appear brighter.. and in dim lighting it would be very hard to see how textures looks like(and i will need to go back to the old workflow of creating a light material manually)
          I prefer how isolate select works in Maya/Max/Modo .. which works as if I connect my texture to a light material, so regardless of the lighting in my scene I can see exactly how my textures looks like

          -color correction node appears black when using the debug flag, only node I came across so far that has this behavior.

          -after stopping the IPR and starting it again, there is an issue if the material is applied to multiple objects. Debug shading flag would only work with one object, it won't update on all other objects(on the first IPR run, everything worked without issues)
          I show all 3 problems in my video here
          https://www.youtube.com/watch?v=BQsK...ature=youtu.be

          Link to scene,
          https://drive.google.com/open?id=16O...XsyQpdHy_2PLcj

          Thanks so much for all your help!

          Best,
          Muhammed
          Muhammed Hamed
          V-Ray GPU product specialist


          chaos.com

          Comment


          • #6
            1. Light material is the exactly one used internally. The only thing I could think of is: are u using physical camera?
            2. Which one of the color correction nodes?
            3. I'll check.
            V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
            andrei.izrantcev@chaos.com
            Support Request

            Comment


            • #7
              Originally posted by bdancer View Post
              1. Light material is the exactly one used internally. The only thing I could think of is: are u using physical camera?
              Hi Andrei,
              Yes, I'm using physical camera with these settings?
              Should I disable that?

              Click image for larger version

Name:	Screenshot_160.jpg
Views:	543
Size:	68.8 KB
ID:	1048696

              I'm not getting the effect of a light material in my testing. textures still rely on scene lighting, as if they are connected to diffuse of a typical Vray material"

              Originally posted by bdancer View Post
              Which one of the color correction nodes?
              Vray color correction, this one

              Click image for larger version

Name:	Screenshot_161.jpg
Views:	531
Size:	39.5 KB
ID:	1048697

              Thanks!
              Muhammed Hamed
              V-Ray GPU product specialist


              chaos.com

              Comment


              • #8
                Hello Muhammed_Hamed ,I've added your request for using "Light Material" when a texture is "debugged". I also reproduce and report the "colorCorrection" node behavior in debug mode. But I can't reproduce your third reported issue, even with your scene.
                Georgy Chakarov | QA
                www.chaosgroup.com
                georgy.chakarov@chaosgroup.com

                Comment


                • #9
                  Thanks Georgy!
                  will have time tonight to try and test more for the third issue
                  The behavior is not consistent, sometimes it happens and sometimes it doesn't

                  Best,
                  Muhammed
                  Muhammed Hamed
                  V-Ray GPU product specialist


                  chaos.com

                  Comment


                  • #10
                    chakarov Hi Georgy!
                    Here is a new scene for the 3rd issue
                    I have attached a new video of how I reproduce the issue.

                    https://drive.google.com/file/d/1scW...ew?usp=sharing

                    Best,
                    Muhammed
                    Muhammed Hamed
                    V-Ray GPU product specialist


                    chaos.com

                    Comment


                    • #11
                      Hi, debug mode works only if the builder network is applied to the geometry. In this case when you restart the IPR some of the apples has material that points to output node not the builder network. This is already logged but still not fixed.
                      Georgy Chakarov | QA
                      www.chaosgroup.com
                      georgy.chakarov@chaosgroup.com

                      Comment


                      • #12
                        Thanks Georgy!
                        In my video I applied the output node to only 2 apples, then you can see that this behavior affected 4 Apples.. 2 of which I didn't touch at all
                        Using the output node affects other geometry in the scene randomly(not just the ones I applied to), had this in other scenes as well
                        Muhammed Hamed
                        V-Ray GPU product specialist


                        chaos.com

                        Comment

                        Working...
                        X