Announcement

Collapse
No announcement yet.

Glossy fresnel in the channel box

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

  • Glossy fresnel in the channel box

    Am I just being blind? I cant see "Glossy Fresnel" on/off option in the channel box or attribute spreadsheet.
    Website
    https://mangobeard.com/
    Behance
    https://www.behance.net/seandunderdale

  • #2
    Maya 2018 - Vray 3.6 - PhoenixFD 3.00.02 Beta - Win 7 -

    Comment


    • #3
      Cheers, but that's the attribute editor...Im looking to turn glossy fresnel on for a group selection. (Im useless at scripting, so I was wondering why its not a viewable attribute like all the others in the spreadsheet, or channel box).
      Last edited by seandunderdale; 23-08-2018, 03:49 AM.
      Website
      https://mangobeard.com/
      Behance
      https://www.behance.net/seandunderdale

      Comment


      • #4
        ah sorry. Yeah I can't seem to find it either.
        Maya 2018 - Vray 3.6 - PhoenixFD 3.00.02 Beta - Win 7 -

        Comment


        • #5
          In case anyone is wondering why this is an issue, its come from picking up a CAD automotive asset that was prepped with older Vray shaders, or using a library of shaders which is out of date. To bring it up to date, I need to disable gamma nodes, turn on GGX etc etc. One of the things that always needs doing in this situation is turning on Glossy Fresnel on loads of shaders.

          I know this is probably a simple script to write but retaining any scripting knowledge has always been near impossible for me.
          Website
          https://mangobeard.com/
          Behance
          https://www.behance.net/seandunderdale

          Comment


          • #6
            Just as a hotfix if you're still dealing with having to change all those shaders, you can use this little python script:
            Code:
            import pymel.core as pm
            for obj in pm.selected():
                obj.glossyFresnel.set(1)

            Just select all your materials in hypershade and run that.
            It's a handy snippet to keep around, just change the attribute and value. If you're unsure what an attribute is called, tweak it and check the script editor, it'll log the name there. If you get a "...has no attribute..." error, you might have selected a transform node when the value you want to tweak is on the shape node.
            Hope that helps. I didn't get into scripting until I started having uses for it like this, same problem with retention. I just have a big document filled with tiny snippets of scripts like these that I can botch together to make something useful.
            Last edited by dgruwier; 24-08-2018, 01:41 AM.
            __
            https://surfaceimperfections.com/

            Comment


            • #7
              Cheers mate! Works beautifully. That will be my workflow until it shows up in the channel box.
              Website
              https://mangobeard.com/
              Behance
              https://www.behance.net/seandunderdale

              Comment


              • #8
                I'll make a note to look into this, it doesn't seem right.
                Alex Yolov
                Product Manager
                V-Ray for Maya, Chaos Player
                www.chaos.com

                Comment


                • #9
                  Is this fixed in Vray next? Or was I being blind all along?
                  Website
                  https://mangobeard.com/
                  Behance
                  https://www.behance.net/seandunderdale

                  Comment


                  • #10
                    No, it's not fixed yet. We'll look into it soon, it's really weird why it wouldn't show up in the channel box.
                    On the other hand, if I select a bunch of vrayMtl nodes and go to the attribute spreadsheet > all > search for glossy fresnel - I can tweak it for multiple materials at the same time pretty easily - see if that will work for you.
                    Alex Yolov
                    Product Manager
                    V-Ray for Maya, Chaos Player
                    www.chaos.com

                    Comment


                    • #11
                      Nice one Yolov. That works great.
                      Website
                      https://mangobeard.com/
                      Behance
                      https://www.behance.net/seandunderdale

                      Comment


                      • #12
                        Hey, just a note that this is now fixed and it will be included in the next major update.
                        Alex Yolov
                        Product Manager
                        V-Ray for Maya, Chaos Player
                        www.chaos.com

                        Comment


                        • #13
                          Thanks for the update!
                          Website
                          https://mangobeard.com/
                          Behance
                          https://www.behance.net/seandunderdale

                          Comment

                          Working...
                          X