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: 30
Joined: Mon Feb 01, 2021 7:02 am

Pearl material

Post by josephmcs »

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

Re: Pearl material

Post by Dade »

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: 30
Joined: Mon Feb 01, 2021 7:02 am

Re: Pearl material

Post by josephmcs »

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

Re: Pearl material

Post by B.Y.O.B. »

See the section "Roughness" here for the conversion formula: https://wiki.luxcorerender.org/LuxCoreR ... sy_Coating
josephmcs
Posts: 30
Joined: Mon Feb 01, 2021 7:02 am

Re: Pearl material

Post by josephmcs »

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: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: Pearl material

Post by kintuX »

Nice.

And a different go for pearlescent material.
Pearlelscent_LuxCore.jpg
josephmcs
Posts: 30
Joined: Mon Feb 01, 2021 7:02 am

Re: Pearl material

Post by josephmcs »

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: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: Pearl material

Post by kintuX »

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