Sunlight simulation and variable light source
by enkonyito » Sat Jul 14, 2018 1:03 pm
Currently, the computation of the light source power is done only once (in the constructor of the
PhotoRenderer class then in the
exportLightSources method).
When a
sunlight simulation video is made, the apparent power of a light source varying with the position of the sun is not taken into account at each frame.
By moving the management of this computation into the
render method, this solves the problem but greatly increases the estimated rendering time. We go from less than 2 hours to more than 6 hours for a timelapse of 8 seconds.