Author Topic: Animation flickering with HD cache  (Read 30286 times)

2013-11-18, 10:36:21
Reply #30

fobus

  • Active Users
  • **
  • Posts: 388
    • View Profile
to poko:
I don't care about the noise it this tests. And again: for real animation save and load secondary GI will not work as we need.

And the test:
I've rendered 4 clips with different settings of HD cache. First one (default) rendered with default settings of Corona (except Exposure comp -3.5EV) with HD cache as secondary GI engine.
The second one (PS100) - with position sensivity rised up to 100 with all settings from previous clip.
The third (DS50_PS100) - with direction sensivity rised up to 50 with all settings from previous clip.
And the fourth (PD0.25_PTS64_DS50_PS100) - with precomp density lowered to 0.25 and PT samples lowered to 64 with all settings from previous clip.

The results is:
Default settings - Huge flickering, low rendertimes, low noise.
Second try - low flickering, low to mid rendertimes, low noise.
Third try - See no flickering, huge rendertimes, mid to high noise.
fourth try - See no flickering, huge rendertimes (a tiny bit smaller than third try), mid to high noise.

2013-11-18, 11:14:34
Reply #31

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
It is extremely weird that noise patter as well as HDcache changes over time when camera, objects and lighting are stationary. That should never ever happen....

If it does, then it is some extremely huge bug...

2013-11-18, 12:50:24
Reply #32

fobus

  • Active Users
  • **
  • Posts: 388
    • View Profile
It is extremely weird that noise patter as well as HDcache changes over time when camera, objects and lighting are stationary. That should never ever happen....

If it does, then it is some extremely huge bug...

I have only an public Alpha v5 version of Corona so may be this was fixed already. Anyway hera are this scene with defaults settings.

2013-11-18, 13:48:43
Reply #33

rafpug

  • Active Users
  • **
  • Posts: 722
    • View Profile
Some tests with your scene.
Best.

Hello poko, nice work.

kindly, could you post the values ​​of the image number 6?


Thank you very much
Raf

2013-11-18, 14:05:57
Reply #34

poko

  • Active Users
  • **
  • Posts: 73
    • View Profile
Hi Rafpug.

PT-32
MSI-20
HD-1024
Cash is pre-calculated every frame, load and render.
This is the same test as v5. just in post reduce noise.
Strange is that in my test (compare to Fobus test) I don't have flickering problem, just noise.
Best.
PO

2013-11-18, 19:31:39
Reply #35

fobus

  • Active Users
  • **
  • Posts: 388
    • View Profile
Cash is pre-calculated every frame, load and render.
This is the same test as v5. just in post reduce noise.
Strange is that in my test (compare to Fobus test) I don't have flickering problem, just noise.

Don't You think that in Your setup HD cache was saved for one frame only (the last one rendered in pre-calc pass)? Therу is no option for saving HD cache for animation or I'm missed somthing? I think You have no flickering because You have HD cache pre-calculated. But there is no way for this method for real animation if you have animated characters, lights etc.

2013-11-18, 20:19:32
Reply #36

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Cash is pre-calculated every frame, load and render.
This is the same test as v5. just in post reduce noise.
Strange is that in my test (compare to Fobus test) I don't have flickering problem, just noise.

Don't You think that in Your setup HD cache was saved for one frame only (the last one rendered in pre-calc pass)? Therу is no option for saving HD cache for animation or I'm missed somthing? I think You have no flickering because You have HD cache pre-calculated. But there is no way for this method for real animation if you have animated characters, lights etc.

There are a few "experts" on this forum with need to contribute to any discussion at all cost regardless of if they actually understand the topic. ;)


2013-11-19, 15:58:28
Reply #38

poko

  • Active Users
  • **
  • Posts: 73
    • View Profile
Hi Rawalanche.
I want to find no flickering solution.
I just make some tests with attached scene hope can help.
I'm new in Corona and I'm not doing "viz" like almost all "experts" here.
So for me more important is rendering animation, fast, no flickering, etc.

2013-11-20, 12:12:03
Reply #39

