WIP - melMass

Post your tests, experiments and unfinished renderings here.
User avatar
melMass
Posts: 13
Joined: Wed Apr 01, 2020 9:26 pm

WIP - melMass

Post by melMass »

Hi all,

I recently started using LuxCore and I love it.
In this thread, I will be posting WIP images while discovering Lux.

Car Paint
The settings of the CarPaint shader are still quite obscure to me so in the next few days I'm planning to do a lot of cars renders that I'll post here.

Pink Golf II
Image

And the shader in case someone realizes I'm doing something stupid :lol:
Image
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: WIP - melMass

Post by Dade »

melMass wrote: Mon Apr 06, 2020 10:38 am The settings of the CarPaint shader are still quite obscure
It is mostly a 3 layers material where you can set the properties of each layer.
Support LuxCoreRender project with salts and bounties
User avatar
melMass
Posts: 13
Joined: Wed Apr 01, 2020 9:26 pm

Re: WIP - melMass

Post by melMass »

Oh, I missed that point thanks!

So are they stacked in a specific order? 3 is the "most out" layer?

I'm I right to assume that I can isolate each of them by setting the others to black then?

EDIT: also the presets do not seem to work on my end (Mac OSX Mojave in Blender 2.81)
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: WIP - melMass

Post by Dade »

melMass wrote: Mon Apr 06, 2020 9:47 pm So are they stacked in a specific order? 3 is the "most out" layer?

I'm I right to assume that I can isolate each of them by setting the others to black then?
Yes, if you check the code (https://github.com/LuxCoreRender/LuxCor ... nt.cpp#L71) you will see the 3 layers are summed and setting the specular value to black will disable a layer.
melMass wrote: Mon Apr 06, 2020 9:47 pm EDIT: also the presets do not seem to work on my end (Mac OSX Mojave in Blender 2.81)
They should, what version are you using ?
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: WIP - melMass

Post by Sharlybg »

Sorry for pointing that out but there is a mess here about carpaint :

viewtopic.php?f=4&t=2004
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: WIP - melMass

Post by kintuX »

From the looks, make sure you don't have image overexposed.
User avatar
melMass
Posts: 13
Joined: Wed Apr 01, 2020 9:26 pm

Re: WIP - melMass

Post by melMass »

Thanks Dave!
The preset issue might be related to Sharlybg's thread, I'll check it further.
kintuX wrote: Mon Apr 06, 2020 10:31 pm From the looks, make sure you don't have image overexposed.
Definitely, I'm not sure of the reason or the way to have the same global light without overexposing, if I expose it right it's very dark, I'm using ACES which might not be fully compatible with LuxCore...
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: WIP - melMass

Post by lacilaci »

I would rather maybe try mixing 2 disney materials and try to construct your carpaint that way rather than this dedicated shader... Doesn't seem too useful to me
User avatar
melMass
Posts: 13
Joined: Wed Apr 01, 2020 9:26 pm

Re: WIP - melMass

Post by melMass »

lacilaci wrote: Tue Apr 07, 2020 7:27 am I would rather maybe try mixing 2 Disney materials and try to construct your car paint that way rather than this dedicated shader... Doesn't seem too useful to me
Thanks for the advice I had not tried the Disney shader yet! It does have all the components I need.
About my overexposing issue, I realize that the shader's components of the car paint are summed not averaged.

Does that mean that all the R's summed should equal 1?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: WIP - melMass

Post by Dade »

melMass wrote: Tue Apr 07, 2020 1:33 pm Does that mean that all the R's summed should equal 1?
It is probably even worse because there is 1 diffuse layer and 3 glossy layers so you have to balance all of them (including the diffuse layer). If you check the Glossy2 material code, you will see it has automatic energy conservation between diffuse and glossy layer. Carpaint is missing it.

Carpaint has its root in something written more than 10 years ago, I assume it was originally intended to be used with the with one of the pre-computed presets: https://github.com/LuxCoreRender/LuxCor ... t.cpp#L463
Support LuxCoreRender project with salts and bounties
Post Reply