Print at Dec 19, 2025, 7:03:21 AM View all posts in this thread on one page
Posted by Keet at Nov 18, 2024, 12:19:41 PM
Bug? No lightSourceMaterialName when Door or window
I ran into an unexpected problem with a window where I wanted to assign the lightSourceMaterialName property to a part of a window. The problem is simple: you can't set the property in the Furniture Library Editor when the object is a Door or window.
I tried to cheat by manually adding the lightSourceMaterialName property in the library properties file but of course that didn't work.

I can't think of any logical reason why this shouldn't work for a window. For a staircase it does work. I tried it, the library property is available and there's a power property when you modify the staircase. A lighted side panel looks good in a render!

Is there a reason why this doesn't work for a window or is this a bug?
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects

Posted by Puybaret at Nov 18, 2024, 12:54:45 PM
Re: Bug? No lightSourceMaterialName when Door or window
Sorry, it’s probably a misconception from me. HomeLight and HomeDoorOrWindow classes are subclasses of HomePieceOfFurniture with no link between them, whereas light should have probably been a property of HomePieceOfFurniture.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Keet at Nov 18, 2024, 1:00:33 PM
Re: Bug? No lightSourceMaterialName when Door or window
If I read that right there's no chance of a fix without breaking backward compatibility?
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects