• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

Alpha Channel, Trees, Vray - HELP

Scheduled Pinned Locked Moved V-Ray
renderpluginsextensions
30 Posts 13 Posters 22.1k Views
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.
  • C Offline
    CurryPork
    last edited by 20 Jan 2009, 15:00

    Here are the trees. I got them either from here, the internet or the warehouse. But my point is how can you extract the PNG or the alpha channel from these sketchup files.


    2D tree


    3D tree

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 20 Jan 2009, 15:09

      Right click the material in the SU material editor, choose "Extract Texture Image". Save the file to disk and open in your image editor of choice to extract the alpha channel.

      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 20 Jan 2009, 15:21

        Thanks Thom, I tried right clicking everywhere and cannot find that feature.


        where.jpg

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 20 Jan 2009, 15:27

          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 20 Jan 2009, 15:50

            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 20 Jan 2009, 16:15

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

              1 Reply Last reply Reply Quote 0
              • C Offline
                chango70
                last edited by 20 Jan 2009, 16:24

                So how did you get it to work?

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CurryPork
                  last edited by 20 Jan 2009, 16:25

                  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 20 Jan 2009, 16:48

                    Thx I just tried it myself and it works.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      devran
                      last edited by 1 Feb 2009, 16:26

                      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 25 Aug 2010, 17:53

                        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 10 Sept 2010, 14:35

                          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 10 Sept 2010, 14:36

                            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
                            • T Offline
                              thomthom
                              last edited by 10 Sept 2010, 15:29

                              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 12 Jan 2011, 21:11

                                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
                                • T Offline
                                  thomthom
                                  last edited by 12 Jan 2011, 23:22

                                  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 15 Jan 2011, 04:33

                                    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
                                    • T Offline
                                      thomthom
                                      last edited by 15 Jan 2011, 11:06

                                      πŸ‘ 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 16 Jan 2011, 06:13

                                        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 22 Jul 2011, 11:59

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

                                          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