Alpha Channel, Trees, Vray - HELP

General discussion on V-Ray for SketchUp

Alpha Channel, Trees, Vray - HELP

Postby CurryPork » Mon Jan 19, 2009 5:26 pm

Hi forum, I need some alpha channel help. I don't know if it's a Vray setting or a Sketchup setting.

Basically, I have some 2D and 3D trees sketchup trees, but I cannot get them to render correctly in VRAY for sketchup. How can I fix the alpha channel?

Thanks
0

CurryPork 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby thomthom » Tue Jan 20, 2009 8:23 am

You need to extract the alpha channel as a grayscale image. Then add that to the transparency slot in the diffuse channel. V-Ray doesn't read the alpha channel from PNG images, so it need to be separate.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Alpha Channel, Trees, Vray - HELP

Postby CurryPork » Tue Jan 20, 2009 3:26 pm

How do you extract the alpha channel? I can't even find the PNG file from these trees. The 2D might be possible with Photoshop, but how would you extract from the 3D tree?
0

CurryPork 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby Gaieus » Tue Jan 20, 2009 3:41 pm

How did you get these trees? What the images used in them is needed is a clip map (if you can get the original png files, you can create these clips easily in PS).
0
User avatar
Gaieus 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby CurryPork » Tue Jan 20, 2009 4:00 pm

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.
0

CurryPork 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby thomthom » Tue Jan 20, 2009 4:09 pm

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.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Alpha Channel, Trees, Vray - HELP

Postby CurryPork » Tue Jan 20, 2009 4:21 pm

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

CurryPork 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby thomthom » Tue Jan 20, 2009 4:27 pm

Sorry. Be in the list of materials. Not in edit mode. (The "Select" tab next to "Edit")
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Alpha Channel, Trees, Vray - HELP

Postby CurryPork » Tue Jan 20, 2009 4:50 pm

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
0

CurryPork 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby CurryPork » Tue Jan 20, 2009 5:15 pm

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

CurryPork 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby chango70 » Tue Jan 20, 2009 5:24 pm

So how did you get it to work?
0

chango70 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby CurryPork » Tue Jan 20, 2009 5:25 pm

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.
0

CurryPork 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby chango70 » Tue Jan 20, 2009 5:48 pm

Thx I just tried it myself and it works.
0

chango70 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby devran » Sun Feb 01, 2009 5:26 pm

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
0

devran 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby tvicari » Wed Aug 25, 2010 6:53 pm

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.
0

tvicari 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby jdcarling » Fri Sep 10, 2010 3:35 pm

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.
0

jdcarling 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby jdcarling » Fri Sep 10, 2010 3:36 pm

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.
0

jdcarling 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby thomthom » Fri Sep 10, 2010 4:29 pm

In the Transparency slot of the diffuse layer - add a TexBitmp:
vfsualpah.png
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Alpha Channel, Trees, Vray - HELP

Postby kalu » Wed Jan 12, 2011 10:11 pm

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/e ... 1248da71be

Thank you!!!!
0
THE ONLY DIFFERENCE BETWEEN FICTION AND REALITY IS WHEN FICTION HAS TO BE CREDIBLE
User avatar
kalu 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby thomthom » Thu Jan 13, 2011 12:22 am

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: viewtopic.php?f=323&t=18992&p=155759#p155759
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Alpha Channel, Trees, Vray - HELP

Postby kalu » Sat Jan 15, 2011 5:33 am

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

This is the result:
0
THE ONLY DIFFERENCE BETWEEN FICTION AND REALITY IS WHEN FICTION HAS TO BE CREDIBLE
User avatar
kalu 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby thomthom » Sat Jan 15, 2011 12:06 pm

:thumb: Nice

Where's that top tree from?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Alpha Channel, Trees, Vray - HELP

Postby kalu » Sun Jan 16, 2011 7:13 am

Is from ASGVIS, I need to use for a Tutorial that I work right now.
0
THE ONLY DIFFERENCE BETWEEN FICTION AND REALITY IS WHEN FICTION HAS TO BE CREDIBLE
User avatar
kalu 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby teris » Fri Jul 22, 2011 12:59 pm

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

teris 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby teris » Fri Jul 22, 2011 1:36 pm

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...
0

teris 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby bac9-flcl » Wed Dec 21, 2011 7:04 pm

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?
0
User avatar
bac9-flcl 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby andybot » Wed Dec 21, 2011 7:25 pm

There is a check box in the material diffuse layer to "use color texture as transparency" for just such files.
0
my blog featuring recent projects
User avatar
andybot 
Premium Member
Premium Member
 

Re: Alpha Channel, Trees, Vray - HELP

Postby ali64risk » Tue Jan 24, 2012 3:47 pm

devran wrote:rightclick on the alpha channel and save as a new picture... thats all



I tried but I could not...
please someone explain more?
(right clicking on alpha channel in Photoshop gave me 2 options: "duplicate channel" and "save channel"... where I can save alpha channel as png?)
0

ali64risk 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby nomeradona » Wed Jan 25, 2012 2:11 pm

ali.. what they were talking was the workflow for the old version. the new vray version, dont worry, just follow what andybot said.
0

nomeradona 
 

Re: Alpha Channel, Trees, Vray - HELP

Postby ali64risk » Thu Jan 26, 2012 2:27 am

nomeradona wrote:just follow what andybot said.


thank you
yes it is working
0

ali64risk 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to V-Ray

Who is online

Users browsing this forum: shds27 and 5 guests