Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LuxCore technical problem, Light cannot pass through Area #911

Open
wizard3376 opened this issue Mar 21, 2024 · 1 comment
Open

LuxCore technical problem, Light cannot pass through Area #911

wizard3376 opened this issue Mar 21, 2024 · 1 comment

Comments

@wizard3376
Copy link

The problem with (Area) in the first image you can see that the laser does not pass through completely, but only halfway, this is due to the fact that ((Area) the red light source) is blocking the laser from passing through, and also (Area) is blocking all light sources, this can be seen in visualization 2, there is no red sun. This is not true. Correct when the light source (Area) transmits light. For example, in visualization 3 there is a sun and in visualization 4
nothing interferes with the laser

1
Снимок экрана (595)

2
Снимок экрана (587)

3
Снимок экрана (599)

4
Снимок экрана (596)

.blend file: https://drive.google.com/drive/folders/1_93Rijk5PHeUSHwM_WNjHTceJRrf76U0?usp=sharing
I have prepared the scene for you, here you can clearly see this problem, the red folders indicate the problem with the light, the green folders show how it should work (Area)

OS: Windows 10
Blender version: 4.0.2
LuxCore version: 2.8 alpha1

@CodeFHD
Copy link
Member

CodeFHD commented Jan 6, 2025

Findings from an analysis today:

It doesn't appear to be a bug, though it is not clear to me either to which degree this was explicitly intended/accepted behaviour.

Under the hood, the area light is a mesh with black matte material and emission node.
The visibility setting only toggles the "transparency.shadow" property. not "transparency.front" and "transparency.back". The latter two are what happens what a materials "opacity" does.

Some discussion on this topic can be found in an older forum thread, though with different examples:
https://forums.luxcorerender.org/viewtopic.php?t=2310&hilit=area+visibility

I suggest to give this further consideration before any changes are made.

  • Simply changing the are light transparency export would break older scenes with similar setups.
  • It might be possible to offer mutiple "visibility settings" or expose opacity separately for the area light.
  • It might be possible to use a non-intersectable triangle-light from the Core features instead of a mesh with emission (again as a new and separate option)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants