Light properties
This topic has been viewed 3045 times and has 9 replies
- bdfd
- Posts: 2614
- Joined: Sat Mar 29, 2014 7:17 am
- Country: LILLE, Les Hauts de France, Western Europa
Light properties
Hi,
who knows the name of the property to fix the brightness of a light source in the properties file named 'pluginFurnitureCatalog.properties' ?
[:-/]
who knows the name of the property to fix the brightness of a light source in the properties file named 'pluginFurnitureCatalog.properties' ?
[:-/]
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
---
SH3D 7.1 and nothing else - W11 64b in 4K
Re: Light properties
The property is [font=courier new]lightSourceColor#...[/font], fully black matching no light, and white #FFFFFF matching a white light at full power.
See DefaultFurnitureCatalog.properties for examples.
See DefaultFurnitureCatalog.properties for examples.
Emmanuel Puybaret, Sweet Home 3D creator
- bdfd
- Posts: 2614
- Joined: Sat Mar 29, 2014 7:17 am
- Country: LILLE, Les Hauts de France, Western Europa
Re: Light properties
Thank your for your return.
My ask has been not understand perhaps by using bad words, I wanted to say the power of lightsource (0 to 100%) and not the color. [:D]
I want to change the default value (50%) to 5% (for example).
but… I didn't see this in given file.
[:)]
My ask has been not understand perhaps by using bad words, I wanted to say the power of lightsource (0 to 100%) and not the color. [:D]
I want to change the default value (50%) to 5% (for example).
but… I didn't see this in given file.
[:)]
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
---
SH3D 7.1 and nothing else - W11 64b in 4K
Re: Light properties
You can find all the properties in DefaultFurnitureCatalog.PropertyKey.html.
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.
ok
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.
ok
- bdfd
- Posts: 2614
- Joined: Sat Mar 29, 2014 7:17 am
- Country: LILLE, Les Hauts de France, Western Europa
Re: Light properties
Hi,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
Great !
Do you know how to update this data in a sh3f file ?
[:D]
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
---
SH3D 7.1 and nothing else - W11 64b in 4K
Re: Light properties
Use a zip utility to extract the [font=courier new]PluginFurnitureCatalog.properties[/font] file from a SH3F file and rezip it at the end, and a text editor to edit the [font=courier new]PluginFurnitureCatalog.properties[/font] file.
Emmanuel Puybaret, Sweet Home 3D creator
Re: Light properties
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:Do you know how to update this data in a sh3f file ?
a very bright white light would be:
Code: Select all
lightSourceColor#xxx=#FFFFFFCode: Select all
lightSourceColor#xxx=#BBBBBBCode: Select all
lightSourceColor#xxx=#222222- bdfd
- Posts: 2614
- Joined: Sat Mar 29, 2014 7:17 am
- Country: LILLE, Les Hauts de France, Western Europa
Re: Light properties
TY okh.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:Do you know how to update this data in a sh3f file ?
a very bright white light would be:a 'normal sh3d white' lightsource is (if I remember):Code: Select all
lightSourceColor#xxx=#FFFFFFa much less bright 'white' light would be:Code: Select all
lightSourceColor#xxx=#BBBBBBokCode: Select all
lightSourceColor#xxx=#222222
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
---
SH3D 7.1 and nothing else - W11 64b in 4K
Re: Light properties
@bdfd
This is possible in a derived version of SH3D by modifying line 53 of the HomeLight.java file.I want to change the default value (50%) to 5% (for example).
EnkoNyito
- bdfd
- Posts: 2614
- Joined: Sat Mar 29, 2014 7:17 am
- Country: LILLE, Les Hauts de France, Western Europa
Re: Light properties
TY enkonyito.@bdfdThis is possible in a derived version of SH3D by modifying line 53 of the HomeLight.java file.I want to change the default value (50%) to 5% (for example).
But I don't like this because it's "all or nothing"... [:D]
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
---
SH3D 7.1 and nothing else - W11 64b in 4K
Who is online
Users browsing this forum: No registered users and 1 guest