Announcement

Collapse
No announcement yet.

Highlight Glossiness Reset

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

  • Highlight Glossiness Reset

    Is there a ruby script we can paste into the Ruby command to reset all of the highlight glossiness values to 1? Laubwerk trees all have highlight glossiness values that leave these white blowout spots on the leaves. I find that resetting the highlight glossiness to 1 fixes this. I was just hoping to automate that process.

    Matthew Valero, ASAI

  • #2
    To set all scene materials' highlight glossiness value back to 1, please copy and paste the following code in the Ruby console:

    Code:
    VRay::LiveScene.active.grep(:BRDFVRayMtl).each{|p| p[:hilight_glossiness_float] = 1}
    VRay.refresh_ui
    Kind regards,
    Peter
    Peter Chaushev
    V-Ray for SketchUp | V-Ray for Rhino | Product Owner
    www.chaos.com

    Comment


    • #3
      Nice script, thanks!

      I think I remember reading somewhere that Laubwerk released an new update for their sketchup player that fixes the specular issue....anyone checked it out yet?
      Core i7-8700K @ 5 GHz, Kraken X72, Asus - ROG MAXIMUS X CODE, Trident Z 64 GB @ 3000 MHz, 2x Samsung - 970 Evo, 2x EVGA - GeForce RTX 2080 Ti, Phanteks - Evolv X, SeaSonic - PRIME Ultra Titanium 1000 W, CyberPower - CP1500PFCLCD, 2x BenQ - PD3200Q, 2x Loctek D7L Monitor Arms, Corsair - K70 LUX RGB, 3Dconnexion SpaceMouse, Logitech - G602

      Windows 10 Pro, Vray 5 for 3DS Max (latest), 3DS Max 2022 (latest), Vray 5 for Sketchup (latest), Sketchup Pro 2021 (latest)

      Comment

      Working...
      X