Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: cecofuli on 2014-08-02, 17:01:44

Title: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-02, 17:01:44
--- WARNING: It's better to download the two *.gif ---

Hello friends,
I'm doing to do an animation, but I have this "problem".
This is the final image. Nothing to special. It's a room.

(http://www.francescolegrenzi.com/Temp/Corona/0047_Room_D.jpg)

Now, look at the noise (only camera is animated) when I render in white shader. The noise pattern isn't so bad.
But, you can analyze how ugly the noise pattern is when I load the texture.
The passes are intentionally low, to see better the noise.
There are two gif: one with image interpolation ON and with interpolation OFF.
Resize x2 to show better the noise patter.

In conclusion: is it a bug?
Because I generated a second animation, 1280x720, 1 hours/frame, and the noise patter  is crazy like in these gif =(

(http://www.francescolegrenzi.com/Temp/Corona/0048_No_Filter.gif)

(http://www.francescolegrenzi.com/Temp/Corona/0049_With_Filter.gif)



Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: Polymax on 2014-08-02, 18:42:56
(https://dl.dropbox.com/s/3p5581kovvfhwn7/2014-08-02_234010.jpg)
I think the same pattern. With textures need a little more time to reduce noise.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-02, 19:45:14
Polymax, I thought the same but... look at these frames:
1 hours for every frames (not 10 minutes) at 1280x720 and look at on the left side, the area shadows on the wall...
The floor is ok, the texture are ok, but not the white wall.
The noise pattern isn't acceptable.

Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: Polymax on 2014-08-02, 20:49:41
Do you use portals?
And why PT+TP? HD Cache works fine for fly-through animation.
And try set image filter (in VFB rollout of render setup) to "none"
And maybe set random seed (sampler) in develop.rollout to zero (static pattern).
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-03, 04:52:21
(*) Yes. I have portals
(*) I did both, PT+PT and PT+HDcache (multi-frame incremental). Same problem.
(*) I used image filter as default. But I think it isn't the problem.
(*) As Ondra wrote: simply change the random seed parameter in the devel/debug settings tab (activated in the about tab). Value of 0 = different seed every time you hit render
So, I think it's better the default setting.

I think Corona needs more optimization about noise patter =( Or, there is some bug.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: Polymax on 2014-08-03, 09:06:12
Can you post scene with bed(or send to my via PM)? I will try setup the animation with less rendertime and noise. And in my practice - tent filter not good idea for animation.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: maru on 2014-08-03, 09:36:27
I'm just guessing, but if you are using A7, then maybe setting internal resolution back to 2 would help?
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-03, 14:47:25
Polymax, with or without, the niose pattern is the same =) Also, without, the debugging is faster. What are your suggestion, Polymax?

Maru: it's the same. You can download the scene and see with your eyes.

Honestly, I don't know what I can do. I think Ondra, when it will return from Siggy, can be help us.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: Polymax on 2014-08-03, 18:42:15
15 min and this

(https://dl.dropbox.com/s/alcyqtydwmitda8/Noise_pattern.jpg)

After 30 min you will get noise free image.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-03, 18:50:33
Cool! Obviously, can you share the "secrets"? Or, better, the scene?
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: Polymax on 2014-08-03, 19:05:37
Cool! Obviously, can you share the "secrets"? Or, better, the scene?
I send the scene via PM.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: higgledyhiggles on 2014-08-04, 10:13:24
Seems like this could be a good tip for speeding up renders with less noise. Care to share what was the issue ?
cheers,
higgles
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-04, 14:58:07
higgledyhiggles: the scene was as the original. Just Polymax added portal (I deletes for error when I clean the scene), remove the glossy from the white wall, remove the tint filter and change slighting the white color.  But he forgot to turn off the sun (this adds noise) and...  he had a good PC ;-)

But, after a lot of test, as I will show you later, after one hour of rendering,
the noise pattern changes in a  fast way and it isn't stable as in V-Ray (when you turn on Time dependent option)
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: maru on 2014-08-04, 18:59:08
How about increasing PT samples to 64-512? Just for science. ;)
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-04, 19:07:15
I tried 64, but the same noise in the pattern (and the AA was so bad in that situation).
For now, the solution is to remove the grain in AE.
Anyway, there is the source file, if you want to play with "him". =)
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: higgledyhiggles on 2014-08-05, 17:46:55
cecofuli:
cool thanks.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: maru on 2014-08-05, 19:46:13
I can see there are some little errors in this scene like doubled vertices near window holes but I don't know if they are affecting performance. This is a pretty hard lighting situation and there are reflective materials everywhere, this must be the case. Would it render any faster in some other renderer?
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-05, 21:03:38
Ok, I didn't see that. Yes, not easy scene, but I found the same noise pattern problem in all my scene with white wall.
Also, I found other three different annoying situations, impossible to solve with Corona:

(*) In an room (SPA), after one hour, everything was almost enough, but a glossy surface on a vase was very noisy and, the noise pattern, was incredibly visible (Corona needs an adaptation options or some improvement to solve the noise pattern flickering)
(*) In a room, with a lot of bottle, the flickering on the glass, due lights reflection, was impressive. As other user wrote, like in this (https://forum.corona-renderer.com/index.php/topic,2640.msg19866.html#msg19866) thread or in this (https://forum.corona-renderer.com/index.php/topic,3378.msg25030.html#msg25030) thread, the "solution" (not real solution, because impossible to remove, right now) was to change the glass glossy from 1 to 0.95 or 0.9. Also, I changed the Rays from 25 to 12. But, again, after one hour for frame, the flickering was still there.
(*) White walls, close to a lights (as a led stripe) very noisy (the noise patter is very vibrant) in animation. If I level up a LSM sample to 16 i cannot resolve the problem.

I tryed to remove this in AE, vith a denoise plugin. 

As you can see in my frame, there are a crazy noise patter mutation every frame and the bright pixel mutation  on the reflection/refraction produced by the lights.
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-08-06, 18:12:35
Ok, finally I can show you how "dirty"is the noise patter calculation, in Corona.

(http://www.francescolegrenzi.com/Temp/Corona/50_Noise_BUG.jpg)

VIDEO DOWNLOAD (http://www.francescolegrenzi.com/Temp/Corona/51_Noise_Reduction.rar)

(*) On the left side, the pattern correction
(*) On the right side, the original RAW animation


What I did, in After Affect with a noise reduction plugin, is  to stabilized the noise.
Look carefully! Inside the plugin, I didn't touch any noise reduction parameter (in fact it's zero).
The plugin compares the 3th frames before and after the frame analyzed. Next, it attempts to stabilize the noise pattern.
Maybe a little bit of noise reduction. I don't know exactly how it works behind the hood ^__^
I think Corona need something like that. This isn't a real noise reduction. It's called "noise stabilization".
Maybe, the algorithm behind "Time dependent" VRay option does this task. I don't know.

(http://www.francescolegrenzi.com/Temp/Corona/52_Noise_BUG.jpg)
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-09-01, 11:23:20
UP! Some news? Because our next project. Thanks ;-)
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: Ondra on 2014-09-01, 11:53:51
unfortunately not. I will probably get to it in a debugging session before commercial version launch
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: cecofuli on 2014-09-01, 11:59:46
Augh =(  ok!
I understand. In the meantime, I'll work with denoise in post. Thanks! ;-)
Title: Re: Noise pattern: bug or... -- (scene included) --
Post by: Ondra on 2014-12-08, 22:12:22
Implemented/Fixed