Announcement

Collapse
No announcement yet.

VRayColor and Maxscript

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

  • VRayColor and Maxscript

    How can I access all the parameters inside VRayColor map with Maxscript, like the gamma value? And how do I set the color values? Is there somewhere where I can find all these specific maxscript commands?

  • #2
    Originally posted by trick View Post
    How can I access all the parameters inside VRayColor map with Maxscript, like the gamma value? And how do I set the color values? Is there somewhere where I can find all these specific maxscript commands?
    showproperties method didn't help you?

    Code:
    meditMaterials[1]=VRayColor()
    
    showproperties meditMaterials[1]
    Output:
    Code:
    .color_mode : integer
    .temperature : float
    .red : float
    .green : float
    .blue : float
    .rgb_multiplier : float
    .alpha : float
    .color : color
    .color_gamma : float
    .rgb_primaries : integer
    .gamma_correction : integer
    .gamma_value : float
    V-RayMax Converter PRO
    MAXTools

    Comment


    • #3
      Great….thanks. I am just a hobby programmer

      Comment


      • #4
        I wrote a simple thread here, feel free to have a look!
        Lele
        Trouble Stirrer in RnD @ Chaos
        ----------------------
        emanuele.lecchi@chaos.com

        Disclaimer:
        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

        Comment


        • #5
          Great reading and learning material.Thanks

          Comment

          Working...
          X