Announcement

Collapse
No announcement yet.

Wrapper material viewport color

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

  • Wrapper material viewport color

    This may seem trivial to be honest but it's helped a lot in my workflow. In our pipeline we've been in Maya 2016, and we're trying to move to the latest version. I need to make sure our workflow won't be affected as we rely on legacy render layers, and we use a lot of layers. Recently I happened to notice (in Maya 2016) that vray wrapper materials had some attributes that only showed in the channel box for colorR, colorG, and colorB. These attributes caused the color of the wrapper to change in the view port which really highlighted what's going to be visible and what's not in the final render. Well I installed Maya 2018 and VRay 3.60 and I'm just doing some testing on a spare machine and I noticed that these attributes are gone. Again, I know this is trivial, but helpful. Does anyone know if it's still possible to override the color of wrapper materials in the view port? (side note, I generally make anything with a wrapper pure green so that it's quite obvious)

    Thanks in advance!

  • #2
    Is this what you mean:

    Click image for larger version

Name:	wrapper.png
Views:	52
Size:	73.8 KB
ID:	1005193
    Alex Yolov
    Product Manager
    V-Ray for Maya, Chaos Player
    www.chaos.com

    Comment


    • #3
      Unfortunately no, these attributes show up just beneath Base Material RGB. The attached image is in Maya 2016 with VRay 3.40.06. These attributes show up in the channel box, and the attribute spread sheet, but oddly do not appear in the channel control.
      In Maya 2018 with 3.60.02 these attributes don't show up at all. One thing I did do is bring back Legacy Default Viewport in 2018 and the green does appear but only in the viewport itself. No attributes appear at all. So my only guess is that since Viewport 2.0 is the default in 2018, these attributes may have been removed or hidden somewhere deep. Since I enabled Legacy, I can adjust these attributes through scripting, so it's something I suppose.

      Comment


      • #4
        A possible workaround would be to change the default color of your object and then assign V-Ray material override with V-Ray Wrapper as an extra attribute.


        Click image for larger version

Name:	2018-07-26_18-29-09.jpg
Views:	157
Size:	132.3 KB
ID:	1005223

        Nikolay Kusht | chaos.com
        Team Lead, 3D Support | contact us

        Comment


        • #5
          It seems that the color attributes you are talking about is something that worked only in the legacy viewport. The legacy viewport was removed by autodesk in 2018 if I'm correct, so those will not work either way.
          I would suggest the workaround that nikolay.kusht proposed. Keep in mind it requires enabling the texture view (6 on the keyboard).
          Will that work for you?
          Alex Yolov
          Product Manager
          V-Ray for Maya, Chaos Player
          www.chaos.com

          Comment


          • #6
            Legacy was removed but it can be reactivated through a quick edit of the environment file. Like I said, I am able to MEL script it so I can edit the colorRGB on the wrapper materials, but I do have to stay in Legacy Viewport in order to see it, which I'm perfectly fine with.

            The workaround nikolay.kusht suggested sounds like it would work in theory, but in execution might be a bit tedious in the grand scheme of things. I think ultimately I'll live with legacy until they remove it entirely. In an absolute worst case scenario, I may be able to script in wireframe color changes with overrides per render layer, but it's not my favorite option.

            Thank you yolov and nikolay.kusht I appreciate your assitance.

            Now on to learning the newer render layer set up. I've been stuck in 2016 for so long I never had a chance to learn it.

            Comment

            Working...
            X