Chaos Corona Forum

General Category => Gallery => Work in Progress/Tests => Topic started by: Chakib on 2012-11-20, 15:30:03

Title: Exterior wip
Post by: Chakib on 2012-11-20, 15:30:03
Hi all,

I'm working on an exterior scene lately and i wanted to render it using Corona to test, so after converting and checking all materials, and here is the result.

Problem : the renders took 10 hours and the noise stills here :( i know i have poor cpu : core2quad q6600 )

I used :
Raytracing core : Embree tris : Precise
Low thread priority unchecked

PT-hd cache
path tracing samples : 16
max sample intensity : 10
Max records : 8000

So any tips to optimise speed  and clear up the noise would be  a big welcome !
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-20, 16:13:55
are all those lightsources encapsulated in fully closed object with refractive material? I see at least one that seems to be enclosed in the interior... situations like this might be a part of the problem. I would lower down max sample intensity to 3 and increase light samples to 4... what version do you use?
Title: Re: Exterior wip
Post by: Chakib on 2012-11-20, 16:25:37
are all those lightsources encapsulated in fully closed object with refractive material? I see at least one that seems to be enclosed in the interior... situations like this might be a part of the problem. I would lower down max sample intensity to 3 and increase light samples to 4... what version do you use?

If you mean the exterior sphere lights : No they don't have refraction materials they are just simple emission material.
I use the legacy latest build for 2013 in the dropbox ( daily builds )
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-20, 16:40:11
hm... don't know. But I'm working on a similar exterior scene with corona right now so I guess I'll soon be in the same situation myself... did you try pt+pt and bidir?
Title: Re: Exterior wip
Post by: Chakib on 2012-11-20, 17:03:25
hm... don't know. But I'm working on a similar exterior scene with corona right now so I guess I'll soon be in the same situation myself... did you try pt+pt and bidir?

No, will test them tonight
maybe the openexr envirenement map  is the problem, i will test a simple corona daylight sun and see if it helps
Title: Re: Exterior wip
Post by: Ondra on 2012-11-20, 17:32:12
definitely try increasing the direct lighting sampling multiplier
Title: Re: Exterior wip
Post by: Ludvik Koutny on 2012-11-20, 19:47:39
This could be related to the opacity bug...  that produces intense grain... 
Title: Re: Exterior wip
Post by: Chakib on 2012-11-20, 19:51:09
definitely try increasing the direct lighting sampling multiplier

tested it ( increased to 6 ) and after an hour it seems that it doesn't help much :s
Title: Re: Exterior wip
Post by: Chakib on 2012-11-20, 19:52:14
This could be related to the opacity bug...  that produces intense grain...

i think you're right because i did use the opacity map for the trees leafs, do you think it's the problem source?
Title: Re: Exterior wip
Post by: Ludvik Koutny on 2012-11-20, 19:53:02
Most probably, similar scene should take about 30 minutes to get reasonably clean on an i7 machine...  so maximally an hour on quad ;)
Title: Re: Exterior wip
Post by: Chakib on 2012-11-20, 19:55:52
Most probably, similar scene should take about 30 minutes to get reasonably clean on an i7 machine...  so maximally an hour on quad ;)

that's what i've told myself because an interior scene was clean in 2h with the q6600 so logically the exterior should take less than interior rendertime.

Also i forget to mention that the leafs have the transluency +opacity+ reflection+ bump.. lol will delete them and see the result
Title: Re: Exterior wip
Post by: Chakib on 2012-11-20, 20:17:59
Here is a 30 min render with daysystem corona without disabling the leaf opacity.

looks faster than the night version.

Problem : weird white dots in windows ! maybe because i did decrease the max samples intensity to 3.

second remark : the sun intensity is set to 1, but hete i see that the sun intensity is a little bit low, should i increase the intensity of the sun or leave it alone ?
Title: Re: Exterior wip
Post by: michaltimko on 2012-11-20, 23:59:11
dots = low MSI, try to increase or let it cook longer. If  you set PT+PT with MSI 0, corona is running in unbiased mode

