Blendluxcore Default

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
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Blendluxcore Default

Post by Sharlybg »

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: 125
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: Blendluxcore Default

Post by Martini »

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)
AMD Ryzen Threadripper PRO 5995WX 64-Cores | 2x Gigabyte RTX 4090 Gaming OC
ASUS Pro WS WRX80E-SAGE SE WIFI | 256GB Kingston Server Premier ECC Unbuffered DDR4
chafouin
Posts: 120
Joined: Wed Jan 24, 2018 9:35 pm
Location: Los Angeles

Re: Blendluxcore Default

Post by chafouin »

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
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Blendluxcore Default

Post by Sharlybg »

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: 120
Joined: Wed Jan 24, 2018 9:35 pm
Location: Los Angeles

Re: Blendluxcore Default

Post by chafouin »

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
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Blendluxcore Default

Post by Sharlybg »

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
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Blendluxcore Default

Post by Sharlybg »

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 144 times
Support LuxCoreRender project with salts and bounties

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