poko

  • Active Users
  • **
  • Posts: 73
    • View Profile
Cash is pre-calculated every frame, load and render.
This is the same test as v5. just in post reduce noise.
Strange is that in my test (compare to Fobus test) I don't have flickering problem, just noise.

Don't You think that in Your setup HD cache was saved for one frame only (the last one rendered in pre-calc pass)? Therу is no option for saving HD cache for animation or I'm missed somthing? I think You have no flickering because You have HD cache pre-calculated. But there is no way for this method for real animation if you have animated characters, lights etc.

Ok I see. Now I see that is just one frame cached. Thanks a lot;)
Btw.
Nice render, something different design then I daily see.
How you manage no flickering and noise remove?
Is helping change PS to 100 as Rawalanche suggest?
Best.
PO

2013-11-20, 14:53:47
Reply #40

fobus

  • Active Users
  • **
  • Posts: 388
    • View Profile
to poko:

Thank You.
Flickering is presented, but a tiny bit. This is the result of using PS 100. Noise is still there too. I set Corona to render 60 passes with 24 PT samples each. This way one frame was rendered in 50 minutes on i-7 2600k at 720p.

2013-11-20, 18:58:14
Reply #41

poko

  • Active Users
  • **
  • Posts: 73
    • View Profile
Hi Fobus.
Thanks for feedback.
I need to try your way.
But 50 min. for frame is way to long. Hope next version can speed up this.
Thx for patience:).
« Last Edit: 2013-11-20, 19:14:08 by poko »

2013-11-21, 00:46:36
Reply #42

rafpug

  • Active Users
  • **
  • Posts: 722
    • View Profile
Hi Rafpug.

PT-32
MSI-20
HD-1024
Cash is pre-calculated every frame, load and render.
This is the same test as v5. just in post reduce noise.
Strange is that in my test (compare to Fobus test) I don't have flickering problem, just noise.
Best.
PO

Hello poko,
a topic that has me very intrigued

on the internet I found this :
Once the prepass has been completed you will need to specify the amount of blending between the irradiance maps. So before you render, you will need to decide on how many irradiance maps you wish to blend. This is because it effects your animation timeline range. For example, if you have a blend of 2, this means it will blend 2 frames before and 2 frames after. In order to render frame 5, it will blend frames 3,4,5,6,7. Frame 6 will blend frames 4,5,6,7,8 and so on.

Increasing the number of blending frames reduces the chances of flickering, but this will also increase render times. If you increase the value too much, the result will be over smoothed you will lose detail. That said, frame 0 needs to have frames before it in order to blend correctly. Otherwise frame 0 will have less frames to blend than others, causing irregularities. Set your animation starting frame to –2, this will allow frame 0 to blend –2,-1,0,1,2. Repeat this for your last frame, if you animation ends at 100, set the animation finishing frame to 102.


Have you ever tried this solution?
Such a thing is feasible with CoronaRenderer?

Regard
Raf

2013-11-21, 13:25:06
Reply #43

poko

  • Active Users
  • **
  • Posts: 73
    • View Profile
Hi Rafpug.
Yes for some animation I do like you says in Vray or Final Render.
Here this example how:
http://help.chaosgroup.com/vray/help/150SP1/tutorials_imap2.htm
t=1206

Here in Corona I think is not working this way yet.
So why I did the tests for.
Maybe I'm wrong, and this working well in Corona, but saved file is the same size when you cache one frame or every 2 or 3 frames. So like Fobus noticed:
"Don't You think that in Your setup HD cache was saved for one frame only (the last one rendered in pre-calc pass)? Therу is no option for saving HD cache for animation or I'm missed somthing? I think You have no flickering because You have HD cache pre-calculated. But there is no way for this method for real animation if you have animated characters, lights etc."
« Last Edit: 2013-11-21, 14:08:28 by poko »

2013-11-23, 18:21:39
Reply #44

rafpug

  • Active Users
  • **
  • Posts: 722
    • View Profile
Hello poko
thanks for the examples!

What is the pre-calculation of the HD Cache for animation?
There is a procedure to perform?

thank
Raf