Light falloff calculation functions?

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
richardbao
Posts: 17
Joined: Tue Mar 09, 2021 7:47 am

Light falloff calculation functions?

Post by richardbao »

good morning guys, i was wondering what's the light falloff function been used in luxcore?
i want to add something like a point light helper to help visualize a rough range where the light will reach in the 3d editing,so I need to fetch the relation of light intensity and distance to help draw a virtual sphere. did some search on google, notice that luxcore had an irradiance contour plugin but I guess only works after rendering(which does not suit my need since I need to visualize the range while working on the scene.)
digging into the sourcecode, I find it confusing for me to understand the math in it. could anyone help with providing a explain or simply a function so that I could get the light fall off range?
thanks in advance
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Light falloff calculation functions?

Post by B.Y.O.B. »

Post Reply