Announcement

Collapse
No announcement yet.

maxscript for denoiser settings

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

  • maxscript for denoiser settings

    is it possible to change the vray denoiser RE radius and strength settings via maxscript?

  • #2
    Yes it is possible.

    You can list all the accessible properties of the VRayDenoiser class with:
    Code:
    show (VRayDenoiser())
    And you can access your render elements using the render element manager like this:
    Code:
    (
        local rem = maxOps.GetCurRenderElementMgr()
    
        for i = 0 to (rem.numRenderElements() - 1) where isKindof (rem.getRenderElement i) VRayDenoiser do
        (
            local vde = rem.getRenderElement i
            vde.radius = 5
            vde.strength = 0.7
        )
    )
    Dan Brew

    Comment


    • #3
      Thanks Dan.

      Comment

      Working...
      X