Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: pokoy on 2019-01-23, 14:13:29

Title: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: pokoy on 2019-01-23, 14:13:29
I hoped this one would be fixed for good but it seems it gets a comeback.

The dome light mode produces nasty block artifacts, see attached image.

Also attached is a zip file of a Max 2018/Corona v3_HF1 scene as repro case, and an image of the render results.
2 different environment maps are included and prepared in the material editor, please make sure to test both.

Please make sure to add this or a similar scene setup to your test scene suite. It's worth noting that the issue will NOT come up when there's a geometry under the objects (for example a groundplane) large enough to obstruct the parts of the dome map that produce the errors. Probably a reason why it hasn't been caught before release.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: TomG on 2019-01-23, 14:20:50
Quick questions (haven't tested the scene, just thoughts)

- By "geometry under the object" does that include a Shadowcatcher object?
- Does switching off the new light solver make any difference?

Thanks!
   Tom
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: pokoy on 2019-01-23, 14:30:41
I suppose the Shadowcatcher won't work... can't try now, only later. Light solver doesn't affect this, pretty sure I tested this.

Just tested:
- a Shadow Catcher geometry large enough to obstruct the problematic angles fixes this. Probably not valid for every case but good to know nonetheless, thanks for the suggestion.
- new light solver enabled or disable doesn't matter, happens always.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: TomG on 2019-01-23, 14:46:24
Thanks for the additional info! :)
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: pokoy on 2019-01-23, 14:53:55
Apparently this was already present in v2?! I'm puzzled because I've used dome mode on many projects in v2 and never saw any problems. Wonder how I came across this only now.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: TomG on 2019-01-23, 15:00:09
Here's something I notice in a quick test - enable Devel/Debug, change Enviro sampler to a setting that doesn't begin "NormalDep" and the artifacts should disappear. I have no idea what impact this has on rendering time / quality, though :)

Also, I didn't get nearly so many artifacts with the 2nd HDRI compared to what is in your render, not sure why that should be.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: pokoy on 2019-01-23, 15:08:13
So your render doesn't match mine? That's interesting.... and again way over my head. Does Corona make use of any other external libraries in that case? Something that may be present on one system but not on another?

Thanks for the info on the sampler. I might use this at the end of the day.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: TomG on 2019-01-23, 15:14:09
Attaching the renders I get. Not sure, sorry, on whether there's anything else in terms of libraries etc. Note that there are still artifacts, just different from what you saw. (PS, I just used the same CoronaBitmap, and loaded the second environment into it - not sure if you maybe had another CoronaBitmap that you had a different rotation on or something, which you dropped into the Scene Env override?)

Note, internal 311287120

Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: pokoy on 2019-01-23, 15:27:43
I see. I have prepared both maps in the Material Editor. Instead of loading the other map you could also just drag&drop the other map to Corona's Env slot.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: romullus on 2019-01-23, 15:38:10
I don't think that those artifacts was really solved. I stumbling upon them almost every single time i use dome mode and always have to change enviro sampler to get rid of them.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: pokoy on 2019-02-01, 19:05:58
I just went back to a scene that I know used Dome mode in Corona v2 and didn't have any issues. Turns out, it also renders fine in v3... without a groundplane that would be needed to 'fix' this...
So for some reason, this sometimes happens to produce issues, and sometimes it's fine. I guess it depends on camera viewpoint and dome parameters. I still hope the issue posted above can be fixed and please make sure you test different dome parameters :D
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: Vlad_the_rant on 2019-02-15, 14:59:58
This has been reported to the devs and is being looked into.

Internal ref. 311287120
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: pokoy on 2019-02-15, 15:48:28
This has been reported to the devs and is being looked into.

Internal ref. 311287120

Many thanks!!
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: Duron on 2020-04-17, 16:53:30
Any news here?

This bug is still present on latest Corona 5 Build.
Title: Re: Corona 3 HF1 - Corona Bitmap Dome Mode - Block Artifacts (again)
Post by: rowmanns on 2020-04-17, 17:43:50
Hi,

As of yet I have no new information about this issue, I will let you know when I have some more information.

Thanks,

Rowan