Announcement

Collapse
No announcement yet.

script to change all bitmaps with 0.01 filter to 0.1 ?

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

  • script to change all bitmaps with 0.01 filter to 0.1 ?

    Reading a thread on here recently it was pointed out that having a low blur value can slow render times significantly.
    Does anyone know of any quick way to change the properties of all bitmaps/vrayHDRI maps in a scene?

    Cheers
    Last edited by Richard7666; 19-07-2018, 05:52 PM.

  • #2
    I don't know what is "filter. But, this is for "Blue" value.

    for m in (getclassinstances bitmaptexture ) do m.coords.blur = 0.1
    for m in (getclassinstances VRayHDRI) do m.coords.blur = 0.1

    Comment


    • #3
      Thanks! I'm trying to change it so that it changes all bitmaps with blur under a certain value, say all under 0.1 will be changed to 0.1

      for m in (getclassinstances bitmaptexture ) if m.coords.blur < 0.1 do m.coords.blur = 0.1

      but I don't really know Maxscript and it doesn't work : /

      Comment


      • #4
        http://www.scriptspot.com/3ds-max/sc...-modifier-zorb

        With Zorb you can batch modify anything in your scene.
        A.

        ---------------------
        www.digitaltwins.be

        Comment


        • #5
          for m in (getclassinstances bitmaptexture ) where (m.coords.blur < 0.1) do m.coords.blur = 0.1

          Comment

          Working...
          X