And yes, you can set sun multiplier to any number, also try to play with sun size, bigger sun is producing nice smooth soft shadows.
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-21, 08:18:29
Well I got the same problem now. I'm working on an exterior too and I'm too using latest legacy build and it seems that it is indeed related to opacity since I'm having weird bright dots on screen when I render trees with opacity mapped leaves. When I turn off opacity then it works as expected....
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-21, 08:27:33
Ok... Forget what I just wrote.. My problem seems to be elsewhere. Turning off opacity did just greatly reduce the defect, but I'm still getting some bright dots. I guess it's the material (possibly reflection cause turning off translucency didn't help) testing different settings now.
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-21, 08:44:03
Alright. So my problem was the sun reflection. Even tuning reflection level down from 1 to 0,2 on tree leaves gave me very bright dots that looked like some bug happening there... Is it possible that in your case you are having these bright dots because of reflection of light sources?? Do you have any if you render it just using corona sky?
Title: Re: Exterior wip
Post by: Chakib on 2012-11-21, 09:46:46
I agree with you lacilaci , i updated the scene : removes all opacity + increased the MSI to 10 (even to 20 ) + increased the light samples :

The white dots are still there even worst this time, look at this 20 min test, maybe the legacy build only have this bug?

Title: Re: Exterior wip
Post by: Chakib on 2012-11-21, 09:50:58
No  they are everywhere now not just light sources lol, i disabled the sunlight and used this time an envirenement light source, but it's worst now.

just to mention what corona version i used :

Defines:  LEGACY  STATS
Internal color space: CIE XYZ
Build timestamp: Nov  2 2012 16:58:26
Max version: 2013


i use the one in the assets folder, is it buggy than the release version?
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-21, 11:17:36
as far as I know the assert version should be only slower, but otherwise the same as release. But try the release one just to see
Title: Re: Exterior wip
Post by: Ludvik Koutny on 2012-11-21, 11:24:17
This is definitely not a low performance issue but a bug...  it should never take this long... The problem with opacity grain has not been fixed yet...  I will let you know once it is so you can grab very recent build to test :)
Title: Re: Exterior wip
Post by: michaltimko on 2012-11-21, 16:45:25
Can you post screenshot of render settings ?
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-21, 21:37:13
Chakib... are you using direct color mode on your lights? If yes then change the color from default 255,255,255 to lower... try 220,220,220... and without sun... and see if there still are those overbright dot's... I haven't tested this my self now... but I think that visible light source in reflection with max white value could cause this overbright dots effect and could indeed impact performace... I'm putting together an exterior scene myself and for me the sun was causing these dots and it was slower a lot.

I'm using no lights just an hdri and everything works pretty much as expected.. The performance isn't perfect but no overbright dots
Title: Re: Exterior wip
Post by: Chakib on 2012-11-21, 23:18:13
This is definitely not a low performance issue but a bug...  it should never take this long... The problem with opacity grain has not been fixed yet...  I will let you know once it is so you can grab very recent build to test :)

Ok i'll wait guys for your next release thanks !
Title: Re: Exterior wip
Post by: Chakib on 2012-11-21, 23:19:43
Can you post screenshot of render settings ?

here : http://forum.corona-renderer.com/index.php/topic,279.msg1859.html#msg1859

but i've changed the MSI to 10 instead of 3.
Title: Re: Exterior wip
Post by: Chakib on 2012-11-21, 23:24:46
Chakib... are you using direct color mode on your lights? If yes then change the color from default 255,255,255 to lower... try 220,220,220... and without sun... and see if there still are those overbright dot's... I haven't tested this my self now... but I think that visible light source in reflection with max white value could cause this overbright dots effect and could indeed impact performace... I'm putting together an exterior scene myself and for me the sun was causing these dots and it was slower a lot.

I'm using no lights just an hdri and everything works pretty much as expected.. The performance isn't perfect but no overbright dots

No the color of the lights are less than 255 i always take that into consideration in any render, and there is no sunlight just hdri too, so i think it's a bug for sur like Rawalanche said.
Title: Re: Exterior wip
Post by: andreupuig on 2012-11-22, 09:55:13
This dots sound strange, when I rendered exteriors, night and late afternoon, of the theatre I never get those dots.
I was using coronaSky, coronaSun, mesh lights and there were a lot of extremely blurred reflection, but never had random white dots, even in first test. I had some noise on blurred reflection materials that is not your problem.
Did you tried to render without glass object? Not hide to camera or similar, just hide the objects.
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-22, 10:18:27
Yes it seems so far that there is a bug causing this. But I still can't see how would this, these white dots on that render, be related to opacity mapping.
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-22, 11:11:03
2 of my early tests (don't mind the weird scattering).... Both about an hour originaly in 1080p. So yes it's slow, it's grainy, the opacity is not working very good but without sun or additional lights no white overbright dots... With sun or additional light sources there are dots all over the place even without opacity maps being used.... So I guess we have to wait for some update.
Title: Re: Exterior wip
Post by: michaltimko on 2012-11-22, 11:34:41
I never had dots guys...also those images looks like without AA.
Title: Re: Exterior wip
Post by: Paul Jones on 2012-11-22, 13:54:40
Looks strange, could you post a stripped down scene? Had grass work ok here as while back :)
Title: Re: Exterior wip
Post by: Chakib on 2012-11-22, 20:41:15
Here is a result of PT+PT instead of HD cache

