Blendluxcore Default

Use this forum for general user support and related questions.
Post Reply
User avatar
Sharlybg
Donor
Posts: 2362
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Blendluxcore Default

Post by Sharlybg » Mon Dec 09, 2019 10:16 am

Just wonder if there is a possibility to change blendluxcore default setting. There are some setting i have to repeatedly change everytime i'm working. especially for light and camera tonemapping.
default__value.jpg

Maybe there is a python file where i can just change default value once for ever ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

Martini
Posts: 62
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: Blendluxcore Default

Post by Martini » Mon Dec 09, 2019 12:04 pm

Camera uses tone mapping from properties/imagepipeline.py lines 45-49

Code: Select all

    use_autolinear: BoolProperty(name="Auto Brightness", default=True,
                                  description="Auto-detect the optimal image brightness")
    linear_scale: FloatProperty(name="Gain", default=0.5, min=0, soft_min=0.00001, soft_max=100,
                                 precision=5,
                                 description="Image brightness is multiplied with this value")
Lights use settings from properties/light.py line 97

Code: Select all

    gain: FloatProperty(name="Gain", default=1, min=0, precision=4, description="Brightness multiplier")
and properties/light.py lines 132-133

Code: Select all

    power: FloatProperty(name="Power", default=100, min=0, description=POWER_DESCRIPTION, unit='POWER')
    efficacy: FloatProperty(name="Efficacy (lm/W)", default=17, min=0, description=EFFICACY_DESCRIPTION)
i9 9900K @ 5000MHz | 2x Gigabyte AORUS RTX 2080 Ti Extreme Waterforce WB 11G @ 2010MHz
Z390 Aorus Pro | 32GB Kingston HyperX Predator RGB @ 4300MHz

chafouin
Posts: 108
Joined: Wed Jan 24, 2018 9:35 pm
Location: Los Angeles

Re: Blendluxcore Default

Post by chafouin » Mon Dec 09, 2019 12:05 pm

I have been talking to B.Y.O.B as I would like to have them changed as well.

About Light values:
https://github.com/LuxCoreRender/BlendL ... s/light.py
line 132 and 133
Not sure about 100W and Efficacy of 17lm/W as these values are as arbitrary as the current ones... If anything, I would rather use 10W and Efficacy 179lm/W. World default gain and Emissive nodes default gain would also have to use 179lm/W.

Isn't the Sun gain default to 1? This is correct to get proper illuminance brightness.

About Imagepipeline:
https://github.com/LuxCoreRender/BlendL ... ipeline.py
line 45 and 47.

EDIT: Martini beat me to it! :D

User avatar
Sharlybg
Donor
Posts: 2362
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Blendluxcore Default

Post by Sharlybg » Mon Dec 09, 2019 12:19 pm

Camera uses tone mapping from properties/imagepipeline.py lines 45-49
Wonderfull just going to try it :D
I have been talking to B.Y.O.B as I would like to have them changed as well.
we also want some change there. but Devs are a bit overloaded sometime :?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

chafouin
Posts: 108
Joined: Wed Jan 24, 2018 9:35 pm
Location: Los Angeles

Re: Blendluxcore Default

Post by chafouin » Mon Dec 09, 2019 12:23 pm

I just created a Pull Request for the Tonemap default values, hope this will save them a bit of time.

I still want to get more information about the assumed default Efficacy before doing any change in there (viewtopic.php?f=4&t=1601)

User avatar
Sharlybg
Donor
Posts: 2362
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Blendluxcore Default

Post by Sharlybg » Mon Dec 09, 2019 12:51 pm

oops !
Last edited by Sharlybg on Mon Dec 09, 2019 12:54 pm, edited 3 times in total.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

User avatar
Sharlybg
Donor
Posts: 2362
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Blendluxcore Default

Post by Sharlybg » Mon Dec 09, 2019 12:52 pm

So peacefull now.
Everything is set to work now a bit like Cycles. For thoses who want just copy/paste and replace theses python files in your folder :

\Blender\2.81\scripts\addons\BlendLuxCore-master\properties
properties.7z
(5.47 KiB) Downloaded 42 times
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

Post Reply