Author Topic: Stubborn fireflies when using HDRI in Reflections Override  (Read 13206 times)

2016-09-15, 16:04:40

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
So I'm having this problem where using a different HDRI in the reflections override slot to the scene environment lighting slot is producing a lot of fireflies that denoising can't take care of.

The attached image is 75 passes on this region took 1:48, denoised at .6 took an additional 3:40, and really didn't make a difference, so I'm tempted to assume these over-bright pixels are messing with the denoise calculation too.

Highlight clamping was to 10 just to see if that helped, it didn't have much impact.

Both hdri's are .hdr, using the reflections override HDRI in the scene environment instead don't produce the fireflies, and using a .jpg of the HDRI in the reflection slot doesn't produce the fireflies either. This happens with a reflective override material as well, the grey metal has no reflection/gloss/bump maps that would cause speckling.

Is this some sort of conflict between HDRIs?

2016-09-15, 20:13:31
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8848
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-09-16, 13:09:24
Reply #2

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
Good to know, haven't tested this in the dailies yet.

2016-09-16, 13:21:01
Reply #3

Philip kelly

  • Active Users
  • **
  • Posts: 513
    • View Profile
    • Sketchrender
Is it a polygon ,, ie not shelled?
If so shell it it will get rid of the fire flies.

Phil
Dell Precision T7910

2016-09-16, 13:39:36
Reply #4

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction

2016-09-16, 15:11:10
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12758
  • Marcin
    • View Profile
This is known bug: https://corona-renderer.com/bugs/view.php?id=1257
I have just checked and this is not happening in daily builds. So one solution is using them.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-09-16, 16:24:45
Reply #6

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
Uh Oh... I just tested with the latest daily and it's even worse. Let me try to setup a simplified scene to send over.

2016-09-16, 16:27:04
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12758
  • Marcin
    • View Profile
Wow, then it must be something different. A sample scene will be appreciated.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-09-16, 16:46:27
Reply #8

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
ugh, nevermind, it was the geometry, my coworker had it auto-smoothed... as soon as I cleared the smoothing groups it looks fine. Well, at least that's solved.

2016-09-16, 17:55:13
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12758
  • Marcin
    • View Profile
Oof. Can you double check if it's really fixed? :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-09-16, 18:11:00
Reply #10

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
it definitely works, but if PBR mode is ticked, it breaks again

2016-09-19, 10:35:51
Reply #11

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
maybe move this to bugs if it hasn't already been logged?

2016-09-19, 14:16:40
Reply #12

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12758
  • Marcin
    • View Profile
I will see if I can reproduce this, and then move this thread to bug reporting, or submit a Mantis report. Thanks for the involvement!
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-09-19, 15:57:08
Reply #13

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12758
  • Marcin
    • View Profile
Hmm... I wasn't able to reproduce this. Can you help? A scene with the specific HDRIs used would be great (if you can't share them publicly, you can contact us via https://coronarenderer.freshdesk.com/support/tickets/new). I am not really getting any fireflies with 1.4.1 or 1.5.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-09-19, 16:59:53
Reply #14

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
hmm, interesting. Ok, I'll simplify the scene, its a Peter Guthrie and CG Source hdri, so I should probably make a ticket.

2016-09-19, 17:18:24
Reply #15

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction

2016-09-20, 11:38:46
Reply #16

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12758
  • Marcin
    • View Profile
Confirmed in the support ticket. Will create a proper report
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2017-03-21, 15:04:44
Reply #17

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2017-03-23, 01:58:49
Reply #18

Juraj

  • Active Users
  • **
  • Posts: 4761
    • View Profile
    • studio website
Is this solved ?

Or just noticed ? I might have scene with issue like this.
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

2017-03-23, 09:58:07
Reply #19

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
not resolved yet, but we want to minimize number of bug reports by removing duplicates
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2017-03-24, 21:05:16
Reply #20

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Is this solved ?

Or just noticed ? I might have scene with issue like this.

Hello

I had the same problem with the scenes where I wanted to lit scene with Corona sky and reflections taken from HDRi map. For my case I found pretty simple solution: I've just saved hdr image as jpg, and then used it to override Direct visibility/Reflections/Refractions - it makes reflections to clean muuuuch faster. I like to use Vray HDRi map, I have rotation of a map it rigged to the Corona sun in my scene, so I can simply rotate corona sun (inside of day light system) and get correct rotation of environment map in Vray HDRi. Tweaking settings of Inverse gamma and Overall mult with JPG sky I've got picture pretty much the same as I get using HDRi map. Check attached pictures - tests made with VisPeople's and No Emotion's HDRis. In both cases I used Corona sky+sun for lighting and hdri/jpg for Direct visibility/Reflections/Refractions override technic. Also you can find Vray HDRi settings for both skies in hdr and jpg formats.

Hope, this solution will help you and others, who have the same problem
« Last Edit: 2017-03-24, 21:09:47 by Bormax »

2017-03-27, 13:38:18
Reply #21

Dippndots

  • Active Users
  • **
  • Posts: 296
  • Alex Fagan Co-Founder at The Faction
    • View Profile
    • The Faction
Thanks Bormax, unfortunately that solution doesn't work when your're looking at the sun like I am with a problem scene at the moment, there just isn't enough dynamic range in jpegs, or 16-bit TIFs :(

2018-07-27, 22:51:44
Reply #22

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
I had the same problem with the scenes where I wanted to lit scene with Corona sky and reflections taken from HDRi map. For my case I found pretty simple solution: I've just saved hdr image as jpg, and then used it to override Direct visibility/Reflections/Refractions - it makes reflections to clean muuuuch faster.

Just want to say that comparing a jpg file to a hdr file is like comparing a banana to a pumpkin seed. Sure they are both things you can eat, but they are fundamentally different types of objects. By using an LDR image file format such as jpg as an image based spherical light source, you are killing all values above 1 which makes the image way less photoreal, and you are potentially using incorrect gamma. And if you are tuning all of your shaders to react to a jpg file, you will potentially be making them too bright because you are trying to compensate for a loss of energy from bright light sources like the sun.

If you want to see if the hdr file format is broken, you should be comparing it to an exr file of the same bit depth.