Author Topic: LUTs and render elements  (Read 2726 times)

2019-05-08, 16:23:15

actrask

  • Active Users
  • **
  • Posts: 142
    • View Profile
    • actrask.com
If I have a LUT set in the frame buffer and I save out the render elements, is the LUT applied to those render elements? Or only the beauty pass?

2019-05-08, 16:52:32
Reply #1

actrask

  • Active Users
  • **
  • Posts: 142
    • View Profile
    • actrask.com
I just did a test and the answer is YES, if the LUT is enabled in the frame buffer, it will save the render elements with that LUT applied. I only tested this with direct, indirect, and reflect passes.

2019-05-08, 20:48:56
Reply #2

davemahi

  • Active Users
  • **
  • Posts: 192
    • View Profile
    • iamstatic
I have found rendering elements with the LUT applied does not give you the correct result when you comp the passes back. It does save the LUT on the elements, but not in a way that can be put back together in comp, unless I am wrong??

2019-05-09, 06:47:14
Reply #3

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
This is correct. AOV's need to be linear to be able to comp them together properly. Unless you know why you are doing it, you should never apply a LUT to AOV's.

2019-05-10, 17:41:36
Reply #4

actrask

  • Active Users
  • **
  • Posts: 142
    • View Profile
    • actrask.com
I had assumed that the LUT was only applied to the beauty pass, but after noticing my comp looked like it was double up LUTs I dug into it. So then does it apply sharpening/blurring to all the AOVs too?

2019-05-16, 14:47:51
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12714
  • Marcin
    • View Profile
Hmm, I don't think LUTs should be applied to render elements. We will look into this.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-05-16, 16:12:20
Reply #6

actrask

  • Active Users
  • **
  • Posts: 142
    • View Profile
    • actrask.com
Great, thank you! Please check about the sharpening/blurring being applied to the render elements too, that one is harder to test. Right now I just have it turned off in case it does, but it would be nice to know.

2020-07-22, 18:53:57
Reply #7

davemahi

  • Active Users
  • **
  • Posts: 192
    • View Profile
    • iamstatic
Hmm, I don't think LUTs should be applied to render elements. We will look into this.

Any updates on this?

Here is what I would like to happen.

1. Use a LUT and it only applies to your beauty pass, leaving your AOV's alone.

2. Use a LUT and it applies the LUT to the elements so when comp together reproduce the look of the beauty.

2020-07-23, 17:57:43
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12714
  • Marcin
    • View Profile
Hmm, I don't think LUTs should be applied to render elements. We will look into this.

Any updates on this?

Here is what I would like to happen.

1. Use a LUT and it only applies to your beauty pass, leaving your AOV's alone.

2. Use a LUT and it applies the LUT to the elements so when comp together reproduce the look of the beauty.

This should be working as expected in V5 already.
If it doesn't can you please provide the exact render elements which:
- you would like to have the LUT applied but it's not there
- you don't want to have the LUT applied, but it's there

Thank you in advance.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-07-24, 17:51:08
Reply #9

davemahi

  • Active Users
  • **
  • Posts: 192
    • View Profile
    • iamstatic
Im not sure how to answer that. If you use a LUT and render out Render Elements, each element gets the LUT applied, and when comped will not look like the Beauty pass.

What I would want to see is either the LUT is only applied to the Beauty pass, and the elements are spit out without the LUT.

Or..........

The LUT is applied to the elements in a way so that when composited back, it matches the beauty. (This may not be possible with how the LUTs are used I dont know).

Right now you can just test for yourself with you Benchmark scene. Render it with a LUT and all Essential Render Elements. Then comp them in Nuke to see the difference.