Page 2 of 5

Re: TwoSided material

Posted: Thu Sep 17, 2020 11:24 am
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.

Re: TwoSided material

Posted: Thu Sep 17, 2020 4:48 pm
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?

Re: TwoSided material

Posted: Thu Sep 17, 2020 5:05 pm
by CEROE
Also, what is the technique for including the quotes in your responses?
Probably like this.

Re: TwoSided material

Posted: Thu Sep 17, 2020 7:26 pm
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 ?

Re: TwoSided material

Posted: Thu Sep 17, 2020 8:08 pm
by B.Y.O.B.
Does the twosided material work with glossytranslucent?

Re: TwoSided material

Posted: Thu Sep 17, 2020 9:07 pm
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?

Re: TwoSided material

Posted: Thu Sep 17, 2020 11:13 pm
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.

Re: TwoSided material

Posted: Thu Sep 17, 2020 11:15 pm
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.

Re: TwoSided material

Posted: Sun Sep 20, 2020 5:38 pm
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?

Re: TwoSided material

Posted: Sun Sep 20, 2020 9:00 pm
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.