Author Topic: 32bit EXR clamped in CoronaColorCorrect  (Read 3651 times)

2020-03-07, 10:37:24

Dionysios.TS

  • Active Users
  • **
  • Posts: 766
    • View Profile
    • Evolvia Imaging
Hi all,

I am working on a very complicated project and this morning I noticed something strange when I use a Quixel 32bit EXR Displacement map (loaded via CoronaBitmap) + CoronaColorCorrect.

1. When the CoronaBitmap is loaded by itself in the Displacement slot, everything works fine.
2. When I apply a CoronaColorCorrect on the above Displacement slot, the result is wrong it seems that a lot of the EXR information are clamped.

I attached a fast preview image, on the left the correct result with the Displacement 32bit map alone, on the right the fault result by using CoronaColorCorrect on it.

Thanks,

Dionysios -

2020-03-10, 09:25:12
Reply #1

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Hi all,

I am working on a very complicated project and this morning I noticed something strange when I use a Quixel 32bit EXR Displacement map (loaded via CoronaBitmap) + CoronaColorCorrect.

1. When the CoronaBitmap is loaded by itself in the Displacement slot, everything works fine.
2. When I apply a CoronaColorCorrect on the above Displacement slot, the result is wrong it seems that a lot of the EXR information are clamped.

I attached a fast preview image, on the left the correct result with the Displacement 32bit map alone, on the right the fault result by using CoronaColorCorrect on it.

Thanks,

Dionysios -

I am afraid I can't reproduce this, I've tested three different EXR's from quixel all produce the same displ value. Autobump on/off, 2.5D on/off , screen size/ world size.

Can you share your scene with no materials? What version of Corona you are currently using?
« Last Edit: 2020-03-10, 09:39:00 by GeorgeK »
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2020-03-10, 15:49:50
Reply #2

Dionysios.TS

  • Active Users
  • **
  • Posts: 766
    • View Profile
    • Evolvia Imaging
Hi all,

I am working on a very complicated project and this morning I noticed something strange when I use a Quixel 32bit EXR Displacement map (loaded via CoronaBitmap) + CoronaColorCorrect.

1. When the CoronaBitmap is loaded by itself in the Displacement slot, everything works fine.
2. When I apply a CoronaColorCorrect on the above Displacement slot, the result is wrong it seems that a lot of the EXR information are clamped.

I attached a fast preview image, on the left the correct result with the Displacement 32bit map alone, on the right the fault result by using CoronaColorCorrect on it.

Thanks,

Dionysios -

I am afraid I can't reproduce this, I've tested three different EXR's from quixel all produce the same displ value. Autobump on/off, 2.5D on/off , screen size/ world size.

Can you share your scene with no materials? What version of Corona you are currently using?

Thanks for getting back!

Unfortunately I can't replicate this as well here in the office. I am really sorry.
The problem appeared to me last Saturday while I was working at home so I need to check that again tonight.
I use the latest build by the way, excuse me for not mentioning this before.

Thanks and I'll let you know news.

Dionysios -

2020-03-10, 22:08:22
Reply #3

Dionysios.TS

  • Active Users
  • **
  • Posts: 766
    • View Profile
    • Evolvia Imaging
Hi all,

I am working on a very complicated project and this morning I noticed something strange when I use a Quixel 32bit EXR Displacement map (loaded via CoronaBitmap) + CoronaColorCorrect.

1. When the CoronaBitmap is loaded by itself in the Displacement slot, everything works fine.
2. When I apply a CoronaColorCorrect on the above Displacement slot, the result is wrong it seems that a lot of the EXR information are clamped.

I attached a fast preview image, on the left the correct result with the Displacement 32bit map alone, on the right the fault result by using CoronaColorCorrect on it.

Thanks,

Dionysios -

I am afraid I can't reproduce this, I've tested three different EXR's from quixel all produce the same displ value. Autobump on/off, 2.5D on/off , screen size/ world size.

Can you share your scene with no materials? What version of Corona you are currently using?

Hi, luckily I as able to reproduce the bug at home.
Probably is this kind of Displacement map got out from Quixel Mixer? I don't know, without the Corona Color Correction on it, it works fine.

Here is the file (3ds Max 2020), on the left the correct version, on the right with the defect:  https://1drv.ms/u/s!ArWIfyOfVovjgbsOWkuNvGb0dPHFiA?e=83Rfa1
Used the latest Corona daily build.

Please let me know once download it so I can delete it from the cloud.

Thanks,

Dionysios -

2020-03-11, 10:13:56
Reply #4

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Hi all,

I am working on a very complicated project and this morning I noticed something strange when I use a Quixel 32bit EXR Displacement map (loaded via CoronaBitmap) + CoronaColorCorrect.

1. When the CoronaBitmap is loaded by itself in the Displacement slot, everything works fine.
2. When I apply a CoronaColorCorrect on the above Displacement slot, the result is wrong it seems that a lot of the EXR information are clamped.

