Announcement

Collapse
No announcement yet.

Tool for editing VRay Volume Grids En Masse?

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

  • Tool for editing VRay Volume Grids En Masse?

    Does anyone know of a tool, method or script for editing multiple Vray Volume Grids at once? I have scenes with dozens of duplicate vdb grids that I would like to alter things like render settings, preview detail reduction, input cache path, etc for a selection of them instead of doing one-by-one. Also a way to randomize the cache/timeline origin within a user defined range would be cool

    Unfortunately you can't instance Volume Grids either.

  • #2
    Hey,

    We have already discussed that in the Phoenix facebook group. I'll just leave the reply if anyone else searches for something similar or if you have any more questions.

    Currently there is no such builtin tool but it's quite easy to script.

    You can randomize the timeline origin using the following script:

    vdbs = selection as array

    for x=1 to vdbs.count do
    vdbs[x].playat = random 1 10


    Instancing of the VolumeGrids should be working as well in the latest V-Ray NEXT builds.

    Cheers,
    Georgi Zhekov
    Phoenix Product Manager
    Chaos

    Comment


    • #3
      The script above assumes the selection is comprised only of VVGs, of course, or it will error out.
      In general, though, one can ask the properties of a max node, by class, like so:

      Code:
      show (VRayVolumeGrid())
      Which will print out all the accessible properties for the VVG object.
      f.e. the preview stuff you'd need to edit would be these two:
      Code:
        .prv_reduct : float
        .prv_autoreduct : boolean
      Should you have no one in the office that could script you a batch editor, let me know and i'll make you a simple one.
      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