Volume absorption definition

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
lighting_freak
Posts: 234
Joined: Thu Jan 18, 2018 6:02 pm

Volume absorption definition

Post by lighting_freak »

Hi all,

From measurements I know the exact transmission of some different coloured clear materials. Due to having this measurement with different thicknesses I'm able to calculate the absorption coefficient.

In old luxrender it was possible to transfer this absorption coefficient to the render engine with a text file.

Would it be possible to handle this in luxcore the same way?

BR
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Volume absorption definition

Post by Dade »

I assume, you can do the math: the transmittance is computed here https://github.com/LuxCoreRender/LuxCor ... ar.cpp#L66 according this math http://www.pbr-book.org/3ed-2018/Volume ... Absorption (the very last formula).
Support LuxCoreRender project with salts and bounties
Post Reply