I attached a fast preview image, on the left the correct result with the Displacement 32bit map alone, on the right the fault result by using CoronaColorCorrect on it.

Thanks,

Dionysios -

I am afraid I can't reproduce this, I've tested three different EXR's from quixel all produce the same displ value. Autobump on/off, 2.5D on/off , screen size/ world size.

Can you share your scene with no materials? What version of Corona you are currently using?

Hi, luckily I as able to reproduce the bug at home.
Probably is this kind of Displacement map got out from Quixel Mixer? I don't know, without the Corona Color Correction on it, it works fine.

Here is the file (3ds Max 2020), on the left the correct version, on the right with the defect:  https://1drv.ms/u/s!ArWIfyOfVovjgbsOWkuNvGb0dPHFiA?e=83Rfa1
Used the latest Corona daily build.

Please let me know once download it so I can delete it from the cloud.

Thanks,

Dionysios -

Hi Dionysios, thanks for the update and for sharing the scene, feel free to delete it from the cloud.

So indeed, there seems to be an issue with this displacement EXR + ccc, we will look into it further and report back if it's a bug or something different.

Thanks for bringing it to our attention.

(internal id=476690362)

George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2020-03-11, 11:07:40
Reply #5

Dionysios.TS

  • Active Users
  • **
  • Posts: 766
    • View Profile
    • Evolvia Imaging
Hi all,

I am working on a very complicated project and this morning I noticed something strange when I use a Quixel 32bit EXR Displacement map (loaded via CoronaBitmap) + CoronaColorCorrect.

1. When the CoronaBitmap is loaded by itself in the Displacement slot, everything works fine.
2. When I apply a CoronaColorCorrect on the above Displacement slot, the result is wrong it seems that a lot of the EXR information are clamped.

I attached a fast preview image, on the left the correct result with the Displacement 32bit map alone, on the right the fault result by using CoronaColorCorrect on it.

Thanks,

Dionysios -

I am afraid I can't reproduce this, I've tested three different EXR's from quixel all produce the same displ value. Autobump on/off, 2.5D on/off , screen size/ world size.

Can you share your scene with no materials? What version of Corona you are currently using?

Hi, luckily I as able to reproduce the bug at home.
Probably is this kind of Displacement map got out from Quixel Mixer? I don't know, without the Corona Color Correction on it, it works fine.

Here is the file (3ds Max 2020), on the left the correct version, on the right with the defect:  https://1drv.ms/u/s!ArWIfyOfVovjgbsOWkuNvGb0dPHFiA?e=83Rfa1
Used the latest Corona daily build.

Please let me know once download it so I can delete it from the cloud.

Thanks,

Dionysios -

Hi Dionysios, thanks for the update and for sharing the scene, feel free to delete it from the cloud.

So indeed, there seems to be an issue with this displacement EXR + ccc, we will look into it further and report back if it's a bug or something different.

Thanks for bringing it to our attention.

(internal id=476690362)

You welcome and thanks for your support.
I noticed too that is happening for now with only this Displacement map but I don't know the reasons.

In any case I am curious and looking forward to receive any updates.

Thanks again,

Dionysios -

2020-03-11, 11:09:34
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12739
  • Marcin
    • View Profile
One workaround seems to be going to Output rollout of the displacement bitmap and increasing RGB Offset to 3-5 and then adjusting displacement strength in the material manually.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-03-11, 11:13:43
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12739
  • Marcin
    • View Profile
Another thing that seems to make it work, don't ask me why. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-03-11, 11:22:44
Reply #8

Dionysios.TS

  • Active Users
  • **
  • Posts: 766
    • View Profile
    • Evolvia Imaging
One workaround seems to be going to Output rollout of the displacement bitmap and increasing RGB Offset to 3-5 and then adjusting displacement strength in the material manually.

Thanks Maru, things are a bit more complicated... :)

I am working on a very complicated terrain model and I am using a Corona Layered Material with 5 different Displacement maps and masks.
Due to the limitation of the engine to treat differen Dipl. maps in the layred material in the same time, I am using the mix map method so the displacement main strength is set to the main material and all the others are modified by their RGB values. So I need to change the RGB offset and not the RGB level to achieve a correct result?

Thanks,

Dionysios -

2020-03-12, 16:37:14
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12739
  • Marcin
    • View Profile
So I need to change the RGB offset and not the RGB level to achieve a correct result?

It probably doesn't matter - whatever works.
But maybe the other option with a Mix map would work? (as in my screenshot)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-03-12, 17:08:44
Reply #10

Dionysios.TS

  • Active Users
  • **
  • Posts: 766
    • View Profile
    • Evolvia Imaging
So I need to change the RGB offset and not the RGB level to achieve a correct result?

It probably doesn't matter - whatever works.
But maybe the other option with a Mix map would work? (as in my screenshot)

First of all thanks!

I wanted to use the Corona Color Correction only for the Displacement amount via the HDR Color value cause I thought would be more precise.
Now that I can't use that combination I simply use the RGB Level in the Bitmap menu.