Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: romullus on 2022-10-20, 15:28:34

Title: UVW randomization issue
Post by: romullus on 2022-10-20, 15:28:34
I tried to setup atlas texture randomization in decals, but i found that UVW randomizer gives unexpected results if decal mode is used in conjunction with mesh element mode. The setup works with either of those modes alone.

Select any UVW randomizer map in the attached scene and turn on/off mesh element mode. Watch how result is breaking when both decal and mesh element modes are on. Don't mind the missing bolts - that is by design.

P.S. i'm not sure, but i think i did similar setup in the past and there were no issues with it, so it could be that the bug is pretty recent.

Title: Re: UVW randomization issue
Post by: Kris H on 2022-10-24, 14:27:57
I tried to setup atlas texture randomization in decals, but i found that UVW randomizer gives unexpected results if decal mode is used in conjunction with mesh element mode. The setup works with either of those modes alone.

Select any UVW randomizer map in the attached scene and turn on/off mesh element mode. Watch how result is breaking when both decal and mesh element modes are on. Don't mind the missing bolts - that is by design.

P.S. i'm not sure, but i think i did similar setup in the past and there were no issues with it, so it could be that the bug is pretty recent.

Hi Romullus,

I downloaded your scene and for some reason it renders differently than I can see on your pictures, and ticking/unticking the Mesh Element option doesn't do any difference. We tried ticking/unticking all the Randomize by options in CoronaEvwRandomizer, reloading the input picture, but we can't get same result like yours, even in earlier daily builds.
If the issue still persists could you please try and send us the scene again? Also, in which version of 3ds Max is this reproducible?

Thank you in advance,
Kris

(http://)
Title: Re: UVW randomization issue
Post by: romullus on 2022-10-24, 15:28:00
Hi Kris,

Hmm, that's strange, it looks like randomization doesn't work at all on your side. I will double check my scene sometime later - maybe i sent you the wrong one.

edit: i'm using 3ds Max 2023.2.2
Title: Re: UVW randomization issue
Post by: Frood on 2022-10-24, 18:07:36
Hi romullus,

U and V offsets in UVW randomizer have to be set to 0.2 in your attached scene (they are at 1.0), then disable Instance and activate Mesh Element -> displacement gone. Presumably because displacement points to an empty map area / randomizing wrongly. I guess it is this (long known) issue:

https://forum.corona-renderer.com/index.php?topic=36586.msg198696#msg198696


Good Luck



Title: Re: UVW randomization issue
Post by: romullus on 2022-10-24, 19:22:13
My mistake, initially i had tiling set in UVW randomizer, then later i moved it to bitmap and probably i forgot to save the file to its latest state. Anyway, i fixed the scene and now it should render properly, i.e. the issue should be present like in the screens.

I guess it is this (long known) issue:

https://forum.corona-renderer.com/index.php?topic=36586.msg198696#msg198696


Good Luck

Ah, i wasn't aware about randomization issues in mesh mode. It looks that in my case it's not only displacement channel that is randomized wrong though.
Title: Re: UVW randomization issue
Post by: maru on 2023-09-18, 16:56:45
Duplicate of https://forum.corona-renderer.com/index.php?topic=25627.0
Title: Re: UVW randomization issue
Post by: rowmanns on 2023-11-15, 20:31:46
Fixed in v11.

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

Rowan