Author Topic: Parsing...  (Read 1430 times)

2024-07-24, 14:30:14

John_Do

  • Active Users
  • **
  • Posts: 253
    • View Profile
Hi,

Is it expected that Corona parses the scene each time when doing these things :

- modifying the region size and position when it's in use
- changing a light intensity and its position and direction ?

Genuinely asking since it adds a significant delay to the IR while things are already in memory.

Thanks

2024-07-24, 14:59:25
Reply #1

masterzone

  • Active Users
  • **
  • Posts: 210
  • CGI Generalist since 1998
    • View Profile
    • ZuccherodiKanna
Quote
- modifying the region size and position when it's in use

This doesn't happen on all scenes but is based on some special materials or something else. Sometimes I can change camera tag value without see the IR refreshed. Same for the render region, on some scenes the VFB doesn't refresh...

Quote
- changing a light intensity and its position and direction ?

I think here is more difficult to avoid the refreshing, you are talking to store into the memory the light intensity and its position, but the light intensity move its radius based on inverse square area, so if you level up the light, more distance is covered so you need to render again the GI and calculation...
The position of the light is more complicated due to the same theory...you must refresh the rendering due to a different distance of the light from surfaces...

Alex
| www.c4dzone.com
| Italian Maxon Training Center
| www.zuccherodikanna.com
| Italian based CGI Studio

2024-07-24, 19:34:14
Reply #2

John_Do

  • Active Users
  • **
  • Posts: 253
    • View Profile
Thanks for the explanation Alex.


I think here is more difficult to avoid the refreshing, you are talking to store into the memory the light intensity and its position, but the light intensity move its radius based on inverse square area, so if you level up the light, more distance is covered so you need to render again the GI and calculation...
The position of the light is more complicated due to the same theory...you must refresh the rendering due to a different distance of the light from surfaces...

Alex

I can understand that but what's bothering me is that it doesn't happen in every scene. I'm working on a new scene which is still really small (few textured assets and an HDRI for lookdev) and altering the HDRI settings, or the light's ones, or some material parameters doesn't require parsing. The VFB is just displaying "IR - Editing Document" and stays interactive.

So I guess it depends on the scene complexity, and that beyond a certain point parsing can't be avoided ?

2024-08-05, 10:03:21
Reply #3

masterzone

  • Active Users
  • **
  • Posts: 210
  • CGI Generalist since 1998
    • View Profile
    • ZuccherodiKanna
I tried on many scenes to find what element is refreshing the VFB during IR...but nothing...some shaders? light parameters? nothing...
When I working on some clay render all is ok, I can change white balance or exposition value without refresh, but when I start the texting there are some elements that make the IR to refresh...displacement? I don't know...
I will try to take a look more deeply....
| www.c4dzone.com
| Italian Maxon Training Center
| www.zuccherodikanna.com
| Italian based CGI Studio