sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Alpha Channel, Trees, Vray - HELP

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    30 Posts 13 Posters 22.1k Views 13 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.
    • thomthomT Offline
      thomthom
      last edited by

      Sorry. Be in the list of materials. Not in edit mode. (The "Select" tab next to "Edit")

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

      1 Reply Last reply Reply Quote 0
      • C Offline
        CurryPork
        last edited by

        Thanks Thom. I learned something new.

        I got the alpha channel out of the tree now. Do you know how to make it work in Vray?

        I assign a PNG as a bitmap in the COLOR slot in DIFFUSE and the alpha layer as a bitmap in the TRANSPARENCY slot in the DIFFUSE. But when I render in Vray it's not working... any suggestion?

        Thanks

        1 Reply Last reply Reply Quote 0
        • C Offline
          CurryPork
          last edited by

          OK, I got it to work... thanks.

          1 Reply Last reply Reply Quote 0
          • C Offline
            chango70
            last edited by

            So how did you get it to work?

            1 Reply Last reply Reply Quote 0
            • C Offline
              CurryPork
              last edited by

              I have it working for the 2D tree and this works for the 3D tree as well. So, just extract the alpha channel from the original texture as Thom described.

              In VRAY, apply the original texture in the Color slot and the alpha in the transparent slot. Render and this solves it.

              Thanks Thom.


              palm.jpg


              coconut_test3_clean_green_alpha.png

              1 Reply Last reply Reply Quote 0
              • C Offline
                chango70
                last edited by

                Thx I just tried it myself and it works.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  devran
                  last edited by

                  Hi Fellowcombatants listen!!! First You download the tree from warehouse... click on the component open it then rightclick and save the png. then open in Photoshop and rightclick on the icon in the layers menu and choose choose pixels... change to channels menu and create a alpha channel... this channel is saveable as a new picture... rightclick on the alpha channel and save as a new picture... thats all.... ( sorry for all non Photoshop users)... ciao devran

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tvicari
                    last edited by

                    You guys rock . . thanks for the tips, works great I have been looking for this solution for a long time. Thanks for making an effort and sharing knowledge.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jdcarling
                      last edited by

                      Hey all,

                      I read this post and have figured out how to create the alpha channel in photoshop for a tree, but cannot find the location to insert the png properly in the material editor - diffuse - transparency. I clicked the lower case, then switched the left panel to TEXBITMAP but coudl not insert the alpha channel PNG anywhere... any tips.

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jdcarling
                        last edited by

                        Hey All,

                        I read this post and have figured out how to create the alpha channel in photoshop for a tree, but cannot find the location to insert the png properly in the material editor - diffuse - transparency. I clicked the lower case, then switched the left panel to TEXBITMAP but coudl not insert the alpha channel PNG anywhere... any tips.

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          In the Transparency slot of the diffuse layer - add a TexBitmp:
                          vfsualpah.png

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

                          1 Reply Last reply Reply Quote 0
                          • kaluK Offline
                            kalu
                            last edited by

                            Hi thomthom:

                            I have this dilema, I read the post all perfect. I try to mimic the results and I want to know what I am doing wrong. I attach the tree and the images for the render. Please let me know what I am doing wrong. I use Sketchup Pro 8 and Vray 1.48.89. Some of the leaves show as a rectangular green. I have no Idea why.

                            Here is the link to the 3D model of the tree:

                            https://rcpt.yousendit.com/1023169415/e1236da1e739047eed35fa1248da71be

                            Thank you!!!!


                            EU03lef.png


                            EU03lef-Alpha.png


                            tree.jpg


                            tree01.jpg


                            difuse01.jpg


                            difuse02.jpg


                            difuse03.jpg

                            THE ONLY DIFFERENCE BETWEEN FICTION AND REALITY IS WHEN FICTION HAS TO BE CREDIBLE

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              That's because you didn't map the backside of the faces. You can even see that in SketchUp.

                              I'm guessing you imported this from another 3d format?
                              Because of that you lost the backside information. Many other 3d apps doesn't display anything on the backside of faces. You have to explicitly enable it.

                              To quickly transfer UV mapping from one side to another, use this plugin: http://forums.sketchucation.com/viewtopic.php?f=323&t=18992&p=155759#p155759

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

                              1 Reply Last reply Reply Quote 0
                              • kaluK Offline
                                kalu
                                last edited by

                                Thank you ThomThom, aweomse your plugin, I have that problem when Import 3DS trees...

                                This is the result:


                                tree.jpg


                                tree1.jpg

                                THE ONLY DIFFERENCE BETWEEN FICTION AND REALITY IS WHEN FICTION HAS TO BE CREDIBLE

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  👍 Nice

                                  Where's that top tree from?

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

                                  1 Reply Last reply Reply Quote 0
                                  • kaluK Offline
                                    kalu
                                    last edited by

                                    Is from ASGVIS, I need to use for a Tutorial that I work right now.

                                    THE ONLY DIFFERENCE BETWEEN FICTION AND REALITY IS WHEN FICTION HAS TO BE CREDIBLE

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      teris
                                      last edited by

                                      i've tried it... but it didn't work out... i wonder what part i've missed...

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        teris
                                        last edited by

                                        i've tried it using vray 1.48.xx,,, it works... just use the color texture as transparency option... but when i tried it using vray 6 with the explanation above,,, it still didn't work... i still wonder... help me out guys... thanks...

                                        1 Reply Last reply Reply Quote 0
                                        • bac9-flclB Offline
                                          bac9-flcl
                                          last edited by

                                          Isn't there a way to utilize normal transparency types supported in SketchUp? I'm talking about alpha channels in .png/.tga/etc textures.

                                          I have a vast library of transparent materials, but all of them have transparency data inside, not as a separate file - and it is very inconvenient for me to make separate images with alpha, just to meet weird V-Ray standards. Is it possible (in V-Ray material editor) to assign alpha channel of e.g. RGBA .tga texture to be used as transparency map?

                                          1 Reply Last reply Reply Quote 0
                                          • andybotA Offline
                                            andybot
                                            last edited by

                                            There is a check box in the material diffuse layer to "use color texture as transparency" for just such files.

                                            http://charlottesvillearchitecturalrendering.com/

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

                                            Advertisement