Always dots ! i think this bug is exclusive to the legacy build since the build daily updated for the newer processors doesn't have this bug ( fixed i think ), maybe i'm wrong.

Title: Re: Exterior wip
Post by: lacilaci on 2012-11-22, 21:06:56
This is sooo baad.... How does it look if you turn all the vegetation, grass, trees off?? Have you tried?
Title: Re: Exterior wip
Post by: michaltimko on 2012-11-22, 21:07:08
thats weird...

can u send zipped max file ? or its commercial project?
Title: Re: Exterior wip
Post by: Ondra on 2012-11-22, 21:15:11
There is similar bug reported in Mantis, I'll look into it once I have the time. It should not be hard to fix.
Title: Re: Exterior wip
Post by: Chakib on 2012-11-22, 23:09:52
This is sooo baad.... How does it look if you turn all the vegetation, grass, trees off?? Have you tried?

No, will try this tonight
Title: Re: Exterior wip
Post by: Chakib on 2012-11-22, 23:17:45
thats weird...

can u send zipped max file ? or its commercial project?

no it's a personal one, but the problem is the size of the file is very big
Title: Re: Exterior wip
Post by: Chakib on 2012-11-23, 00:18:06
Now i did delete all scatter plants and trees and light in the scene and keep just the hdri as light source

result : very fast clean 15 min render

the trees and plants don't have opacity at all, maybe the cause is the corona lights and their effect on the glass material.
Title: Re: Exterior wip
Post by: michaltimko on 2012-11-23, 01:08:42
those windows...material (glass) is set to Solid or Thin ?
Title: Re: Exterior wip
Post by: Chakib on 2012-11-23, 01:12:53
those windows...material (glass) is set to Solid or Thin ?

They are thin since the solid doesn't work good for windows.

the glass windows object is not one face, should i apply the thin glass to one face object to get it work good or it's not important that i apply it on a "box" objects ?
Title: Re: Exterior wip
Post by: michaltimko on 2012-11-23, 02:06:43
thin is ok with box...
Title: Re: Exterior wip
Post by: lacilaci on 2012-11-23, 07:49:24
I'm using single sided faces and twosided material... However let's hope keymaster finds some time soon to get us around this issue and if it would improve performance aswell it would be awesome :)
Title: Re: Exterior wip
Post by: Ondra on 2012-12-06, 22:28:09
Looks like I've fixed the bug ;)
Title: Re: Exterior wip
Post by: Chakib on 2012-12-06, 23:26:02
Looks like I've fixed the bug ;)

You mean with VCM ?

will test it now and see the result ! Thank you Ondra !
Title: Re: Exterior wip
Post by: Ondra on 2012-12-06, 23:35:58
The bright spots when using opacity/doublesided glass
Title: Re: Exterior wip
Post by: Chakib on 2012-12-07, 07:00:49
Ok, here is a test render that i did for the three modes :

Bidir : 37min
Progressive : 42 min
VCM : 1h16min

No Opacity here !
------------------------

Bidir :
- Fast render start
- Fireflies everywhere, it's chaos !
- Ground material is black ? weird...

Progressive :
- Very slow render start
- Fireflies !
- Ground material is OK !
- Curtain materials is not affected by light... weird !

