Bug? No lightSourceMaterialName when Door or window

This topic has been viewed 5299 times and has 2 replies
Thread status: Active
Looking for a particular 3D model or texture? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Bug? No lightSourceMaterialName when Door or window

Post by Keet »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Bug? No lightSourceMaterialName when Door or window

Post by Puybaret »

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
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Bug? No lightSourceMaterialName when Door or window

Post by Keet »

If I read that right there's no chance of a fix without breaking backward compatibility?
Dodecagon.nl
1300+ 3D models, manuals, and projects
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests