Front and back material transparency (aka light invisible object)

Discussion related to the LuxCore functionality, implementations and API.
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Front and back material transparency (aka light invisible object)

Post by marcatore »

Is it something that it needed to be implmented in the Blender Addon to try it?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Front and back material transparency (aka light invisible object)

Post by Dade »

marcatore wrote: Mon Mar 18, 2019 12:01 pm Is it something that it needed to be implmented in the Blender Addon to try it?
Yes, it has do add the support 2 node sockets instead of the current one (so you can plug in different front/back opacity).
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Front and back material transparency (aka light invisible object)

Post by B.Y.O.B. »

I have implemented support for this feature with a new node that can be found in the material category:
https://youtu.be/q3UqoVAYzvw
(this is already in v2.2alpha1)
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Front and back material transparency (aka light invisible object)

Post by marcatore »

It seems that this feature it's not compatible with "Direct Light Sampling Cache" light strategy.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Front and back material transparency (aka light invisible object)

Post by Dade »

marcatore wrote: Mon May 27, 2019 1:01 pm It seems that this feature it's not compatible with "Direct Light Sampling Cache" light strategy.
I have never tried, do you have test scene showing the problem ?
Support LuxCoreRender project with salts and bounties
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Front and back material transparency (aka light invisible object)

Post by lacilaci »

Dade wrote: Fri Mar 15, 2019 11:12 am I have ever rejected the idea of having light invisible objects because it wasn't possible to have a consistent and coherent implementation when tracing rays both backward and forward (i.e. BiDir, PhotonGI, etc.).
There are plenty inconsistencies between bidir and path tracing options already, even multiplied by using or not using gpu, or metropolis sampler, no shadow catcher or gpu rendering or photongi for bidir, etc etc... Then there are ton of suboptimal features like tiled rendering, weird non-working combinations like tiled renderin and metropolis and clamping and god knows what can be mixed up to break luxcore.

Inconsistencies are no reason why luxcore shouldn't have features that make it on par with other modern renderers.

If you have a complex or semi-complex project build for luxcore you cannot simply switch from pathtracing to bidir or vice versa without readjusting or even completely forgetting about certain features and options and getting a different look.

Pushing features aside cause bidir can't do them makes no sense, just as making super weird workarounds that have near no application in any kind of production.
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Front and back material transparency (aka light invisible object)

Post by marcatore »

Dade wrote: Mon May 27, 2019 2:00 pm I have never tried, do you have test scene showing the problem ?
Here we are.
FrontBack_DLSC.zip
(93.55 KiB) Downloaded 339 times
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Front and back material transparency (aka light invisible object)

Post by Dade »

marcatore wrote: Mon May 27, 2019 3:05 pm
Dade wrote: Mon May 27, 2019 2:00 pm I have never tried, do you have test scene showing the problem ?
Here we are.
FrontBack_DLSC.zip
I should have fixed this problem.
Support LuxCoreRender project with salts and bounties
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Front and back material transparency (aka light invisible object)

Post by marcatore »

Dade wrote: Tue May 28, 2019 9:23 am I should have fixed this problem.
Thank you.
I'll check it next build comes out
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Front and back material transparency (aka light invisible object)

Post by marcatore »

Fixed!
Post Reply