Author Topic: tree Translucency  (Read 27489 times)

2014-02-11, 06:09:54

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Anyone one have any ideas on how to make this look realistic. I used color correction in the translucency swatch I took the main bitmap and made orangey, then I instanced it in the refraction swatch.

2014-02-11, 06:12:21
Reply #1

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Here is more info

2014-02-11, 06:48:13
Reply #2

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram

2014-02-11, 10:39:59
Reply #3

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Mistakes you are doing:

1, Do not use refraction, use just translucency. Set refraction level to 0, and remove map from refraction slot. Only parameter you need to tweak is translucency fraction.

2, You use way too much saturated texture for leaves. It does not look like natural green, but like cartoon acid.

3, Use glossiness map instead of reflection map. And if you after all still decide to use reflection map too, then make sure reflection color texture is greyscale. Tree leaves are not metal material, so they do not tint their reflection.

Look here https://www.google.cz/search?q=tree+leaves&tbm=isch&tbo=u&source=univ&sa=X&ei=1u_5UonUA4rIhAfGxIHAAQ&ved=0CCsQsAQ&biw=1920&bih=1115 and you will notice tree laves are a lot less saturated

2014-02-12, 20:30:19
Reply #4

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
I'll give it a try, thank you.

2014-02-14, 10:51:46
Reply #5

astudio

  • Active Users
  • **
  • Posts: 172
    • View Profile
    • A-Studio
It's look like leaves veins are in wrong direction

2014-02-14, 12:40:23
Reply #6

gracelorn

  • Active Users
  • **
  • Posts: 36
  • 3D enthusiast
    • View Profile
Well spotted, astudio ;) Looks like the texture is flipped.

2014-02-14, 15:59:04
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I tweaked your material a little bit. Obviously there's a room forimprovement even more, but for now it should do.
Scene is there: https://saugykla.teo.lt/Shares/Home.aspx?ShareID=9159e741-d8d5-4587-be4e-6fe6bf619ae6
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-02-15, 01:35:31
Reply #8

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Well spotted, astudio ;) Looks like the texture is flipped.

True, I didnt notice. I have to look closer!


I tweaked your material a little bit. Obviously there's a room forimprovement even more, but for now it should do.
Scene is there: https://saugykla.teo.lt/Shares/Home.aspx?ShareID=9159e741-d8d5-4587-be4e-6fe6bf619ae6

That looks totally awsome Romullus! I am going to take a close look at your material slot.

Below are other tests that I been doing in regards to leaves and translucency. The bad thing is that I am testing with flat models (leaves), it would be nice to have concave leaves. But in these examples I managed to get just a tad of translucency and warmer colors where light seems to pass. Please feel free to crit. Oh and sorry for the bad renders, I have a slow machine, but I rendered regions in places that are of interest.
« Last Edit: 2014-02-15, 01:51:06 by Alex Abarca »

2014-02-15, 10:30:21
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
I think leaves should have more "juicy" yellowish colour where the light is passing through. Some more reflectivity and a subtle bump map could also help. All these things are probably dependant on the kind of plant you are referring to. :) And yes, better geometry (for example leaves bending in some direction) would be nice.

Here are some examples:






Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-02-16, 11:41:55
Reply #10

vkiuru

  • Active Users
  • **
  • Posts: 320
    • View Profile
I think it's a mistake to tweak such materials in HDR lighting and/or taking closeup renders. Most of the time, at least in archviz, vegetation is going to be in the background and as such should look convincing when scattered across a wide area and should work with the most simple lighting.

Threads on this subject usually have a trend of showing off nice closeup shots of leaves lit with nice HDR lighting which IMO begs the question, are you actually tweaking a material or just showing off something that works in strictly controlled environment? Also it's extremely easy to get a material to look organic when you use an overcast lighting, but as soon as you introduce bright sunlight to the equation such materials oftentimes break down. My suggestion is to show how your material works in both overcast and sunlit conditions when doing these tests.

2014-02-17, 01:34:16
Reply #11

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
I think leaves should have more "juicy" yellowish colour where the light is passing through. Some more reflectivity and a subtle bump map could also help. All these things are probably dependant on the kind of plant you are referring to. :) And yes, better geometry (for example leaves bending in some direction) would be nice.

Here are some examples:




Is corona capable of doing this?

2014-02-17, 01:42:32
Reply #12

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
I think it's a mistake to tweak such materials in HDR lighting and/or taking closeup renders. Most of the time, at least in archviz, vegetation is going to be in the background and as such should look convincing when scattered across a wide area and should work with the most simple lighting.

