TwoSided material

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

Re: TwoSided material

Post by Dade »

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: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

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: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

Also, what is the technique for including the quotes in your responses?
Probably like this.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

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
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: TwoSided material

Post by B.Y.O.B. »

Does the twosided material work with glossytranslucent?
CEROE
Posts: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

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
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

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
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

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: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

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
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

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