Announcement

Collapse
No announcement yet.

Maya VrayMtl attribute shorthands

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

  • Maya VrayMtl attribute shorthands

    Hi, we're trying to open a lookdev maya scene that contains vray shaders on a machine that doesn't have vray, so the vraymtl attributes only exist as shorthands. Is there somewhere I can see what these shorthands mean? For example, I'm pretty sure "rlc" is reflection color and "rlg" is reflection glossiness, but what are the rest? Where can I find this information?

    Code:
    igi 0.0
    rlc [(1.0, 1.0, 1.0)]
    rlg 0.3333333432674408
    uf 1.0
    fde 1.0
    gfr 1.0
    ggxog 0.0
    uro 1.0
    and 0.0
    afs 1.0
    cth 0.0010000000474974513
    brdf 3.0
    omode 2.0
    oc None
    dc [(0.0022464534267783165, 0.0060036275535821915, 0.009642471559345722)]
    __
    https://surfaceimperfections.com/

  • #2
    Hello!

    You can use a machine which has V-Ray for Maya installed and execute in the script editor the following MEL to get the long attribute name:
    Code:
    attributeQuery -node "<nodeName>" -longName "<shortAttributeName>";
    This way you can get the following information:
    igi -> illumGI
    rlc -> reflectionColor
    rlg -> reflectionGlossiness
    uf -> useFresnel
    fde -> fixDarkEdges
    gfr -> glossyFresnel
    ggxog -> ggxOldTailFalloff
    uro -> useRoughness
    and -> anisotropyDerivation
    afs -> affectShadows
    cth -> cutoffThreshold
    brdf -> brdfType
    omode -> opacityMode
    oc -> outColor
    dc -> diffuseColor
    Iliyana Vladeva
    Software Development Engineer
    V-Ray for Maya

    Comment

    Working...
    X