Threads on this subject usually have a trend of showing off nice closeup shots of leaves lit with nice HDR lighting which IMO begs the question, are you actually tweaking a material or just showing off something that works in strictly controlled environment? Also it's extremely easy to get a material to look organic when you use an overcast lighting, but as soon as you introduce bright sunlight to the equation such materials oftentimes break down. My suggestion is to show how your material works in both overcast and sunlit conditions when doing these tests.

I agree with you, I think it also has alot to do with your HDRI exposure you decide to use. With some of them (that don't work) I do get out of whack colors. With the VIZpeople HDRI there is minimal differences in color varience. Color correction (map) is a key controller to have, because you can de-saturate as needed depending on the scene. But I totally agree with you, direct sun light is probably the best solution for making materials. The translucency will be the same in both scenarios, its just the color one has to watch out for. Here is a render from the tree without the HDRI.

Can anybody share their material composition for leaves/plants?...Thanks!

2014-02-17, 08:12:58
Reply #13

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Is corona capable of doing this?

Yes, see the gallery on homepage
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-02-17, 12:56:45
Reply #14

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
Ok, here's my try. Maybe the translucency is a bit too exaggerated and leaves could be more reflective but it's because I've been looking at it for too long. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-02-17, 18:31:46
Reply #15

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Impressive Maru' thank you for showing, I have to try this. Can you show me your slate view?

2014-02-17, 18:47:41
Reply #16

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
Here. And don't look at reflectivity map. It's probably close to useless. Good diffuse and translucency maps and values are the key here.
You can download the model with textures from here:
http://www.viz-people.com/free-stuff
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-02-17, 19:21:16
Reply #17

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
I know this is completely unrelated, but why don't you instance that bitmap node instead of having it there 4 times? :D

2014-02-17, 19:41:55
Reply #18

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
Hah, there is no real reason, that's because I was doing it very quickly and dirty. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-02-17, 19:48:49
Reply #19

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Its look Awsome Maru, just like in the movies http://img2.tvtome.com/i/u/4590d3ec9f3442bbc2886089f36c2dc7.jpg

 I am going to try this can you show me your slate view, please.

Thanks!

2014-02-17, 19:52:59
Reply #20

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Hah, there is no real reason, that's because I was doing it very quickly and dirty. :)

You can save a LOT of time by instancing maps as much as possible in shadertrees and different slots of a single material.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-02-17, 20:11:19
Reply #21

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Hah, there is no real reason, that's because I was doing it very quickly and dirty. :)

You can save a LOT of time by instancing maps as much as possible in shadertrees and different slots of a single material.

That's Ok, I totally get it. The params are the magic.

2014-02-17, 20:17:52
Reply #22

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Here what I got so far. What do you guys think?

I'm going to go download the free trees and test maru's material worlflow now.

I am missing some parameters, guess I need the dailybuilds.

2014-02-17, 20:27:17
Reply #23

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You're doing this mistake again. Tree leaves doesn't need refraction. By puting map in this slot, you hurting both, material believability and render time. Don't do this.

Edit: btw, if that map structure for translucency slot, you borrowed from my scene, you may want to replace it by something else. I did it in hurry and i don't think it's suitable in this situation. I feel guilty for this :]
« Last Edit: 2014-02-17, 20:34:05 by romullus »
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-02-17, 20:38:31
Reply #24

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
You're doing this mistake again. Tree leaves doesn't need refraction. By puting map in this slot, you hurting both, material believability and render time. Don't do this.

Edit: btw, if that map structure for translucency slot, you borrowed from my scene, you may want to replace it by something else. I did it in hurry and i don't think it's suitable in this situation. I feel guilty for this :]

You are right bro! Thanks for catching that. It reduced the render time, and it looks good. Ok, I'll replace the map in the translucency.

2014-02-17, 20:44:42
Reply #25

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
You can save a LOT of time by instancing maps as much as possible in shadertrees and different slots of a single material.

How is that technically? What are the drawbacks of non-instanced but identical bitmap maps? I never really thought about it since I try to instance as much as possible but is each non-instanced bitmap loaded separately into RAM (I can hardly imagine that) or is it just the internal overhead that is produced by multiple bitmap loaders?
Any sufficiently advanced bug is indistinguishable from a feature.

2014-02-17, 20:50:09
Reply #26

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
You can save a LOT of time by instancing maps as much as possible in shadertrees and different slots of a single material.

How is that technically? What are the drawbacks of non-instanced but identical bitmap maps? I never really thought about it since I try to instance as much as possible but is each non-instanced bitmap loaded separately into RAM (I can hardly imagine that) or is it just the internal overhead that is produced by multiple bitmap loaders?

Each map is not loaded into RAM separately, but each map is sampled separately if they are not instanced. 3dsmax actually has a caching mechanism implemented that allows reusing the first instance result for all subsequent ones. So instancing single map 4 times can make your shader evaluation 4 times faster.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-02-17, 21:14:02
Reply #27

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
How does this look now? I change the translucency map.

2014-02-17, 21:18:14
Reply #28

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
You can save a LOT of time by instancing maps as much as possible in shadertrees and different slots of a single material.

How is that technically? What are the drawbacks of non-instanced but identical bitmap maps? I never really thought about it since I try to instance as much as possible but is each non-instanced bitmap loaded separately into RAM (I can hardly imagine that) or is it just the internal overhead that is produced by multiple bitmap loaders?

Each map is not loaded into RAM separately, but each map is sampled separately if they are not instanced. 3dsmax actually has a caching mechanism implemented that allows reusing the first instance result for all subsequent ones. So instancing single map 4 times can make your shader evaluation 4 times faster.

yep, yep.

2014-02-17, 21:20:46
Reply #29

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I think it's time to introduce front/back map to you. Right now, sun facing sides of your leaves, have way to much translucency, while back faces looks ok.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-02-17, 21:30:42
Reply #30

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
I think it's time to introduce front/back map to you. Right now, sun facing sides of your leaves, have way to much translucency, while back faces looks ok.

Like this, you mean?

2014-02-17, 21:35:30
Reply #31

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Or like this?

2014-02-17, 21:46:35
Reply #32

vkiuru

  • Active Users
  • **
  • Posts: 320
    • View Profile
Here's a quick render of my current WIP project. Say what you will but I like strong colors in nature :) Worth mentioning is I live in Finland, our summers are short but vibrant in color whereas I think in places where there is more heat leaves often tend to look kinda dry, so I think geographical location might be one reason why we sometimes get conflicting opinions on saturation.


2014-02-17, 22:36:25
Reply #33

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Or like this?
Yep, something like this, just make sure your front facing map is darker, have more contrast and green color. Back facing may be more towards yellow, lighter with less contrast. Then you should have pretty good starting point.

Edit: whether your material's diffuse component needs twosided map or not, depends on type of leaves you trying to replicate.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-02-17, 22:52:11
Reply #34

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Here's a quick render of my current WIP project. Say what you will but I like strong colors in nature :) Worth mentioning is I live in Finland, our summers are short but vibrant in color whereas I think in places where there is more heat leaves often tend to look kinda dry, so I think geographical location might be one reason why we sometimes get conflicting opinions on saturation.



Looks good man! I wouldn't change a thing. i think the most important thing in vegetation is translucency, and about color, there is millions of shades of green. I think you cant go wrong. My trees in my back yard are lime green in April and dull in late summer.

2014-02-17, 22:57:54
Reply #35

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Or like this?
Yep, something like this, just make sure your front facing map is darker, have more contrast and green color. Back facing may be more towards yellow, lighter with less contrast. Then you should have pretty good starting point.

Edit: whether your material's diffuse component needs twosided map or not, depends on type of leaves you trying to replicate.

Awsome, thanks!

2014-02-24, 15:34:33
Reply #36

jjduncs

  • Active Users
  • **
  • Posts: 102
    • View Profile
    • thevisualworkshop
jumping on the tree material testing bandwagon

2014-02-24, 18:42:06
Reply #37

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
These look pretty cool! especially that maple tree. This is a never ending ride on the van wagon, with trees and all. Your slate view is cut off, can we see more to the right? Thanks

2014-02-26, 07:55:03
Reply #38

jjduncs

  • Active Users
  • **
  • Posts: 102
    • View Profile
    • thevisualworkshop
Yeah sorry about that. Its just connected to a multisub with all the different leaf mats (just different maps and colours). All the leaves use the same rough settings at the moment.

2014-02-26, 20:41:25
Reply #39

Caue Rodrigues

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Studio IKI
I tested the tips and had this result:

little tree in center

« Last Edit: 2014-02-27, 20:57:40 by crawlewis »

2014-02-27, 21:08:12
Reply #40

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
It looks good!, I'm glad this discussion worked for you.

2014-03-01, 06:46:56
Reply #41

Utroll

  • Active Users
  • **
  • Posts: 164
    • View Profile

2014-03-01, 07:57:34
Reply #42

jjduncs

  • Active Users
  • **
  • Posts: 102
    • View Profile
    • thevisualworkshop
had a go with the same material as i posted earlier on a bunch of evermotion vol 58 trees.