Pearl material

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
josephmcs
Posts: 20
Joined: Mon Feb 01, 2021 7:02 am

Pearl material

Post by josephmcs » Tue Jun 01, 2021 8:09 pm

Hi,

Has anyone had success making pearlescent materials/pearls with Luxcorerender?

It seems like the engine would be very naturally suited to this considering the thin film interference feature.

However, I can't find much documentation.

I found this very old breakdown for Luxrender, but the interface/values have changed greatly since then.

https://www.loramel.net/2009/03/materia ... own-pearl/

Help and ideas are appreciated!

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

Re: Pearl material

Post by Dade » Tue Jun 01, 2021 9:13 pm

josephmcs wrote:
Tue Jun 01, 2021 8:09 pm
I found this very old breakdown for Luxrender, but the interface/values have changed greatly since then.
Actually, for what I can see, every single material and parameter motioned in the above link is still available.
Support LuxCoreRender project with salts and bounties

josephmcs
Posts: 20
Joined: Mon Feb 01, 2021 7:02 am

Re: Pearl material

Post by josephmcs » Wed Jun 02, 2021 2:04 am

Thanks. One thing that is confusing me is what the "exp" values are.

For example, the roughness on the glossy material in the old breakdown is set at "exp = 50" whereas in Luxcorerender the roughness is on a scale of 0-1.

Sorry if this is rudimentary and any help is much appreciated.

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

Re: Pearl material

Post by B.Y.O.B. » Wed Jun 02, 2021 8:43 am

See the section "Roughness" here for the conversion formula: https://wiki.luxcorerender.org/LuxCoreR ... sy_Coating

josephmcs
Posts: 20
Joined: Mon Feb 01, 2021 7:02 am

Re: Pearl material

Post by josephmcs » Wed Jun 02, 2021 4:28 pm

Thanks so much for your help.

For anybody interested, I converted the old values into a node tree setup. See attached w/ a sample render, too.

Any input is very welcome of course.
Attachments
Screen Shot 2021-06-02 at 11.44.17 AM.png
pearl test iii.png

kintuX
Posts: 669
Joined: Wed Jan 10, 2018 2:37 am

Re: Pearl material

Post by kintuX » Wed Jun 02, 2021 6:13 pm

Nice.

And a different go for pearlescent material.
Pearlelscent_LuxCore.jpg

josephmcs
Posts: 20
Joined: Mon Feb 01, 2021 7:02 am

Re: Pearl material

Post by josephmcs » Thu Jun 03, 2021 7:20 pm

Cool! Thank you.

I put the two of them side by side for a little test if anybody is curious. Mine is on left, yours on right. Nice to see the different approaches together. I think my version of yours could use some tweaking on the noise size, but I like it.
Attachments
pearl test double.png

kintuX
Posts: 669
Joined: Wed Jan 10, 2018 2:37 am

Re: Pearl material

Post by kintuX » Sun Jun 06, 2021 9:02 pm

True, depending on the size of geo, noise and volume must be tweaked.
For study I use MaterialX shaderball (.../resources/geometry/) @ 20cm in diameter.

Post Reply