Author Topic: Pre-passes and Displacement for Animation  (Read 5147 times)

2016-05-11, 14:13:48

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
I recently noticed that when I send an animation to render with a separate prepass and render pass and I am using displacement, it has to calculate it in both. Is it necessary to have displacement enabled in the prepass if using it in the render pass? It would definitely be a big timesaver (~11min a prepass frame) if I didnt.

2016-05-11, 14:25:03
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12828
  • Marcin
    • View Profile
Hi, what do you mean by "prepass" and "render pass"?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-05-11, 14:33:59
Reply #2

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
prepass is the backburner job that just generates and saves the UHD cache file every 25 frames (render time limit set to 1sec), the render pass job loads that and renders the image

2016-05-11, 15:06:48
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12828
  • Marcin
    • View Profile
I don't think there is any way to overcome this. But maybe you could just render the final shot along with the UHD cache solution? So instead of rendering 1 image for 1s + 1 final, you would render only 1 final. Or maybe there is something I do not understand?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-05-11, 15:26:51
Reply #4

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
I suppose we could do that, it was just that when doing an animation, we only need to do the UHD calculation every 25 frames. Without the displacement it takes ~2.5min so we could save  that much time per frame over 150-400 frames.

Or do I have it wrong and are people not even bothering having a UHD "prepass" and just render animations with UHD set to the animation preset every frame?

2016-05-13, 12:49:43
Reply #5

James Vella

  • Active Users
  • **
  • Posts: 577
    • View Profile
Im rendering some animations now. Didnt bother with cache just changed two settings in render dialogue (flicker free for animation and uncheck the static noise). Seems really nice so far... only a very slight "light pulse" in the dark shadow areas. Probably could get away with it 95% of the time. Im doing  some tests  this weekend with higher passes ill let u kknow if it is better

2016-05-13, 12:55:13
Reply #6

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
Yeah we've been rendering animations for a while now, but only just started using displacement. The UHD every 25passes works well but looks like its only worth doing it if you aren't using displacement.

2016-05-13, 13:38:07
Reply #7

James Vella

  • Active Users
  • **
  • Posts: 577
    • View Profile
Hmm thats both coronamod and material?

2016-05-13, 14:59:14
Reply #8

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
Just in the material, haven't used the modifier much yet.

2016-06-04, 07:35:08
Reply #9

Nariman

  • Active Users
  • **
  • Posts: 5
    • View Profile
have a flickering in the areas of displacement rendering with uhd precomputed
now testing with both engines set to path tracing
anyone has this issue? any suggestions?

2016-06-04, 15:37:25
Reply #10

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
have a flickering in the areas of displacement rendering with uhd precomputed

You mostly need to change the displacement settings in the performance tab of render setup from Screen Size(px) to World Size(units)