• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Material ID and Transparency

Scheduled Pinned Locked Moved V-Ray
renderpluginsextensions
14 Posts 4 Posters 9.9k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    valerostudio
    last edited by 4 Sept 2012, 19:05

    Any tricks on how to get the material id for a 100% clear glass to show up in the VFB? Seems like the materiald id takes the transparency into account.

    1 Reply Last reply Reply Quote 0
    • A Offline
      andybot
      last edited by 4 Sept 2012, 19:19

      yeah, I've run into that problem too. I put a plane behind my windows in the interior, set it to a new matID...

      http://charlottesvillearchitecturalrendering.com/

      1 Reply Last reply Reply Quote 0
      • V Offline
        valerostudio
        last edited by 4 Sept 2012, 19:40

        So you do a separate region render after your beauty pass is done?

        1 Reply Last reply Reply Quote 0
        • A Offline
          andybot
          last edited by 4 Sept 2012, 19:50

          erm, no. This is only with an exterior model, so it doesn't matter so much what's on the interior. Don't know any more than that, I've not used material ID for windows where I can see the interior. Maybe a reflection pass can help you mask your windows out?

          http://charlottesvillearchitecturalrendering.com/

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 4 Sept 2012, 21:26

            Can you render out a pass with transparency disabled...?

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • A Offline
              andybot
              last edited by 5 Sept 2012, 13:06

              @valerostudio: I figured it out! - you don't have a refraction layer do you? It works fine with a refraction layer...
              opac_test03t.jpg
              opac_test03t.Material_ID.jpg

              Not to mention - it gets weirder if you have an ID color for the glass - it overlaps the ID color of the other IDs. see second matID map example.
              opac_test04.Material_ID.jpg

              Here are my material settings:
              2012-09-05_090135.png
              2012-09-05_090054.png

              http://charlottesvillearchitecturalrendering.com/

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 5 Sept 2012, 13:18

                This smells like bugs all over the place!

                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 5 Sept 2012, 13:30

                  @andybot said:

                  Note that the amount of transparency is very different with a single layer of glass.

                  Isn't that the fog?

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    andybot
                    last edited by 5 Sept 2012, 13:34

                    no, my fog color is pure white. There's two layers of reflection instead of one.

                    Edit:
                    Oh, and the dark blue glass is not completely transparent. This is a material I use for exterior renders when I don't want to see in the building.

                    http://charlottesvillearchitecturalrendering.com/

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      andybot
                      last edited by 5 Sept 2012, 13:41

                      Buggy, yes, just one of many 😞
                      c'mon new beta!! πŸŽ‰

                      One trick - if you are using a single layer of glass, is to change the refraction IOR to 1.0 to avoid distorting objects behind the glass.
                      having the refraction layer works with both single and double thickness glass for MatID.

                      Note that the amount of transparency is very different with a single layer of glass. (Edit: I am using a semi-transparent material for the dark blue glass instead of fully transparent.)


                      opac_test07t.jpg


                      opac_test07t.Material_ID.jpg

                      http://charlottesvillearchitecturalrendering.com/

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        valerostudio
                        last edited by 5 Sept 2012, 14:40

                        Flipping A! Nice work to finding a trick for this pain in the butt bug. Seriously need this new beta.

                        1 Reply Last reply Reply Quote 0
                        • V Offline
                          valerostudio
                          last edited by 5 Sept 2012, 19:24

                          The AA on the glass id channel does screwy things. Anyone know why this is?


                          AA Effect.JPG

                          1 Reply Last reply Reply Quote 0
                          • V Offline
                            valerostudio
                            last edited by 5 Sept 2012, 20:04

                            I assume its a product of refraction. You can see the AA on the green edge compared to the red edge of the glass. Choppy and weird. At least this is a decent workaround. Thanks guys.

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              gparadis
                              last edited by 25 Jan 2017, 15:09

                              Reverse question - is there a way to exclude 100% transparent material from the material ID render ? Say I have a texture of a tree where the foliage is opaque and an alpha channel masks what's not needed. Material ID still considers the transparent surface as a different material.

                              When a lot of objects are in background, selection is not optimal.

                              Thanks


                              render preview


                              material id preview

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement