Author Topic: Vegetation test + several more questions  (Read 21815 times)

2014-09-02, 22:37:11

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Hello everyone
I'm almost finished with the modeling part of my latest personal project, and it' time to finally use Corona for the first time :) (in a meaningful way)

I've set up this scene to test materials for vegetation and lightning.

Question 1

For materials i basically (and shamelessly) copied Adanmqs technique from this thread
https://forum.corona-renderer.com/index.php/topic,4867.0.html

But i need more eyes and constructive criticism on how to make my materials better (they are still cartoony). Part of the issue is that i need a walnut tree, and these trees look yellowish and diseased even in the middle of summer. So i created an oak tree to have as a reference (whit which i'm also not completely satisfied). In images bellow oaks are on the left, walnuts on the right.
Another thing i wanted to test are different sky models. Here they are:

http://i.imgur.com/OrWfXrg.jpg

http://i.imgur.com/Q8l7E7W.jpg


Here is the material for walnut leaves:
https://i.imgur.com/CQCxE1F.jpg

And here is the oak one, same thing slightly different settings:
https://i.imgur.com/UaJmRDt.jpg


Ideas? Suggestions?

Question 2 - Grass

Grass material:
https://i.imgur.com/B6FuxTv.jpg

Clover material:
https://i.imgur.com/stJAmq1.jpg


As you can see these are pretty much the same thing as the leaves, but for some reason, they behave quite differently with IBL lightning:
https://i.imgur.com/rpLhesB.jpg


I've set them up with Coronas Sun&Sky, and was surprised when i tested IBL. Lightning is done with pure IBL, using this HDRI
http://www.cg-source.com/details_hdrisky.php?id=0086-03&pricat=sky
Used sample version, much lower resolution but with all of the EV range.
Ideas? Suggestions? What is going on with that grass and clovers?


Question 3 - Background override

Background override image is just a gray mess, easily fixed by boosting it output. I always add background in post so this isn't really and issue for me :D I was just wondering if i'm doing something wrong, or missing some check box somewhere?
https://i.imgur.com/mqBXsNt.jpg


Question 4 - Environment fog

I've done my share of exploring this forum, and as far as i can tell what i want can't be done. Again, just to make sure i'm not missing something.
When Corona Volumetric material is added to geometry, it works, but it also affects background. Bad for post (completely easily solved with alpha channel).
This is what i'm getting:
https://i.imgur.com/VHO5b0E.jpg


I know that what i want (separate pass with just the fog for adding in post) is just an inverted z-depth, and that works fine. Like i said, just to make sure i'm not missing something.


Well, this is already to long of a thread. Tomorrow i'm away on a trip (if someone answers, i'm not being ungrateful :) ), but looking forward to any help and advice you fine coronauts can give me.
Thanks in advance!
« Last Edit: 2014-09-02, 22:45:46 by blank... »

2014-09-02, 22:41:24
Reply #1

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Embedding your images directly into your post instead of just linking them will make your post appear a LOT more interesting ;)

2014-09-02, 22:47:14
Reply #2

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Embedding your images directly into your post instead of just linking them will make your post appear a LOT more interesting ;)

Fixed :)
I use thumbnail zoom plus ad on which shows images on hover, and always forget to do this :D

EDIT:
Damn, now half of the image is not shown :/ Luckily i've left links also.
EDIT 2:
Well, if i hide my All-In-One sidebar, than whole image is shown :D Don't mind me, it's late, i'm tired. Good night all...
« Last Edit: 2014-09-02, 22:51:53 by blank... »

2014-09-03, 10:38:24
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12791
  • Marcin
    • View Profile
damn, firefox crashed, writing the whole thing for the second time -_-

Here are some reasons why your trees don't look so good:
-ugly models - your trees have flat leaves and leaf clusters while in real life they are all curvy and wavy and wrinkled
-leaves look huge (but maybe it is like this for this kind of tree?)
-wrong map in translucency slot - for translucency you should use the same map as for diffuse, or you can slightly modify its colour using color correction
-white borders around leaves - it's because your diffuse map is a green leaf on a white background while it should be a green leaf on green background
-for leaf reflectivity, use some glossiness!
-use darker diffuse map or decrease diffuse level
-basically, you can try googling some real-life reference and comparing it with your material setup
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-09-04, 01:41:39
Reply #4

Adanmq

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 94
    • View Profile
    • 3D Collective
Hi.

I think the main problem is the flat mesh of the leaves as Maru pointed. You need curved mesh in order to catch highlights. The trees itself looks weird, i don´t know if the problem is the scale or the leaves orientation. I prefer to use 2 different materials, one similar to the one you have for mid/far range images, where the most important part it´s translucency and highlight, so you can exagerate these parameters. And one for the close-Up renders, where you need more complex material and more detailed geometry also.

Try to improve the model itself and you will get better trees. If you have some references of the Walnut tree you are trying to achieve maybe i can give it a try in GrowFx.

2014-09-04, 05:19:09
Reply #5

Adanmq

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 94
    • View Profile
    • 3D Collective
I make a quick walnut in GrowFX using a random image i found on google. Its just a fast attempt and i´m not sure if the tree "anatomy" is correct (leaves are way to big) but i want to share it whit you so you can experiment. I can´t share the textures because they are not mine (very simple ones, nothing especial), you can download some good ones from Xoio Air for example or find the real walnut ones, xD. Also i try to make you a very simple material that works "ok" for most of the shoots. As you can see in the attach Close-Ups will need better leaves and material.

You can create grass material using the same principles. Curved geometry and reflective/translucent materials.

Here is the Walnut tree (i can´t make it smaller in order to attach it to the post sorry):
http://we.tl/csHkfHXjPS

PD: Excuse mi English.

2014-09-04, 11:10:00
Reply #6

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio
This is a very interesting topic since I am also working with loads of plants.

From my experience so far, the 3D model is perhaps 90% of what makes a tree realistic. What models are you using?

2014-09-04, 19:32:39
Reply #7

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
-ugly models - your trees have flat leaves and leaf clusters while in real life they are all curvy and wavy and wrinkled

Premade Xfrog trees, not much i can do about that, besides, you know, learn how to use xfrog and create them on my own :D

Quote
-leaves look huge (but maybe it is like this for this kind of tree?)

On purpose, they do have huge leaves.

Quote
-wrong map in translucency slot - for translucency you should use the same map as for diffuse, or you can slightly modify its colour using color correction

But, it's the same setup as Adanmqs vegetations, which looks great. Am i missing something?

Quote
-white borders around leaves - it's because your diffuse map is a green leaf on a white background while it should be a green leaf on green background

Will fix, don't know how i missed that, i even fixed it on clover material but it completely slipped my mind for the trees.

Quote
-for leaf reflectivity, use some glossiness!

I actually thought that for glossiness same thing as in mental ray applies, once you plug bitmap in glossiness slot, spinner no longer does anything and everything is controlled by bitmaps output. I just tested it and it's not so in corona, those two work together. Will test this.

Quote
-use darker diffuse map or decrease diffuse level

Then i'll loose that yellowish look that walnuts have. Oh well, i guess loosing some of the real life tree look is worth for a nicer render :)





I make a quick walnut in GrowFX using a random image i found on google.

Thank you very much!
I will use this for further testing, until i figure out how to use xfrog. Or, since this is just my personal project i'll use your model :D Laubwerk also has some free ones...

Quote
You can create grass material using the same principles. Curved geometry and reflective/translucent materials.

Grass is curved geometry with reflective/translucent material, i don't know why it behaves so differently in different lightning solutions.





From my experience so far, the 3D model is perhaps 90% of what makes a tree realistic. What models are you using?

Xfrogs premade models, i export them as 3ds.





Thank you all! I will start another batch of tests and get back with the results.
« Last Edit: 2014-09-04, 19:46:53 by blank... »

2014-09-04, 23:27:37
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8882
  • Let's move this topic, shall we?
    • View Profile
    • My Models
As Adanmq was so generous to share his beautiful tree, i want to contribute either. As it hapens, there's two gorgeous walnut trees growing in my backyard, so i thought i can make some cool textures out of it's leaves.

These are english walnuts, i believe.

I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-09-05, 00:03:13
Reply #9

Adanmq

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 94
    • View Profile
    • 3D Collective
Awesome Leaves. I´m living in Caribean Coast right now and its really dificult to find non-tropical trees arround here. Thx a lot!!.

2014-09-05, 10:56:08
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12791
  • Marcin
    • View Profile

Quote
-wrong map in translucency slot - for translucency you should use the same map as for diffuse, or you can slightly modify its colour using color correction

But, it's the same setup as Adanmqs vegetations, which looks great. Am i missing something?


Compare these two:



Definitely not the same. :)

Quote
Quote
-for leaf reflectivity, use some glossiness!

