Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Riccardo.3D on 2024-01-25, 10:31:53

Title: Object excluded by light
Post by: Riccardo.3D on 2024-01-25, 10:31:53
Hi.
I'm a new user of Corona Renderer (usually I use V-Ray) and I can't to exclude an object by light.
When I put an external view I use a plane but it's necessary that it excludes by light.
I try with tab "objects excluded" (like in V-Ray) but doesent't work.
Thanks to your help.
Title: Re: Object excluded by light
Post by: Tom on 2024-01-25, 12:07:51
Hi,

Do the following to exclude the teapot from being illuminated by the CoronaLight:

Title: Re: Object excluded by light
Post by: Riccardo.3D on 2024-01-25, 12:31:13
I tried so but it doesen't work
Title: Re: Object excluded by light
Post by: Avi on 2024-01-25, 13:04:49
Can you either share all the steps that you are taking or maybe you can do a screen recording and share with us so we can see what is going wrong?

By any chance, if you cannot share the scene or screen recording here in the forum then feel free to start a ticket with Corona Support: https://support.chaos.com/hc/en-us/requests/new
Title: Re: Object excluded by light
Post by: Riccardo.3D on 2024-01-25, 13:27:38
It's very simple: I create a plane in front of the light where then assign the material.
In the light modifier list I click on object excluded, I find the plane and move it to right whit exclude option active and click ok.
Same steps I do with V-Ray.
Title: Re: Object excluded by light
Post by: hurrycat on 2024-01-25, 13:41:52
I think what you mean is that you want to have a plane facing the camera acting as the surrounding view (for a window view for example)? And you want the Sun to pass through that?

If that's the case I think you need to disable cast shadows in the object's properties. Sadly i don't think there is a way for the sun disk to be visible through that, you'd have to mask out the sky using an opacity map. Also I find that Coronalight material is best for such cases (assign it to the plane).
Title: Re: Object excluded by light
Post by: Aram Avetisyan on 2024-01-26, 10:36:07
Let's clear a few things out.

In CoronaLight, you include or exclude objects for the illumination.
You specify which objects the light affects, nothing about the visibility of the light.

The light visibility is controlled separately, for specific ray types.
If you want to see the light source through an object (either affecting it or not), the material of the object should be set up accordingly.

There is no way of setting up an object to be invisible to another - this can be done only for specific view/camera.