User Tools

Site Tools


led_ui

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
led_ui [2021/12/05 13:33] – [Directional] hnegled_ui [2024/08/31 08:33] (current) – [Light Params] hneg
Line 15: Line 15:
   * **//Link ambient with color//**:\\ Tool specific feature, checking this box will make the Ambient sliders follow the Color sliders.   * **//Link ambient with color//**:\\ Tool specific feature, checking this box will make the Ambient sliders follow the Color sliders.
  
-  * **//Type//**:\\ Since game version 2.06 directional lights ("#lightreflector") are supported. With this you can select which type of light you want to create, **//point//** or **//directional//**.\\ Directional lights have their own settings in the [[todo|Directional]] leaf.+  * **//Type//**:\\ Since game version 2.06 directional lights ("#lightreflector") are supported. With this you can select which type of light you want to create, **//point//** or **//directional//**.\\ Directional lights have their own settings in the [[led_ui#directional|Directional]] leaf.
  
   * **//Intensity//**:\\ Light’s intensity, or brightness. The higher the value the brighter the light.   * **//Intensity//**:\\ Light’s intensity, or brightness. The higher the value the brighter the light.
  
   * **//Attenuation//**:\\ Light intensity drop-off over distance. Standard method of attenuation (1 / (constant + linear * dist + quadratic * dist * dist)). Start param means the distance (in meters) after which the attenuation starts to take effect (dist = distance – start). Unless you are familiar with whatever these calcs are based (and I am not) I’d say just see what happens when playing with the numbers.\\   * **//Attenuation//**:\\ Light intensity drop-off over distance. Standard method of attenuation (1 / (constant + linear * dist + quadratic * dist * dist)). Start param means the distance (in meters) after which the attenuation starts to take effect (dist = distance – start). Unless you are familiar with whatever these calcs are based (and I am not) I’d say just see what happens when playing with the numbers.\\
-    * **//Start//**: Distance from the light after which the light attenuation starts. In meters. +    * **//Start//**: Distance from the light after which the light attenuation starts. In meters.\\  Value can be unlimited, this parameter determines the range that the light source takes effect. Terrain environmental color will be bathed by ambient light color within the range and its covered objects will reflect the light color
-    * **//Constant//**: Constant attenuation coef (1 / (constant + linear * dist + quadratic * dist * dist)) +    * **//Constant//**: Constant attenuation coef (1 / (constant + linear * dist + quadratic * dist * dist))\\ This parameter determines the brightness proportion of the light source, higher the number is, less the brightness will be, vice versa. Any minus value passed will be treated as 0 (100% brightness). 
-    * **//Linear//**: Linear attenuation coef (1 / (constant + linear * dist + quadratic * dist * dist)) +    * **//Linear//**: Linear attenuation coef (1 / (constant + linear * dist + quadratic * dist * dist))\\ Effective range is from 0 ~ 100 (negative value will be treated as 0), this parameter determines the concentration of the light source, higher the number is, more will the light concentrate, vice versa. In other words, this parameter will turn the source into spotlight and sharpens its light circle border. 
-    * **//Quadratic//**: Quadratic attenuation coef (1 / (constant + linear * dist + quadratic * dist * dist))+    * **//Quadratic//**: Quadratic attenuation coef (1 / (constant + linear * dist + quadratic * dist * dist))\\  Value range unlimited, negative number will be treated as 0.\\ This parameter determines the range that the light source is visible and its visual presentation looks similar to linear. 0 means the maximum visible range. In further explanation, a less bright source can’t be seen out of the range on the land but still visible on the sea, and a bright enough source won’t be effected by the passed range which is still visible out of the range.
     * **//Hardlimit start//**: Optional, max distance hard limit start (start of fading of intensity to 0), in meters     * **//Hardlimit start//**: Optional, max distance hard limit start (start of fading of intensity to 0), in meters
     * **//Hardlimit end//**: Optional, max distance hard limit end (end of fading of intensity to 0) in meters     * **//Hardlimit end//**: Optional, max distance hard limit end (end of fading of intensity to 0) in meters
Line 45: Line 45:
  
 Since game version 2.06 it's possible to define directional lights. Since game version 2.06 it's possible to define directional lights.
-In the [[led_ui#led_params|Basic Params]] leaf you can select whether the light emitter type is point or directional. Selecting directional allows to to use this **//Directional Leaf//** to set the "light cone" parameters.+In the [[led_ui#light_params|Light Params]] leaf you can select whether the light emitter type is point or directional. Selecting directional allows to to use this **//Directional Leaf//** to set the "light cone" parameters.
  
 At the time of writing this there's not much information available about these yet. So this may contain erroneous info.. At the time of writing this there's not much information available about these yet. So this may contain erroneous info..
Line 67: Line 67:
     * "a3\data_f\VolumeLightFlashlight.p3d"     * "a3\data_f\VolumeLightFlashlight.p3d"
  
-  * **//Shape scale//**:\\ Size vector of the volumetric shape, not known if it's in meters or coef or what.\\ Note that when going too large with teh size you will start hitting some model edges or something because the cone texture will cut-off abruptly.\\ Datatype is array (of numbers): [x, y, z]+  * **//Shape scale//**:\\ Size vector of the volumetric shape, not known if it's in meters or coef or what.\\ Note that when going too large with the size you will start hitting some model edges or something because the cone texture will cut-off abruptly.\\ Datatype is array (of numbers): [x, y, z]
 ===== Save Preset ===== ===== Save Preset =====
 {{:013_led_savepre.png|}} {{:013_led_savepre.png|}}
Line 112: Line 112:
   * **//Clear//**:\\ Pressing this button will clear all data from the export fields.   * **//Clear//**:\\ Pressing this button will clear all data from the export fields.
  
-  * **//Export Sqf/Cfg//**:\\ Pressing this button will export the parameters shown in the "export data fields" into the .rpt file and into the clipboard for pasting into a separate script/text file. The parameters are pasted exactly as they’re shown on the fields. By default exports in sqf format, holding down ``CTRL`` while pressing this button will export in config format.+  * **//Export Sqf/Cfg//**:\\ Pressing this button will export the parameters shown in the "export data fields" onto the clipboard for pasting into a separate script/text file. The parameters are pasted exactly as they’re shown on the fields. By default exports in sqf format, holding down ``CTRL`` while pressing this button will export in config format.
  
   * **//Export current only checkbox//**:\\ If this is checked the export button will export only the parameters shown on the fields, if it is unchecked export will export parameters for //all light emitters in the scenario//.   * **//Export current only checkbox//**:\\ If this is checked the export button will export only the parameters shown on the fields, if it is unchecked export will export parameters for //all light emitters in the scenario//.
led_ui.1638711220.txt.gz · Last modified: by hneg