I actually thought that for glossiness same thing as in mental ray applies, once you plug bitmap in glossiness slot, spinner no longer does anything and everything is controlled by bitmaps output. I just tested it and it's not so in corona, those two work together. Will test this.
Ok, my bad, didn't notice your bitmap in glossiness slot. It works like you described it, except the glossiness spinner determines maximum allowed glossiness for the bitmap (or at least it should).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-09-05, 11:26:48
Reply #11

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8882
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Ok, my bad, didn't notice your bitmap in glossiness slot. It works like you described it, except the glossiness spinner determines maximum allowed glossiness for the bitmap (or at least it should).
No, it doesn't. This spinner does nothing, as soon as you plug map into glossiness slot.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-09-05, 12:07:09
Reply #12

blank...

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

Compare these two:
Definitely not the same. :)

Yea, i figured that out last night. I was again under the wrong impression how stuff works in Corona, i thought that translucency bitmap is a mask for selected color, but it actually affects translucency color.

No, it doesn't. This spinner does nothing, as soon as you plug map into glossiness slot.

It definitely does something! Try it, even with the glossiness map plugged in spinner still has an effect.

As Adanmq was so generous to share his beautiful tree, i want to contribute either. As it hapens, there's two gorgeous walnut trees growing in my backyard, so i thought i can make some cool textures out of it's leaves.

There are two walnuts tree in my backyard also! But they are no longer gorgeous, i think i picked the last green leaf :D
Here they are. If needed i can share raw photos as well, if someone with better photoshop skills wants to take a shot at them.

2014-09-05, 15:08:31
Reply #13

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8882
  • Let's move this topic, shall we?
    • View Profile
    • My Models
No, it doesn't. This spinner does nothing, as soon as you plug map into glossiness slot.
It definitely does something! Try it, even with the glossiness map plugged in spinner still has an effect.
Are you sure you're not mistaking it with reflection map?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-09-05, 20:21:47
Reply #14

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Are you sure you're not mistaking it with reflection map?

I never use reflection maps. But, you're right. I tested this last night, but obviously i've done something wrong. I just retested and indeed it's the same as with mental ray. Once glossiness bitmap is plugged in, spinner does nothing.

2014-09-05, 20:35:36
Reply #15

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12791
  • Marcin
    • View Profile
Isn't this a bug? Shouldn't this work the same way as reflection spinner?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us


2014-09-06, 17:39:06
Reply #17

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12791
  • Marcin
    • View Profile
Looks pretty good! Especially on images where you can clearly see translucency. How about a bit brighter diffuse colour, less reflectivity and less glossiness?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-09-06, 17:46:55
Reply #18

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio
What a difference a good model can make. GrowFX does a fantastic job.


2014-09-08, 18:08:49
Reply #20

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
How about a bit brighter diffuse colour, less reflectivity and less glossiness?

Update:

https://i.imgur.com/waYPvXO.jpg


https://i.imgur.com/7ee1gt4.jpg


https://i.imgur.com/6TrZScx.jpg


https://i.imgur.com/XgCsUMw.jpg




What a difference a good model can make.

Sure does, after seeing this Adanmqs model, i wonder if Xfrog is even capable to create such complex models.

2014-09-10, 22:42:42
Reply #21

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Well, this is interesting. It looks like those trees, or my old materials had a huge impact on the scene. I just tested IBL to fix the grass, but, it doesn't need fixing :)

https://i.imgur.com/VktZxem.jpg


https://i.imgur.com/vAymkMC.jpg

2014-09-11, 08:17:07
Reply #22

Adanmq

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 94
    • View Profile
    • 3D Collective
Nice improvement. I usually use darker  color in bark material to give the tree some contrast.

Looking at your renders it seems like i made the anatomy of the tree really bad, the end branches are to tin. If i get some time this week i´ll fix it.

2014-09-11, 08:53:49
Reply #23

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio

2014-09-11, 09:11:25
Reply #24

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Nice improvement. I usually use darker  color in bark material to give the tree some contrast.

Thanks, i didn't touch the bark material, i focused on greenery in this test :) Which i will fix, ofcourse.

Can I animate trees created by GrowFX?

From their site:
Quote
You can animate almost all parameters and create any plant animation: growth, wind, etc. It's also possible to use the Affects mechanism to get specific parameters to influence others, so that you do not have to configure animation by hand. For example, you can set up a dependency of the length of main branches from the overall height of a tree, and dependency of small flowers from the length of main branches. Then it'll be enough to animate a tree height to create a fully-fledged animation of a growing plant.

