TwoSided material

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Posts: 4723
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade » Thu Sep 17, 2020 11:24 am

B.Y.O.B. wrote:
Thu Sep 17, 2020 9:55 am
The glossy material has a weird legacy behaviour, see https://github.com/LuxCoreRender/LuxCore/issues/301
Yes, it may be better to use Disney material.
Support LuxCoreRender project with salts and bounties

CEROE
Posts: 50
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE » Thu Sep 17, 2020 4:48 pm

Of course, the problem is that we lose translucency by using the Disney material.

Also, what is the technique for including the quotes in your responses?

CEROE
Posts: 50
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE » Thu Sep 17, 2020 5:05 pm

Also, what is the technique for including the quotes in your responses?
Probably like this.

User avatar
Dade
Developer
Posts: 4723
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade » Thu Sep 17, 2020 7:26 pm

CEROE wrote:
Thu Sep 17, 2020 4:48 pm
Of course, the problem is that we lose translucency by using the Disney material.
You could use generic material transparency. But where you using Glossy material or something like GlossyTranslucent ?
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 3801
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: TwoSided material

Post by B.Y.O.B. » Thu Sep 17, 2020 8:08 pm

Does the twosided material work with glossytranslucent?

CEROE
Posts: 50
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE » Thu Sep 17, 2020 9:07 pm

Glossy Translucent is the material I am testing. Mixing two Glossy Translucent materials with the Two Sided node.

Do you have an idea why the faces would switch when mirroring an object?

User avatar
Dade
Developer
Posts: 4723
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade » Thu Sep 17, 2020 11:13 pm

CEROE wrote:
Thu Sep 17, 2020 9:07 pm
Glossy Translucent is the material I am testing. Mixing two Glossy Translucent materials with the Two Sided node.
TwoSided + 2 x GlossyTranslucent = GlossyTranslucent

Both produce the same rendering because the asymmetric nature of GlossyTranslucent material (different behaviors if you are going into the object or getting out of the object) .

The simple solution could be to add a "flip option" to GlossyTranslucent.
Support LuxCoreRender project with salts and bounties

User avatar
Dade
Developer
Posts: 4723
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade » Thu Sep 17, 2020 11:15 pm

Dade wrote:
Thu Sep 17, 2020 11:13 pm
The simple solution could be to add a "flip option" to GlossyTranslucent.
I can probably extend the concept and have a "flip option" for all asymmetric Lux materials.
Support LuxCoreRender project with salts and bounties

CEROE
Posts: 50
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE » Sun Sep 20, 2020 5:38 pm

I can probably extend the concept and have a "flip option" for all asymmetric Lux materials.
Is there anything ready to test for this?

User avatar
Dade
Developer
Posts: 4723
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade » Sun Sep 20, 2020 9:00 pm

CEROE wrote:
Sun Sep 20, 2020 5:38 pm
I can probably extend the concept and have a "flip option" for all asymmetric Lux materials.
Is there anything ready to test for this?
I haven't yet written the code.
Support LuxCoreRender project with salts and bounties

Post Reply