Announcement

Collapse
No announcement yet.

Is it possible to link cut-off values of different mat

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

  • Is it possible to link cut-off values of different mat

    I woul like to adjust the cut-off value for a dozen of related materials. I don't see that vlue in the material slate editor in max 2011. and I don't see it neither in the parameter wiring editor...

    Is there any way to link those values together... If I lower it for all my scene with a mascript command I saw on the forum, it may increase render time too much...

    __________________________________________
    www.strob.net

    Explosion & smoke I did with PhoenixFD
    Little Antman
    See Iron Baby and other of my models on Turbosquid!
    Some RnD involving PhoenixFD

  • #2
    The parameter is not animatable; you can only wire parameters than can be animated. The other way is to do it through MaxScript.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Ok thanks,

      As I'm not so advanced in scripting (I need to get through Bobo's course), I did some baby script like that:
      cutA=0.01
      rootScene[#SME][#rouge][#coat07____VRayMtl].Properties.reference.option_cutoff = cutA
      rootScene[#SME][#rouge][#coat02____VRayMtl].Properties.reference.option_cutoff = cutA
      rootScene[#SME][#rouge][#coat01____VRayMtl].Properties.reference.option_cutoff = cutA
      rootScene[#SME][#rouge][#coat01____VRayMtl].Properties.reference.option_cutoff = cutA
      rootScene[#SME][#rouge][#coat06____VRayMtl].Properties.reference.option_cutoff = cutA
      rootScene[#SME][#rouge][#coat04____VRayMtl].Properties.reference.option_cutoff = cutA
      rootScene[#SME][#rouge][#coat05____VRayMtl].Properties.reference.option_cutoff = cutA

      It works but I would be curious to see how a pro would have instead get the array of materials and then apply the value to it...

      Is there a way to select some materials in the slate editor and then get an array of those materials.

      __________________________________________
      www.strob.net

      Explosion & smoke I did with PhoenixFD
      Little Antman
      See Iron Baby and other of my models on Turbosquid!
      Some RnD involving PhoenixFD

      Comment

      Working...
      X