Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: karnak on 2022-01-16, 18:38:27

Title: OSL, CoronaAO, mix different UVW channels
Post by: karnak on 2022-01-16, 18:38:27
Hi,
Corona version is 7 hotfix 1 and 3dsmax2021.

Text and images to reproduce:

1)   OSL: Checker with UVW set to Map Channel 1.
(https://drive.google.com/uc?id=1xZCY33NJSm6BKJpb-WrE28L01nPIbINM)

2)   OSL: Checker with UVW set to World.
(https://drive.google.com/uc?id=16gzwZCnwqq8KEP3m4YL2mwdoUKvcjvsh)

3)   OSL: Noise with UVW set to World.
(https://drive.google.com/uc?id=1h0IBE3rfqODkFuTwxHKeoi16TpJotpCe)

4)   Mix using a CoronaMix. Ok.
(https://drive.google.com/uc?id=1-AQkIJaeoNRXVldQlmwx1vZD_VumEFTD)

5)   Mix using a OSL: Mix (color). Ok.
(https://drive.google.com/uc?id=1Lxb5jvvBwzyRCMDXLAYipLbyMRPadxZw)

6)   CoronaAO set to Inside.
(https://drive.google.com/uc?id=1INkHfXjCfhQoQWqsNw9T5xHc4_Kb43iM)

7)   Using the OSL: Noise as AO distance. Ok.
(https://drive.google.com/uc?id=1F9iSTaVe52Drt_lGAKxNoH4sCG2gkCpk)

8)   Mix using a CoronaMix. Ok.
(https://drive.google.com/uc?id=1bBgCboqDYc6VbtAliM9Pu4hicShPVHfM)

9)   Mix using a OSL: Mix (color). Issue.
(https://drive.google.com/uc?id=1h8U3xwEWPVx40deNTzBL4XI-BKE5uzQV)

I think there is an issue with UVW coordinates.
Only CoronaMix seems to be able to correctly read UVW coordinates passing through CoronaAO.
Title: Re: OSL, CoronaAO, mix different UVW channels
Post by: Avi on 2023-02-20, 16:26:37
Hi,

I was able to reproduce the issue you described, but it doesn't appear to be an error specific to Corona. I was able to replicate the same behavior with V-Ray as well. It seems that this is an issue with 3ds Max itself. Please let me know if I have misunderstood your problem.
Title: Re: OSL, CoronaAO, mix different UVW channels
Post by: karnak on 2023-02-21, 20:55:37
Hi, thank you for taking the time to test it.
I only tried it with Corona, so I don't know if it's a 3dsMax issue.
Title: Re: OSL, CoronaAO, mix different UVW channels
Post by: Avi on 2023-02-22, 08:33:59
Sure, I understand.

If this issue is still bothering you, feel free to test it out on weekends and try using different rendering engines as well. If you think this might be a problem with Corona, please let me know about your testing, and maybe we can look into it together to find a solution.

In the meantime, happy rendering! :)