VCM :
- Little bit slow render start
- No Firelfies ! ( maybe i'm wrong but i see some little ones on floor and walls... maybe i should give it more time)
- Ground material is black again ?


Conclusion : VCM is doing a pretty good job here but the noise needs more time, i hope it will be faster than now and also the ground material here i don't know what's wrong with it since it renders good in Progressive mode.

Next test : Trees with/without Opacity.
Title: Re: Exterior wip
Post by: Ludvik Koutny on 2012-12-07, 09:40:37
You don't have your light sources covered by a glass, right?
Title: Re: Exterior wip
Post by: Chakib on 2012-12-07, 13:14:05
You don't have your light sources covered by a glass, right?

The glass balls ( with corona spheres lights outside of them ) are with glass yes since i used a daylight scene so i kept its material, is that the problem ?
Title: Re: Exterior wip
Post by: Ludvik Koutny on 2012-12-07, 15:40:12
You don't have your light sources covered by a glass, right?

The glass balls ( with corona spheres lights outside of them ) are with glass yes since i used a daylight scene so i kept its material, is that the problem ?

Could you try to render night scene again with latest nightly build and without any glass objects in the scene?
Title: Re: Exterior wip
Post by: lacilaci on 2012-12-07, 16:18:32
Chakib is using legacy build. Latest legacy 2012-12-05 still has the bug causing dots/fireflies from lightsources in this kind of scene, you can see that in my recent wip here. I guess keymaster fixed it later..??

If that so. I would like to try that fix myself too if keymaster finds time to compile legacy build :)
Title: Re: Exterior wip
Post by: Chakib on 2012-12-07, 17:40:50

Could you try to render night scene again with latest nightly build and without any glass objects in the scene?

Will try that... i must  remove the windows glass material ?
Title: Re: Exterior wip
Post by: Chakib on 2012-12-07, 17:42:27
Chakib is using legacy build. Latest legacy 2012-12-05 still has the bug causing dots/fireflies from lightsources in this kind of scene, you can see that in my recent wip here. I guess keymaster fixed it later..??

If that so. I would like to try that fix myself too if keymaster finds time to compile legacy build :)

Yes i use legacy latest one you mentionned , keymaster told me that it's fixed so i did this test and i think VCM is doing fine removing fireflies ( not all of them i guess )
Title: Re: Exterior wip
Post by: Ondra on 2012-12-07, 18:57:20
it's not in that one, I'll make new legacy builds eventually
Title: Re: Exterior wip
Post by: Sam75 on 2012-12-07, 22:36:50
aren't you using one sided glass material ?
Title: Re: Exterior wip
Post by: Chakib on 2012-12-08, 04:37:06
it's not in that one, I'll make new legacy builds eventually

Thanks Ondra, you rock !
Title: Re: Exterior wip
Post by: Chakib on 2012-12-08, 04:46:16
aren't you using one sided glass material ?

No i use two sided.
Title: Re: Exterior wip
Post by: Sam75 on 2012-12-08, 18:50:23
aren't you using one sided glass material ?

No i use two sided.

I am not talking about the geometry but the material refraction option
Title: Re: Exterior wip
Post by: Ondra on 2012-12-08, 18:58:52
new legacy builds are up BTW
Title: Re: Exterior wip
Post by: Chakib on 2012-12-09, 15:43:31
new legacy builds are up BTW

ok will download it and test the night scene right now
Title: Re: Exterior wip
Post by: Chakib on 2012-12-10, 05:17:34
Ok guys here is another test of the full night scene this time with trees and lights.

i use the latest 2012-12-07 legacy release build.

The trees have : Translucency + Reflection + Opacity
Grass have : Translucency + Reflection ( no Opacity )

VCM doesn't render the blend material : so i did use only one ground map.
VCM also can't render the corona elements ( too early i think to add )
Light in VCM mode  appears even if the light is not visible ( that explains the huge light balls on the grass, there is sphere emitters inside the light spheres )

Ive tested Progressive and Bidir : it was a fireflies chaos, no way !

But the VCM here did the job even if i see some little ones .

Problem : the time is 12H to render and we still see noise :S !
Title: Re: Exterior wip
Post by: hglr123 on 2012-12-10, 09:15:12
12 h for exterior render? Wow, this is too much I think. And still a lot lot lot noise.

BR!
Nik
Title: Re: Exterior wip
Post by: Ondra on 2012-12-10, 09:19:45
12 h for exterior render? Wow, this is too much I think. And still a lot lot lot noise.

BR!
Nik
unfortunately VCM is no good for such type of scenes
Title: Re: Exterior wip
Post by: Chakib on 2012-12-10, 11:50:31
12 h for exterior render? Wow, this is too much I think. And still a lot lot lot noise.

BR!
Nik

Yes you're right its too much time with too much noise sadely, the progressive mode have a lot of fireflies in this scene and bidir is worst

i think i'll wait for the next alpha/beta release with hope, i'm tired with this scene lol
Title: Re: Exterior wip
Post by: Chakib on 2012-12-10, 11:53:33
unfortunately VCM is no good for such type of scenes

yeah but the light is reacting good with vcm here, but in another scene of a simple glass cup( i'm working on it ), the light with progressive mode is better than vcm and bidir :S

i want to send you the scene but it's a 700mb size file :s will try to delete some models inside.
Title: Re: Exterior wip
Post by: Ondra on 2012-12-10, 13:30:23
I could actually use some scenes where VCM/bidir fails. We are currently trying to improve it in our project. If you have any nice scene where it/path tracing does not work, send it to me. They only cannot contain much fakes.
Title: Re: Exterior wip
Post by: Chakib on 2013-02-21, 14:26:43
Back to test this scene with a work around ( thanks to timko ) and it seems that the fireflies are gone with Pt-Pt progressive using  the latest legacy nightly build.

instead of using environment slot i did use a hemisphere mapped with an hdri ( the old way )

But it takes a lot of time to render it for an exterior scene, maybe because of these many proxies...

Here is the result of 6 hours of rendering and  still noisy but no fireflies i guess :

Title: Re: Exterior wip
Post by: michaltimko on 2013-02-21, 15:33:35
Its still quite a lot of time. Maybe one thing you can try is to use only HDR in env. slot and corona lights (hide no materials with emission enabled in scene).
Title: Re: Exterior wip
Post by: Chakib on 2013-02-21, 15:38:18
Its still quite a lot of time. Maybe one thing you can try is to use only HDR in env. slot and corona lights (hide no materials with emission enabled in scene).

i will disable the emission in the outdoor spheres and see the result.
Title: Re: Exterior wip
Post by: lacilaci on 2013-02-21, 15:40:38
Did you try setup with very high values for light sample multiplier?? I'd try with 16 samples for PT and 32 for lights seeing this result..
Title: Re: Exterior wip
Post by: Ludvik Koutny on 2013-02-21, 15:54:14
Could you just for fun try to set light samples multiplier to 0, and then also try to set light solver to simple? Just for fun :)
Title: Re: Exterior wip
Post by: Chakib on 2013-02-21, 16:34:30
Did you try setup with very high values for light sample multiplier?? I'd try with 16 samples for PT and 32 for lights seeing this result..

light samples is set to 6 lacilaci, i will test with higher values
Title: Re: Exterior wip
Post by: Chakib on 2013-02-21, 16:36:11
Could you just for fun try to set light samples multiplier to 0, and then also try to set light solver to simple? Just for fun :)

will do with different values.

"for fun"?

is that related to my penguin render?

it's not "fun" to see such bug you know... thank you for your help anyway


Title: Re: Exterior wip
Post by: Ludvik Koutny on 2013-02-21, 16:42:17
Changing these things will alter the way lights are sampled. By "for fun" i mean that i do not believe it will make much of a difference, but that it's still at least worth trying, because even if it doesn't do much good, behavior of Corona after these changes could at least point us to the direction where the bug comes from ;)
Title: Re: Exterior wip
Post by: Chakib on 2013-02-21, 16:57:25
Changing these things will alter the way lights are sampled. By "for fun" i mean that i do not believe it will make much of a difference, but that it's still at least worth trying, because even if it doesn't do much good, behavior of Corona after these changes could at least point us to the direction where the bug comes from ;)

i do my best to help here with my tests so we all can figure out where it did come from, timko do also work on it, we all here doing this,  i'm not here "just for fun" ;)



Title: Re: Exterior wip
Post by: Ludvik Koutny on 2013-02-21, 17:04:30
Ok, to explain once again. Phrase "for fun" was not related to you personally in any way. What i meant by it is that it was not an official advice, it was just a simple test to see what happens, not a verified solution. That's what i meant by "for fun" :)
Title: Re: Exterior wip
Post by: Chakib on 2013-02-22, 05:13:32
Ok, to explain once again. Phrase "for fun" was not related to you personally in any way. What i meant by it is that it was not an official advice, it was just a simple test to see what happens, not a verified solution. That's what i meant by "for fun" :)

ok no problem bro I'm sorry if i misunderstand you :)

since something wrong with this scene i will optimize the size so i can upload it to you guys to test.