Author Topic: Animation & Scene Parsing  (Read 5938 times)

2020-02-05, 22:34:46

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1245
    • View Profile
    • My personal website
Hello peeps,

So I'm not really sure if this was discussed before or not but was there ever a request to have Corona more animation "friendly" by working on reducing the scene parsing times?

Right now each time a new frame loads you need to go through that same ol, same ol scene parsing calculation phase. While that is in a way to be expected there are other path tracers out there that load the scene just once and so each subsequent frame has like a 99% reduction in parsing times. The other render engine I used that did things this way was a GPU based renderer so I'm not sure if maybe thats a pro of the way they can quickly access things stored in VRAM whereas with CPU rendering that access might be a bit slower :)

With the other renderer scene parsing times were like 30 second for the scene to load but then each next frame only took like 2 seconds to load up and it was already rendering. Now imagine the animation you are working on is 1000 frames long and you can see that we are talking lots of hours of compute time spared :)

I know there are some scene parsing improvements already listed on Trello but I'm not sure if the same thing I'm talking about. Also, sorry if this has been suggested before :)

Any thoughts perhaps?
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2020-02-06, 09:41:37
Reply #1

Giona

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 156
  • 3D - MTB - Photography
    • View Profile
    • Giona Andreani 3D Visualization
This is a request that I made some times ago, and I think they're working on it.
It would be a super improvement, especially for heavy scenes that takes few minutes to parse :)

2020-02-06, 10:38:46
Reply #2

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1245
    • View Profile
    • My personal website
Completely agree and I'm happy it was requested before :) Maybe this will nudge it a bit again, heh :)
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2020-02-06, 11:49:30
Reply #3

pokoy

  • Active Users
  • **
  • Posts: 1850
    • View Profile
I've wondered about this too in the past, not sure why there's no saving of redundant steps/data processing.

2020-02-07, 17:22:16
Reply #4

agentdark45

  • Active Users
  • **
  • Posts: 579
    • View Profile
This! At least there should be a checkbox to keep the scene loaded into RAM for those who have enough physical RAM to not have to parse the scene on each frame.
Vray who?

2020-11-26, 13:39:26
Reply #5

Stefan_

  • Active Users
  • **
  • Posts: 19
    • View Profile
This could be a game changer.
I could give the client more versions of a video job.
Speedup the workflow up to 8 times.

2020-11-26, 14:30:21
Reply #6

vblackrender.

  • Active Users
  • **
  • Posts: 60
    • View Profile
We definetely need that feature! +1

2020-11-26, 15:09:41
Reply #7

jms.lwly

  • Active Users
  • **
  • Posts: 171
    • View Profile
    • jms.lwly studio
+1

When I'm testing camera angles and lighting setup, I'll often keep an IR window running - and flick from one camera to the next - which parses almost instantly - it seems frustrating that each view takes so much longer each time to parse / calculate when rendering a 'proper' image.

2021-01-08, 11:12:17
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
The "Rewriting scene parsing - making second rendering parsing much faster, making scrubbing timeline in IR much faster" Trello item will be most likely what you are looking forward to. There are of course some limitations, like how successfully we are able to detect if something has / hasn't changed between the frames.

If you have a scene which would definitely benefit from this (i.e. per-frame parsing time is super long), as usual we are interested in investigating as we may use it as a benchmark for our improvement in the future.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-01-12, 01:13:21
Reply #9

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1245
    • View Profile
    • My personal website
This is huge pro for any and all animation work I do with Corona - really excited it is getting traction!

It's mostly scenes with heavier displacement or heavier geo. So to generalize a bit, any scene with lots of objects or dense meshes that result in higher scene parsing and geo calculation times is a prime candidate. Shaving off even 20 seconds of a 2 minute frame is really solid and up to a point where it comes close to not having to have to upgrade the farm for it.

I'm on C4D primarily but I can send a couple of scenes over if need be :)

Oh and thank you for keeping tabs on these topics, I for one really appreciate it!
« Last Edit: 2021-01-12, 01:52:01 by Nejc Kilar »
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2021-01-12, 10:18:24
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
This is huge pro for any and all animation work I do with Corona - really excited it is getting traction!

It's mostly scenes with heavier displacement or heavier geo. So to generalize a bit, any scene with lots of objects or dense meshes that result in higher scene parsing and geo calculation times is a prime candidate. Shaving off even 20 seconds of a 2 minute frame is really solid and up to a point where it comes close to not having to have to upgrade the farm for it.

I'm on C4D primarily but I can send a couple of scenes over if need be :)

Oh and thank you for keeping tabs on these topics, I for one really appreciate it!

Thanks, and if you can send over one or more scenes, that would be perfect. Of course they will be kept confidential and used for debugging only. You know the drill :) https://corona-renderer.com/upload
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-01-12, 23:15:52
Reply #11

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1245
    • View Profile
    • My personal website
Got it, will send a couple of them over. Thank you! :)
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2021-01-14, 15:58:47
Reply #12

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Got some goodies from Nejc and logged for the devs to review.

(Internal ID=623385593)
« Last Edit: 2021-01-15, 12:09:01 by beanzvision »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us