Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: John.McWaters on 2020-12-21, 23:48:02

Title: Issues when putting a UVW Randomizer upstread from a Triplanar map
Post by: John.McWaters on 2020-12-21, 23:48:02
Earlier, I was having some scaling issues when I put a UVW randomizer upstream from a Tri-planar map (I was using a real-world size for my map). I had the UVW randomizer set to randomize tiling. The issue was gone when I swapped the UVW to be downstream from the tri-planar map. Is this is known requirement for the UVW Randomizer?
Title: Re: Issues when putting a UVW Randomizer upstread from a Triplanar map
Post by: maru on 2020-12-22, 12:20:25
Could you post some screenshots from the material editor and the results you are getting? That would be super helpful. :)
Title: Re: Issues when putting a UVW Randomizer upstread from a Triplanar map
Post by: John.McWaters on 2021-01-04, 16:14:54
Could you post some screenshots from the material editor and the results you are getting? That would be super helpful. :)

Yes,

I've uploaded two images. The first is with the UVW Randomizer placed after the Corona Triplanar component (on each map, diffuse, reflection, bump, and displacement). The second is with the UVW Randomizer placed before the Triplanar component. As you can see in the second image, having the UVW Randomizer before the triplanar results in a spotty appearance.

All of the setting in each of the UVW randomizer and triplanar components are the same. The randomizer is set to a range of 0 to 1 on U and V, and W is set to 0 to 360. The scale of the triplanar component is set to 1" which is the default unit of this particular 3dsmax file.
Title: Re: Issues when putting a UVW Randomizer upstread from a Triplanar map
Post by: maru on 2021-01-11, 17:52:43
Reproduced and confirmed. I am pretty sure this is expected, because the UVW Randomizer operates on the UVWs and the Triplanar map ignores the UVWs completely, but maybe we can improve it. What would be the expected result here? Both cases should produce the same result?

1) Bitmap > UVW Randomizer > Triplanar > Material
2) Bitmap > Triplanar > UVW Randomizer > Material
Title: Re: Issues when putting a UVW Randomizer upstread from a Triplanar map
Post by: John.McWaters on 2021-01-11, 18:39:40
Reproduced and confirmed. I am pretty sure this is expected, because the UVW Randomizer operates on the UVWs and the Triplanar map ignores the UVWs completely, but maybe we can improve it. What would be the expected result here? Both cases should produce the same result?

1) Bitmap > UVW Randomizer > Triplanar > Material
2) Bitmap > Triplanar > UVW Randomizer > Material

Hi Maru,

Thank you for looking into this. I could be wrong, but I believe in Corona Render 5, it didn't matter the order you put them in.
Title: Re: Issues when putting a UVW Randomizer upstread from a Triplanar map
Post by: maru on 2021-01-12, 10:42:24
I am getting identical results in V5 and V6 (with some minor difference where the texture is offset a bit):
https://corona-renderer.com/comparer/hSXSN2
https://corona-renderer.com/comparer/TufrkH
Title: Re: Issues when putting a UVW Randomizer upstread from a Triplanar map
Post by: rowmanns on 2021-01-14, 10:01:32
Hi,

I can confirm what Maru described. This behaved the same in V5. I have however created a report to see if this can be improved somehow.

Cheers,

Rowan.

(Report ID=CRMAX-184)