Author Topic: UVW randomization issue  (Read 1849 times)

2022-10-20, 15:28:34

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.

I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2022-10-24, 14:27:57
Reply #1

Kris H

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 34
    • View Profile
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

Please read this before reporting bugs: How to report issues to us
Send me your scene

2022-10-24, 15:28:00
Reply #2

romullus

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

2022-10-24, 18:07:36
Reply #3

Frood

  • Active Users
  • **
  • Posts: 1920
    • View Profile
    • Rakete GmbH
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



Never underestimate the power of a well placed level one spell.

2022-10-24, 19:22:13
Reply #4

romullus

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

2023-09-18, 16:56:45
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12750
  • Marcin
    • View Profile

2023-11-15, 20:31:46
Reply #6

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile