View topic - True leaf

True leaf

General questions related with the YafaRay Project, 3D computer graphics and about this site.

True leaf

Post Thu Feb 24, 2011 10:07 pm

Hi all, I mean, its blame, but I dont know how set material , when I have leaf /rectangular with UV map of PNG image/ and I need to see just a png .... Its not problem to set material transpharency, but after that is leaf real transparency /we can see contour of object behind leaf/ and makes not shadows... THX for help

www.hangardesign.ic.cz  www.hangardesign.wordpress.com /use google translate

User avatar
HANGAR
 
Posts: 457
Joined: Sun Dec 13, 2009 1:54 pm

Re: True leaf

Post Thu Feb 24, 2011 10:20 pm

could you upload an example?

"Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men."

User avatar
condar
 
Posts: 771
Joined: Sun Apr 12, 2009 2:41 am

Re: True leaf

Post Thu Feb 24, 2011 11:09 pm

As you can see, leafs are transpharency and makes no shadows....this is my problem...but, looks good, it was .OBJ object from Xfrog collection...
Attachments
leaf.png

www.hangardesign.ic.cz  www.hangardesign.wordpress.com /use google translate

User avatar
HANGAR
 
Posts: 457
Joined: Sun Dec 13, 2009 1:54 pm

Re: True leaf

Post Fri Feb 25, 2011 10:43 am

Can you post an example of the leaf map files?

You normally don't need to set transparency for the leaf material, the transparency is supplied by the alpha channel and/or the alpha matte, depending on what textures are supplied.
User avatar
stoneage
 
Posts: 1241
Joined: Sun Dec 23, 2007 1:06 pm

Re: True leaf

Post Fri Feb 25, 2011 2:41 pm

You won't see much shadows there, because of diffused light source and overexposure of ground.
User avatar
_Mo_
 
Posts: 899
Joined: Fri Sep 11, 2009 8:58 am
Location: Slovenia

Re: True leaf

Post Fri Feb 25, 2011 3:06 pm

Here is leaf.png , made from originall tiff image / download from xfrog like .obj with maps /
Attachments
leaf.png

www.hangardesign.ic.cz  www.hangardesign.wordpress.com /use google translate

User avatar
HANGAR
 
Posts: 457
Joined: Sun Dec 13, 2009 1:54 pm

Re: True leaf

Post Fri Feb 25, 2011 3:11 pm

MO, I was testing it yesterday, and shadows are solved....but this transpharency is problem. I want matte material with texture...

www.hangardesign.ic.cz  www.hangardesign.wordpress.com /use google translate

User avatar
HANGAR
 
Posts: 457
Joined: Sun Dec 13, 2009 1:54 pm

Re: True leaf

Post Sat Feb 26, 2011 3:15 pm

Blend by b/w mask is not the answer? One mat is matte with transparency=100%, second a blend of matte with translucency about 10-20% and glossy. I think that it's better to use translucency for leaves - transparency on your render looks not real. If I am correct, this will give you the "real" shadow with believable leaf mat. This is theoretical approach, I didn't tested this, 'cause I'm using real geometry plants for now.
suomi
 
Posts: 178
Joined: Mon Sep 13, 2010 4:59 am

Re: True leaf

Post Sat Feb 26, 2011 6:10 pm

When I want to use blend material, Yafa export crash.... :x

www.hangardesign.ic.cz  www.hangardesign.wordpress.com /use google translate

User avatar
HANGAR
 
Posts: 457
Joined: Sun Dec 13, 2009 1:54 pm

Re: True leaf

Post Sat Feb 26, 2011 6:19 pm

When I want to use blend material, Yafa export crash....


I'm talking about mats in 0.1.1 - I use this version for production due to render speed. How it's working in 0.1.2 I just don't know.
suomi
 
Posts: 178
Joined: Mon Sep 13, 2010 4:59 am

Re: True leaf

Post Sat Feb 26, 2011 6:34 pm

HANGAR: can you explain a bit more how you want to set up your leaf material? You just want an alpha-mapped leaf with some translucency? Maybe you are trying to do something a bit different, but I don't have any problems setting this up:

leaf-render.png
Attachments
leafblend.zip
(546.99 KiB) Downloaded 282 times
User avatar
wizofboz
 
Posts: 235
Joined: Tue Sep 16, 2008 7:00 pm

Re: True leaf

Post Sat Feb 26, 2011 6:52 pm

to avoid that kind of complications work with an alpha map in a different slot
Attachments
leaf.png
leaf maps.png
leaf_blendfile.zip
(593.78 KiB) Downloaded 279 times

"Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men."

User avatar
condar
 
Posts: 771
Joined: Sun Apr 12, 2009 2:41 am

Re: True leaf

Post Sat Feb 26, 2011 8:38 pm

Dude, just push ALPHA button in texture settings in Blender...!! :D :D
Solved....THX guys....

www.hangardesign.ic.cz  www.hangardesign.wordpress.com /use google translate

User avatar
HANGAR
 
Posts: 457
Joined: Sun Dec 13, 2009 1:54 pm

Re: True leaf

Post Sat Feb 26, 2011 9:52 pm

Yafi
 
Posts: 51
Joined: Sun Feb 06, 2005 4:54 pm

Re: True leaf

Post Sat Feb 26, 2011 10:01 pm

HANGAR wrote:Dude, just push ALPHA button in texture settings in Blender...!! :D :D
Solved....THX guys....

the problem with that is you have to set Transparency = 1 to get transparent shadows.
with a separate alpha map you can change the transparency from yafaray settings without affect the alpha channel

"Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men."

User avatar
condar
 
Posts: 771
Joined: Sun Apr 12, 2009 2:41 am


Return to News & Discussion



Who is online

Users browsing this forum: No registered users and 5 guests

cron