2014-09-11, 09:15:24
Reply #25

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio
Thanks for reply. I forgot to mention that my idea was for the tree to be affected by the wind.

2014-09-18, 15:00:41
Reply #26

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio

2014-09-19, 10:16:14
Reply #27

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Do you still the Walnut tree model?

I'm not sure what you're asking :) But this personal project of mine is, once again, back on the waiting list, so no wallnuts for me right now :D

2014-09-19, 10:41:27
Reply #28

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio
Do you still the Walnut tree model?

I'm not sure what you're asking :) But this personal project of mine is, once again, back on the waiting list, so no wallnuts for me right now :D

I mean the tree that  Adanmq created. The link is dead. Do you have it by any chance? I am asking because I start working again on a personal project :P

2014-09-19, 17:09:17
Reply #29

Adanmq

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 94
    • View Profile
    • 3D Collective
Hi.

Let me upload 2 better ones, the walnut have bad anatomy. This ones are originally big birch trees. 20-25m (you may need to scale down). Keep in mind that these trees are made to mid/far distance and very specific project (may not work for all circumstances), they need more details for close-ups.

Hope you can use it.

http://we.tl/lh9S24WY4J


2014-09-19, 17:31:59
Reply #30

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio
Adanmq thank you very much.

The reason why also ask for the tree is because I am trying to see how you created the leaf material.
I use refraction and transparency, but I am not too happy with the result.

2014-09-19, 21:02:03
Reply #31

blank...

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

2014-09-19, 21:51:16
Reply #32

rambambulli

  • Active Users
  • **
  • Posts: 159
    • View Profile
Nice work Blank. I have been following this post for a while and the result is very interesting. Do you want to share you scene? I think it will be very helpfull for a lot of users!

thanks.

2014-09-19, 22:30:33
Reply #33

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Do you want to share you scene? I think it will be very helpfull for a lot of users!

I want to, but i'm afraid i can't. And this is why http://www.speedtest.net/my-result/3772789968 :D
After i added Laubwerks models this scene grew to one gig, it would just take to long to upload. Even if i deleted scattered geometry, three of those models are still over 500 MB. What i can do is make one huge everything screenshotted image if you want. Everything used in this scene is available on the web, should be easy to set up a similar test scene.

Here are some more tests with new energy conversion mode and GGX, i just changed those two, some tweaking of materials will be needed :)

https://i.imgur.com/tbsO3X9.jpg


https://i.imgur.com/1HpNxYi.jpg

2014-09-20, 00:03:43
Reply #34

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8882
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Adanmq, thank you for those quality trees!
Good trees need good textures, so there's my contribution :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-09-20, 10:50:41
Reply #35

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Adanmq, thank you for those quality trees!

Thank you both!

2014-09-20, 11:07:09
Reply #36

rambambulli

  • Active Users
  • **
  • Posts: 159
    • View Profile
No problem Blank. I was curious what changes you made to your posted material setup (few posts ago) and the laubwerk renders.

Thanks guys for sharing quality!



2014-09-20, 11:33:12
Reply #37

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
No problem Blank. I was curious what changes you made to your posted material setup (few posts ago)

Here it is, since leaves needed less reflectivity i did the first logical thing - increased reflectivity :D But i played with IOR and glossiness map output, nothing fancy.

https://i.imgur.com/kHKFrfJ.jpg

2015-02-26, 22:53:14
Reply #38

Seabass

  • Active Users
  • **
  • Posts: 62
    • View Profile
Hi guys! I have a big problem ... my head already broke))) I can not make shader grass. Looked a lot of tutorials about this, but ...
Grass looks unrealistic(((
1) bitmap rather dark, but render the grass looks very bright
2) glossy lowered to 0.35, Reflect up to 35, but in the long term glossy still very strong
I use in this scene corona sun + sky
I attach below a few shots of my scene.
I want that looked something like the last two pictures

advise how to fix shader, thank you.

2015-02-27, 10:36:31
Reply #39

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12791
  • Marcin
    • View Profile
In the reference pictures you posted the grass is in shadow, this may be the problem. For such objects geometry and lighting also has huge impact on appearance so maybe you should experiment with these.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-02-27, 11:34:34
Reply #40

Seabass

  • Active Users
  • **
  • Posts: 62
    • View Profile
Yeah...i understand it, but in my scene sun position should be low and this factor take me bad result of shader grass.
P.S. Sorry for my english...