Author Topic: Max Ray Depth somehow broken ?  (Read 1993 times)

2021-09-25, 18:11:46

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Hello :)

I've a problem with Ray Depth. FYI, I'm using Corona V7.1, with 3dsmax 2021.3.2.
My scene has a typical situation for ray depth I guess: in a nutshell, mirror in front of another mirror (see cropped rendering enclosed). And it doesn't matter how high I set Max Ray Depth, it seems rays are still cut to early, I shouldn't end with black, right ?

Thanks in advance for your help.

Regards.
Nicolas Caplat
CG supervisor / teacher / artist

2021-09-25, 23:21:40
Reply #1

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 476
    • View Profile
Hi,

Please try changing the secondary solver to 4k Cache and setting 4k Cache preset to animation and see if it fixes your issue. If the issue persists please upload your scene and share its file name. The uploader link is in my signature.

https://bit.ly/3CNzGQA

Regards,
Avi
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2021-09-26, 09:39:15
Reply #2

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Good morning Avi,

I will try later today, and see if it helps.

Thank you for your fast feedback :)
Nicolas Caplat
CG supervisor / teacher / artist

2021-09-27, 09:33:23
Reply #3

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Good morning,

I tried what you suggested, Avi, with no luck - still same result :(
File uploaded via DropBox.

Thanks in advance.
« Last Edit: 2021-09-27, 09:40:13 by NicolasC »
Nicolas Caplat
CG supervisor / teacher / artist

2021-09-27, 09:53:10
Reply #4

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 476
    • View Profile
Can you let me know the file name?

Regards,
Avi
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2021-09-27, 09:54:49
Reply #5

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Weird, I thought I did things correctly in the report page ... anyway, it's DRESSING_H-F_08.zip.
Sorry ;)
Nicolas Caplat
CG supervisor / teacher / artist

2021-09-27, 15:14:54
Reply #6

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 476
    • View Profile
Hi,

I had the look at your scene and it seems like your mirror material was wrong. Fixing your mirror material seems to fix your issue.

I am sharing the a screen recording of your scene privately via inbox to protect the privacy of your project.

I hope this solves your issue.

Regards,
Avi
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2021-09-27, 15:40:46
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8781
  • Let's move this topic, shall we?
    • View Profile
    • My Models
It would be nice to know what was wrong with mirror material, so to not make the same mistake for myself.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2021-09-27, 16:22:21
Reply #8

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Avi,

I was just about to write a message to thank you publicly here.
What Avi found ? switching to Corona Physical Material, with preset Perfect Mirror solved the problem ! thanks a lot for fixing so quickly my problem. However, I'd really like to know what was the problem with the Legacy material here. I mean, mirror material is probably one of the simplest one can set up, so ... did I do something wrong ? or is that sort of a limitation of the Legacy material somewhere ? or a bug ? or ? sorry, by nature, I hate not understanding something :)

Thanks again for your help !!
Nicolas Caplat
CG supervisor / teacher / artist

2021-09-27, 16:41:27
Reply #9

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 476
    • View Profile
Hi,

Here was the mistake -

Even if you are using legacy mtl

- Reflection color was not set to pure white
- Reflections were glossy.
- Ior was set to 10. You need to set it to 999 in legacy or just simply use the physicalmtl metal mode for more accurate results.

How I solved it?

I gave both mirrors exactly the same mirror material.
I changed Legacymtl to Corona physical mtl.
Use the pre-defined preset of the mirror to load accurate values for a surface to act as a mirror.

There is no such limitation or bugs regarding it, it was just a simple material error, that's it.

That's all.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2021-09-27, 16:45:46
Reply #10

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Here was the mistake -

Even if you are using legacy mtl

- Reflection color was not set to pure white
- Reflections were glossy.
- Ior was set to 10. You need to set it to 999 in legacy or just simply use the physicalmtl metal mode for more accurate results.


Oh ok, so not 1 mistake but 3 ! ouch !
Indeed I had to slightly tweak the material to match my client taste ... I'll try to switch as much as possible on Physical Material, but you know, habits can be sticky ;)

Thanks again.
Nicolas Caplat
CG supervisor / teacher / artist