Announcement

Collapse
No announcement yet.

Set trace depth for all materials

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

  • Set trace depth for all materials

    Hi,

    is there a script or any other way available to set the reflection/refraction trace depth for all materials in the scene? I have hundreds of materials that I would like to adjust and then afterwards just adjust the global settings for preview purposes and so on.

    Thanks everybody
    Add Your Light LogoCheck out my tutorials, assets, free samples and weekly newsletter:
    www.AddYourLight.com
    Always looking to learn, become better and serve better.

  • #2
    This is a great one. Haven't used it in a while but should still work, can't remeber if it did trace depths though.
    http://www.scriptspot.com/3ds-max/sc...terial-control

    Download url
    http://www.oliverradford.com/3ds-max...erial-control/
    Last edited by Raven; 17-03-2017, 05:56 AM.
    Gavin Jeoffreys
    Freelance 3D Generalist

    Comment


    • #3
      Originally posted by Raven View Post
      This is a great one. Haven't used it in a while but should still work, can't remeber if it did trace depths though.
      http://www.scriptspot.com/3ds-max/sc...terial-control

      Download url
      http://www.oliverradford.com/3ds-max...erial-control/
      Thank you!
      I will try it out. Quite old, hopefully it works with the latest version...
      Add Your Light LogoCheck out my tutorials, assets, free samples and weekly newsletter:
      www.AddYourLight.com
      Always looking to learn, become better and serve better.

      Comment


      • #4
        Or just with this :

        for m in (getclassinstances vraymtl ) do
        (
        local myDepth = 5
        m.reflection_maxDepth = myDepth
        m.refraction_maxDepth = myDepth
        )
        (where 5 can obviously be replaced with the number you want)
        Last edited by NicoC; 17-03-2017, 07:05 AM.
        Nicolas Caplat
        www.intangibles.fr

        Comment

        Working...
        X