Announcement

Collapse
No announcement yet.

Vraybitmap Full Resolution Script

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

  • Vraybitmap Full Resolution Script

    I have a model with many submaterials.
    Are there any scripts for turning all (or only selected models) VrayBitmaps to display full resolution?

    Thanks.
    LunarStudio Architectural Renderings
    HDRSource HDR & sIBL Libraries
    Lunarlog - LunarStudio and HDRSource Blog

  • #2
    You can use Modifier Modifier Zorb for that. This script is able to expose all parameters from anything and do mass changes (or randomly).
    A.

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

    Comment


    • #3
      What Ashley said: that's the best way about mass-editing in Max, bar none.
      If you'd rather not install the script, for whatever reason, running the code below will do the trick.
      If something is selected, then only the maps belonging to the selected nodes will be processed (nodes should be safe, no matter their class. select as you please, without second thoughts as to filtering it), but if there is no selection (as in, nothing at all selected), then it'll process the whole scene.

      Notice that this may lead to crashes if you force the full-size display of many bitmaps and exceed the graphic card's memory limits.

      Code:
      (
      theSel = selection as array
      if theSel.count == 0 then --no selection, process the scene
      (
      for m in getclassinstances vraybitmap do m.viewport_useFullResolution=true
      )
      else --we have a selection, process that instead
      (
      theMaps=#()
      for o in theSel do
      (
      join theMaps (getclassinstances vraybitmap target:o )
      )
      for m in theMaps do m.viewport_useFullResolution=true
      )
      )
      Last edited by ^Lele^; 20-05-2022, 08:01 AM.
      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

      Working...
      X