Announcement

Collapse
No announcement yet.

VRay scene converter washed out colours

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

  • VRay scene converter washed out colours

    I've been sent a Sketchup model from an architect which needs a fair amount of work. I've imported and reorganised everything and then went to convert everything to VRay mats but it's highlighted that every physical material has the reflections as white with the value adjusted (though in most cases not so bricks etc. show as fully reflective etc.).

    Clearly the converter is doing exactly what it is supposed to do as the reflectivity comes through as per the Physical mat so my question is, is there a quick an easy way to remove the reflectivity from all materials or is this going to be a painful couple of days adjusting every material?

    I'd say about 50% of them I'd be changing anyway, it's just those ones that are barely visible that I'd like to be able to leave as they are with no reflectivity but with 26 different house types, each one with about 25 materials assigned (a lot of the same or similar) it's going to take some time.



  • #2
    Originally posted by Stirling View Post
    Clearly the converter is doing exactly what it is supposed to do as the reflectivity comes through as per the Physical mat so my question is, is there a quick an easy way to remove the reflectivity from all materials or is this going to be a painful couple of days adjusting every material?
    You can set the Reflection color of all VRayMtls to black with this MaxScript code:
    Code:
    for each in SceneMaterials where
    classof each == VRayMtl do
    (
    each.Reflection = color 0 0 0
    )​​
    Open the script editor (Scripting>Script Editor), paste the code in a new script, and Evaluate All (Ctrl+E).
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Amazing, thank you very much.

      Sorry about the thread title, realised about the reflectivity half way through the post and forgot to change it.

      Comment

      Working...
      X