Announcement

Collapse
No announcement yet.

Method to remove interpolated settings?

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

  • Method to remove interpolated settings?

    We have inherited a series of complex models which we are going to be using to create an animation. There are hundreds of vray materials applied to all the geometry, each with useless names (material #112, material #564 etc). Many of the materials are multi-sub object materials.

    My problem is that many of the materials have interpolation ticked on for glossy reflections (and, in some instances, refractions). Any ideas how I can globally tell all materials to have 'none' interpolated materials?
    Kind Regards,
    Richard Birket
    ----------------------------------->
    http://www.blinkimage.com

    ----------------------------------->

  • #2
    found one - VMC on scriptspot. Yippeeeeee!
    Kind Regards,
    Richard Birket
    ----------------------------------->
    http://www.blinkimage.com

    ----------------------------------->

    Comment


    • #3
      Code:
      (
          for m in sceneMaterials do (
              if classof m == multimaterial then (
                  for i=1 to m.numsubs do (
                      try (
                          m[i].reflection_useInterpolation = false
                          m[i].refraction_useInterpolation = false
                      ) catch ()
                  )
              ) else (
                  try (
                      m.reflection_useInterpolation = false
                      m.refraction_useInterpolation = false
                  ) catch ()
              )
          )
      )
      this will get them all, just run it if anyone else needed it.
      Colin Senner

      Comment


      • #4
        Our version here at work is called "FindNastyInterpolatedGlossies"
        Eric Boer
        Dev

        Comment

        Working...
        X