Author Topic: How to precompute secondary GI for animation  (Read 5356 times)

2014-07-22, 02:29:01

arqrenderz

  • Active Users
  • **
  • Posts: 1068
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
How to precompute secondary GI for animation and use it for the whole animation? (no moving objects just camera)

i see the (from file+apend) but how do i make the 1 pass for every 30 frames?

 or is it better to make it for each frame?

2014-07-22, 16:28:10
Reply #1

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
This is my work-flow, but I don't know if it's correct:

(*) Set "Every Nth Frame" 20-30 or n frame (it depends how fast is your animation).
(*) Set your Range frame.
(*) Set Time limits to 10 second.
(*) Set PT+HDCache.
(*) Set "Load from file+ append" and "save file".
(*) Set your Filename path.

The first frame it will be slow, but the next frames will be faster. YOu can see also the *.hdc file size grow up on every new frame computation.

After that, you can load the HDCache and change "Every Nth Frame" = 1


2014-07-25, 08:29:39
Reply #2

VASLAVO

  • Active Users
  • **
  • Posts: 297
    • View Profile
This works for moving objects too?

2014-07-29, 23:03:22
Reply #3

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
Obviously no. When you have moving objects or lights you have to compute the HDcache every frame.

2014-07-29, 23:42:20
Reply #4

juang3d

  • Active Users
  • **
  • Posts: 636
    • View Profile
I compute the HD cache every frame to avoid problems, I think HDCache is not yet though for precomputation for animation and moving objects, anyway the HD Cache precomputation does not take too much time usually (at least in my scenes).

To avoid flickering I do what was posted in another thread, I increase interpolation accuracy, I'm not pretty sure on how to evaluate that settings but I'm pretty sure that if I put from 60 to 80 in position I won't get flicker, try it with some test, it's a bit slower that using 20 as default, but yet you get a superb speed improvement over plain PT and avoid flicker.

Hope this helps!

Cheers.