Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: Kalopsia on 2023-09-16, 15:50:17

Title: Displacment Bug with Corona Mapping Randomizer
Post by: Kalopsia on 2023-09-16, 15:50:17
Software is 3ds Max 2023.1 with Corona 9 hotfix 3 and Corona 10 hotfix 1

As the subject title says, when using a displacement map combined with a Randomizer to turn the bitmap it doesn't work with the displacement slot. However, the same bitmap plugged in to the bump slot does work, the same for other slots.
 
This only is an issue when using the "Randomized by Mesh Element" if I use it with "Face Material ID" it works fine. So this is more of an inconvenience rather than a BUG.
The setup can be more complex and I am just used to use Mesh Element on almost everything I do. Specially when you have to use a Multi/Sub-Object Material this becomes annoying and tedious.

In the images attached you can se that the NormalShading Pass shows the Bump map works as expected but the NormalGeometry Pass shows the same map being repeated and not turned around.
Moreover, it just uses the first bitmap on all the tiles and ignores the rest. This is why the Beauty Pass looks wrong.

My guess is that because the Displacement is calculated at render time the Mesh Elements are messed up and it will not do it properly.

Hope that this helps

Title: Re: Displacment Bug with Corona Mapping Randomizer
Post by: maru on 2023-09-18, 16:52:57
Thank you for a detailed report.
We already have this logged in our internal systems as a bug.

(Internal ID=410159793)

Duplicate of https://forum.corona-renderer.com/index.php?topic=25627.0
Title: Re: Displacment Bug with Corona Mapping Randomizer
Post by: Tom on 2023-09-20, 04:10:01
Thanks for the update @maru.
I can see on the link you provide that the issue has first been reported in ... 2019. Are you working on implementing a fix? It looks pretty long since it was first reported.
Title: Re: Displacment Bug with Corona Mapping Randomizer
Post by: Kalopsia on 2023-09-21, 13:05:20
Thanks Maru. I knew someone had to have this issue befor me. Well, looking forward to Corona 11 then XD
Title: Re: Displacment Bug with Corona Mapping Randomizer
Post by: rowmanns on 2023-11-15, 20:32:00
Fixed in v11

https://forum.corona-renderer.com/index.php?topic=40442.0

Rowan
Title: Re: Displacment Bug with Corona Mapping Randomizer
Post by: Kalopsia on 2023-12-11, 12:58:56
Nice work. Thanks for the update
Title: Re: Displacment Bug with Corona Mapping Randomizer
Post by: Tom on 2023-12-12, 00:33:25
Well done guys, thanks.