France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
Re: Light properties
The property is lightSourceColor#..., fully black matching no light, and white #FFFFFF matching a white light at full power. See DefaultFurnitureCatalog.properties for examples.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
You will, as indicated by Puybaret, need to adjust RGB down in sync. The power is, however, saved in Home.xml, as that reflects the adjustment made by the user in the design.
Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status:
Offline
Re: Light properties
You can find all the properties in DefaultFurnitureCatalog.PropertyKey.html. ... The power is, however, saved in Home.xml, as that reflects the adjustment made by the user in the design. ok
Hi,
Great ! Do you know how to update this data in a sh3f file ?
----------------------------------------
Evil progresses when good people do nothing! --- SH3D 7.1 and nothing else - W11 64b in 4K
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
Re: Light properties
Use a zip utility to extract the PluginFurnitureCatalog.properties file from a SH3F file and rezip it at the end, and a text editor to edit the PluginFurnitureCatalog.properties file.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Light properties
Do you know how to update this data in a sh3f file ?
Sorry if I was unclear. There is no power setting in .sh3f/PluginFurnitureCatalog.properties (only in .sh3d/Home.xml). In .sh3f/PluginFurnitureCatalog.properties you can use the html (six digit hex) colour notation:
a very bright white light would be:
lightSourceColor#xxx=#FFFFFF
a 'normal sh3d white' lightsource is (if I remember):
Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status:
Offline
Re: Light properties
Do you know how to update this data in a sh3f file ?
Sorry if I was unclear. There is no power setting in .sh3f/PluginFurnitureCatalog.properties (only in .sh3d/Home.xml). In .sh3f/PluginFurnitureCatalog.properties you can use the html (six digit hex) colour notation:
a very bright white light would be:
lightSourceColor#xxx=#FFFFFF
a 'normal sh3d white' lightsource is (if I remember):
lightSourceColor#xxx=#BBBBBB
a much less bright 'white' light would be:
lightSourceColor#xxx=#222222
ok
TY okh.
Damned, a parameter only manually update.
Perhaps a adding to do in whislist section for next 5.8… .
----------------------------------------
Evil progresses when good people do nothing! --- SH3D 7.1 and nothing else - W11 64b in 4K
Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status:
Offline
Re: Light properties
@bdfd
I want to change the default value (50%) to 5% (for example).
This is possible in a derived version of SH3D by modifying line 53 of the HomeLight.java file.
TY enkonyito.
But I don't like this because it's "all or nothing"...
I explain : I want to update ONE object in a sh3f not all objects of same type in SH3D.
----------------------------------------
Evil progresses when good people do nothing! --- SH3D 7.1 and nothing else - W11 64b in 4K
----------------------------------------
[Edit 1 times,
last edit by Puybaret at Jun 6, 2018, 11:31:07 AM]