Author Topic: Object excluded by light  (Read 619 times)

2024-01-25, 10:31:53

Riccardo.3D

  • Active Users
  • **
  • Posts: 9
    • View Profile
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.

2024-01-25, 12:07:51
Reply #1

Tom

  • Active Users
  • **
  • Posts: 236
    • View Profile
    • www
Hi,

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


2024-01-25, 12:31:13
Reply #2

Riccardo.3D

  • Active Users
  • **
  • Posts: 9
    • View Profile
I tried so but it doesen't work

2024-01-25, 13:04:49
Reply #3

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 507
    • View Profile
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
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2024-01-25, 13:27:38
Reply #4

Riccardo.3D

  • Active Users
  • **
  • Posts: 9
    • View Profile
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.

2024-01-25, 13:41:52
Reply #5

hurrycat

  • Active Users
  • **
  • Posts: 111
    • View Profile
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).

2024-01-26, 10:36:07
Reply #6

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 561
    • View Profile
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.
« Last Edit: 2024-01-29, 13:21:55 by Aram Avetisyan »
Aram Avetisyan | chaos-corona.com
Chaos Corona Support Representative | contact us