Author Topic: How in the world does tonemap control work?  (Read 3638 times)

2018-07-18, 16:18:29

Jpjapers

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

Ive just plugged in an image into the tonemap node and applied the tonemap to the environment slot in my image.
Regardless of the checkboxes in the map its still affected by both the EV control in tonemapping and the environment slot in lightmix.
I cant figure out how to keep the environment looking the same whilst adjusting these values.
Or am i misunderstanding how this works?
Any ideas?

Thanks
« Last Edit: 2018-07-18, 16:38:12 by jpjapers »

2018-07-18, 17:03:47
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6143
    • View Profile
You did note the info in the control that says that you need to re-render? If you start IR, or finish a render, then adjust tone mapping, the background will still be affected (until you re-render). Let us know if that's not what you are experiencing, though :)
Tom Grimes | chaos-corona.com
Product Manager | contact us

2018-07-18, 17:53:22
Reply #2

Jpjapers

  • Active Users
  • **
  • Posts: 1722
    • View Profile
You did note the info in the control that says that you need to re-render? If you start IR, or finish a render, then adjust tone mapping, the background will still be affected (until you re-render). Let us know if that's not what you are experiencing, though :)

Yeah i restarted IR a few times just to make sure but i experienced the same behaviour.
Is it tied down to the .HDR Format?

2018-07-18, 19:04:09
Reply #3

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6143
    • View Profile
Should work with any image format - however, are you referring to the Beauty pass, or the LighMix pass? The LightMix will always be affected by changes to the LightSelect for the environment. I think that would be by design though, as the ToneMapControl isn't designed to exclude something from the LightMix (as you can individually control the LightSelect for it anyway). It does correctly stop EV from changing the background in the LightMix pass, but doesn't stop the changes to the LightSelect layer (at least in my test).

If you are experiencing something different, sharing the scene and description of expected / desired results would be good!
Tom Grimes | chaos-corona.com
Product Manager | contact us

2018-07-18, 19:30:25
Reply #4

dj_buckley

  • Active Users
  • **
  • Posts: 1060
    • View Profile
I think i get what you’re saying.  Everytime you adjust the tonemapping controls in IR, it affects the background even though you have affected by tonemapping unticked. Right.  This is normal behaviour although personally I feel it defeats the object :)

If you have IR open and adjust the tonemapping settings, the background that you want to keep ‘as is’ will change along with the rest of the render.  However if you restart IR, you’re render will maintain those tonemapping changes but your background will ‘reset’ to how it was before you adjusted the tonemapping.

It’s not great but it is what it is.  It makes it almost impossible to match scene lighting to a photographic backplate dynamically.  50% of my work is taking site photos and then matching the 3d scene to it in terms of lighting/contrast/white balance/hc etc so what we really need is an option to display an image in the background that literally stays as is regardless of what you adjust

2018-07-18, 23:49:59
Reply #5

Jpjapers

  • Active Users
  • **
  • Posts: 1722
    • View Profile
I think i get what you’re saying.  Everytime you adjust the tonemapping controls in IR, it affects the background even though you have affected by tonemapping unticked. Right.  This is normal behaviour although personally I feel it defeats the object :)

If you have IR open and adjust the tonemapping settings, the background that you want to keep ‘as is’ will change along with the rest of the render.  However if you restart IR, you’re render will maintain those tonemapping changes but your background will ‘reset’ to how it was before you adjusted the tonemapping.

It’s not great but it is what it is.  It makes it almost impossible to match scene lighting to a photographic backplate dynamically.  50% of my work is taking site photos and then matching the 3d scene to it in terms of lighting/contrast/white balance/hc etc so what we really need is an option to display an image in the background that literally stays as is regardless of what you adjust

Im compositing some new fixtures into a site but ive only been provided with a 360 jpeg. So by cranking up the environment intensity i can get convincing enough lighting in situ but at the moment the background gets basically to all white before the objects match the lighting in the original image.

Basically in my mind tonemapping should exclude the image itself from any changes whilst allowing you to adjust the light output from the image to suit your compositing needs.

2018-07-19, 01:06:55
Reply #6

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6143
    • View Profile
That's where a Direct Visibility background override would come in (but, that doesn't seem to have any effect when using LightMix, afaik). Perhaps saving it out with alpha and replacing the background in post might work in the meantime?
Tom Grimes | chaos-corona.com
Product Manager | contact us

2018-07-19, 11:39:26
Reply #7

Jpjapers

  • Active Users
  • **
  • Posts: 1722
    • View Profile
That's where a Direct Visibility background override would come in (but, that doesn't seem to have any effect when using LightMix, afaik). Perhaps saving it out with alpha and replacing the background in post might work in the meantime?

Yeah that will work. Its my fault
, i misunderstood the purpose of the tonemap control node.
Thanks for the help gents

2018-07-19, 11:52:25
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13736
  • Marcin
    • View Profile