|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Sunlight simulation and variable light source » » » » Post: Re: Sunlight simulation and variable light source |
Print at Dec 18, 2025, 8:10:14 AM |
| Posted by Puybaret at Jul 14, 2018, 7:49:56 PM |
|
Re: Sunlight simulation and variable light source I'm not sure to understand what you want to change. If you want to change the power of the sun according to its position in the sky, you should just change how sunPower is computed in the render method of PhotoRenderer class. exportLightSources method is used to export the other light sources, but they are not supposed to vary, just maybe turned on and off. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 18, 2025, 8:10:14 AM |