Author Topic: IR Subsampling question: slow when with animated camera. Why?  (Read 2349 times)

2017-07-13, 15:10:41

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Hello,

this is the situation:

1:  simple scene with plane and scattered trees;
2:  Ir Sub-sampling as default;
3:  PT+PT


(*) If I rotate the viewport manually, I have FPS = 10.
(*) If I have an animated camera (for example, with Path constraint controller) and I scroll the timeline manually, the FPS = 2-3

So, why?

« Last Edit: 2017-07-13, 16:28:49 by cecofuli »

2017-07-13, 15:56:44
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
How are the trees made? Is it Corona Scatter or some plugin? Does the same happen with some more simple scene, like a plane with teapot?
It might mean that some geometry is reloaded per frame.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2017-07-13, 16:04:17
Reply #2

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Hi Maru, they are a simple AEC 3ds max trees with CoronaMtl.
But, it happens in every scene, also with a simple test room with a window, pr a plane with teapot.
Look at the scene in attachment and see with your eyes.

2017-07-13, 16:31:42
Reply #3

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Because moving timeline causes Corona to re-parse the entire scene from scratch, and currently, there is no way to avoid it.

I proposed a "lock" feature for camera animation previews, which when enabled, would freeze updates of everything in IR except camera position. It would work for camera animation previews, but not for animation of anything else in IR.

2017-07-13, 16:43:32
Reply #4

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
ahh, ok... Sad to know that it isn't possible to avoid.
But, your idea it very good. =)