Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Raybaud <mauriceraybaud@hotmail.fr>2021-05-26 02:34:50 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2021-05-26 02:34:50 +0300
commitfad5186bb6880aadbb0cd9d983035c7890801aa7 (patch)
tree60e57ddcefbf423cde567e296e9128ace77e6ed3 /presets
parent051d4f7d5951924015d7c2e6bddeb28fac229f1c (diff)
Formatting and fixes
* Moved: some existing functions into new separate files to improve code readability (detailed in __init__.py docstring) * Remove: max_intersections deprecated in pov 3.8 * Add: Validate utf-8 characters with specific API function at session's first script init * Add : Icons to some text fields and inviting labels * Change default camera normal perturbation value to non zero since its use is first driven by a boolean toggle * Change: lists (vectors and indices) are now exported in one line by default for better manual scene overview and debugging * Change: a couple of tooltips corrections * Change : renamed many variables and functions to snake_case according to recommanded style guides * Fix : Heightfield primitive (forward slashes were expected for displacement texture path) * Fix : Text nippet insertion operator * Fix : added console print tip to check executable path on failure to process * Fix : tweaked finished render say command for Linux * Fix : interface of some shader nodes broken since 2.8 api changes * Fix : export hair particles
Diffstat (limited to 'presets')
-rwxr-xr-x[-rw-r--r--]presets/pov/light/02_(5400K)_High_Noon_Sun.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/03_(6000K)_Daylight_Window.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/09_(5000K)_75W_Full_Spectrum_Fluorescent_T12.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/10_(4300K)_40W_Vintage_Fluorescent_T12.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/11_(5000K)_18W_Standard_Fluorescent_T8.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/12_(4200K)_18W_Cool_White_Fluorescent_T8.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/13_(3000K)_18W_Warm_Fluorescent_T8.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/14_(6500K)_54W_Grow_Light_Fluorescent_T5-HO.py4
-rwxr-xr-x[-rw-r--r--]presets/pov/light/21_(2700K)_7W_OLED_Panel.py4
9 files changed, 18 insertions, 18 deletions
diff --git a/presets/pov/light/02_(5400K)_High_Noon_Sun.py b/presets/pov/light/02_(5400K)_High_Noon_Sun.py
index 47499b52..7b5b9e2e 100644..100755
--- a/presets/pov/light/02_(5400K)_High_Noon_Sun.py
+++ b/presets/pov/light/02_(5400K)_High_Noon_Sun.py
@@ -9,8 +9,8 @@ lampdata = bpy.context.object.data
lampdata.shape = 'SQUARE'
lampdata.size = 30000000#0.02
#lampdata.size_y = 0.02
-lampdata.shadow_ray_samples_x = 2
-#lampdata.shadow_ray_samples_y = 3
+lampdata.pov.shadow_ray_samples_x = 2
+#lampdata.pov.shadow_ray_samples_y = 3
lampdata.color = (1.0, 1.0, 1.0)
lampdata.energy = 1.094316#91193 #lux
lampdata.distance =695699968
diff --git a/presets/pov/light/03_(6000K)_Daylight_Window.py b/presets/pov/light/03_(6000K)_Daylight_Window.py
index a9781f57..eae7cd16 100644..100755
--- a/presets/pov/light/03_(6000K)_Daylight_Window.py
+++ b/presets/pov/light/03_(6000K)_Daylight_Window.py
@@ -6,8 +6,8 @@ lampdata = bpy.context.object.data
lampdata.size = 1.2
lampdata.size_y = 2.10
-lampdata.shadow_ray_samples_x = 2
-lampdata.shadow_ray_samples_y = 3
+lampdata.pov.shadow_ray_samples_x = 2
+lampdata.pov.shadow_ray_samples_y = 3
lampdata.color = (1.0, 1.0, 1.0)
lampdata.energy = 1.094316#91193 #lux
lampdata.distance = 1.0
diff --git a/presets/pov/light/09_(5000K)_75W_Full_Spectrum_Fluorescent_T12.py b/presets/pov/light/09_(5000K)_75W_Full_Spectrum_Fluorescent_T12.py
index 78fa29cb..6d09b96f 100644..100755
--- a/presets/pov/light/09_(5000K)_75W_Full_Spectrum_Fluorescent_T12.py
+++ b/presets/pov/light/09_(5000K)_75W_Full_Spectrum_Fluorescent_T12.py
@@ -6,8 +6,8 @@ lampdata = bpy.context.object.data
lampdata.size = 0.038
lampdata.size_y = 2.40284
-lampdata.shadow_ray_samples_x = 1
-lampdata.shadow_ray_samples_y = 2
+lampdata.pov.shadow_ray_samples_x = 1
+lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (1.0, 0.95686274766922, 0.9490200281143188)
lampdata.energy = 4.45304#4775lm/21.446(=lux)*0.004(distance) *2 for distance is the point of half strength 6200lm?
lampdata.distance = 1.0 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
diff --git a/presets/pov/light/10_(4300K)_40W_Vintage_Fluorescent_T12.py b/presets/pov/light/10_(4300K)_40W_Vintage_Fluorescent_T12.py
index dc78bc5c..5a5a7eb9 100644..100755
--- a/presets/pov/light/10_(4300K)_40W_Vintage_Fluorescent_T12.py
+++ b/presets/pov/light/10_(4300K)_40W_Vintage_Fluorescent_T12.py
@@ -6,8 +6,8 @@ lampdata = bpy.context.object.data
lampdata.size = 0.038
lampdata.size_y = 1.2192
-lampdata.shadow_ray_samples_x = 1
-lampdata.shadow_ray_samples_y = 2
+lampdata.pov.shadow_ray_samples_x = 1
+lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (0.901, 1.0, 0.979)
lampdata.energy = 2.14492#2300lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 1.0 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
diff --git a/presets/pov/light/11_(5000K)_18W_Standard_Fluorescent_T8.py b/presets/pov/light/11_(5000K)_18W_Standard_Fluorescent_T8.py
index a70cda3f..5f7ce0a6 100644..100755
--- a/presets/pov/light/11_(5000K)_18W_Standard_Fluorescent_T8.py
+++ b/presets/pov/light/11_(5000K)_18W_Standard_Fluorescent_T8.py
@@ -6,8 +6,8 @@ lampdata = bpy.context.object.data
lampdata.size = 0.026
lampdata.size_y = 0.59
-lampdata.shadow_ray_samples_x = 1
-lampdata.shadow_ray_samples_y = 2
+lampdata.pov.shadow_ray_samples_x = 1
+lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (0.95686274766922, 1.0, 0.9803921580314636)
lampdata.energy = 1.25898#1350lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 1.0 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
diff --git a/presets/pov/light/12_(4200K)_18W_Cool_White_Fluorescent_T8.py b/presets/pov/light/12_(4200K)_18W_Cool_White_Fluorescent_T8.py
index c2a0d65d..0bbf1965 100644..100755
--- a/presets/pov/light/12_(4200K)_18W_Cool_White_Fluorescent_T8.py
+++ b/presets/pov/light/12_(4200K)_18W_Cool_White_Fluorescent_T8.py
@@ -7,8 +7,8 @@ lampdata = bpy.context.object.data
lampdata.size = 0.026
lampdata.size_y = 0.59
-lampdata.shadow_ray_samples_x = 1
-lampdata.shadow_ray_samples_y = 2
+lampdata.pov.shadow_ray_samples_x = 1
+lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (0.8313725590705872, 0.9215686321258545, 1.0)
lampdata.energy = 1.25898#1350lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 1.0 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
diff --git a/presets/pov/light/13_(3000K)_18W_Warm_Fluorescent_T8.py b/presets/pov/light/13_(3000K)_18W_Warm_Fluorescent_T8.py
index e1cee557..187b26d3 100644..100755
--- a/presets/pov/light/13_(3000K)_18W_Warm_Fluorescent_T8.py
+++ b/presets/pov/light/13_(3000K)_18W_Warm_Fluorescent_T8.py
@@ -7,8 +7,8 @@ lampdata = bpy.context.object.data
lampdata.size = 0.026
lampdata.size_y = 0.59
-lampdata.shadow_ray_samples_x = 1
-lampdata.shadow_ray_samples_y = 2
+lampdata.pov.shadow_ray_samples_x = 1
+lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (1.0, 0.95686274766922, 0.8980392217636108)
lampdata.energy = 1.25898#1350lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 1.0 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
diff --git a/presets/pov/light/14_(6500K)_54W_Grow_Light_Fluorescent_T5-HO.py b/presets/pov/light/14_(6500K)_54W_Grow_Light_Fluorescent_T5-HO.py
index 55f84ab8..c0b992ca 100644..100755
--- a/presets/pov/light/14_(6500K)_54W_Grow_Light_Fluorescent_T5-HO.py
+++ b/presets/pov/light/14_(6500K)_54W_Grow_Light_Fluorescent_T5-HO.py
@@ -6,8 +6,8 @@ lampdata = bpy.context.object.data
lampdata.size = 0.016
lampdata.size_y = 1.149
-lampdata.shadow_ray_samples_x = 1
-lampdata.shadow_ray_samples_y = 2
+lampdata.pov.shadow_ray_samples_x = 1
+lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (1.0, 0.83, 0.986274528503418)
lampdata.energy = 4.66287 #0.93257#4.66287#5000lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 0.1 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
diff --git a/presets/pov/light/21_(2700K)_7W_OLED_Panel.py b/presets/pov/light/21_(2700K)_7W_OLED_Panel.py
index 8f2ebb8f..8a6ba8d9 100644..100755
--- a/presets/pov/light/21_(2700K)_7W_OLED_Panel.py
+++ b/presets/pov/light/21_(2700K)_7W_OLED_Panel.py
@@ -7,8 +7,8 @@ lampdata = bpy.context.object.data
lampdata.size = 0.033
lampdata.size_y = 0.133
-lampdata.shadow_ray_samples_x = 2
-lampdata.shadow_ray_samples_y = 2
+lampdata.pov.shadow_ray_samples_x = 2
+lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (1.0, 0.8292156958580017, 0.6966666865348816)
lampdata.energy = 0.83932#900lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 1.18 #dist values multiplied by 10 for area lights for same power as bulb/spot/...