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>2019-05-29 22:39:58 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-05-29 22:39:58 +0300
commitf3352059b368d0cb8454318c8772767242cd648f (patch)
treee40f174ae3be5523366e118bf40709f66558a82b /presets
parent72d732341a4c0fd4a2c33a7edda6132d50453f23 (diff)
fixed world presets (Sky model) broken by 2.8 changes
Diffstat (limited to 'presets')
-rw-r--r--presets/pov/world/1_Clear_Blue_Sky.py8
-rw-r--r--presets/pov/world/2_Partly_Hazy_Sky.py8
-rw-r--r--presets/pov/world/3_Overcast_Sky.py8
-rw-r--r--presets/pov/world/4_Cartoony_Sky.py8
-rw-r--r--presets/pov/world/5_Under_Water.py8
5 files changed, 20 insertions, 20 deletions
diff --git a/presets/pov/world/1_Clear_Blue_Sky.py b/presets/pov/world/1_Clear_Blue_Sky.py
index 9928c0e7..54a18fd8 100644
--- a/presets/pov/world/1_Clear_Blue_Sky.py
+++ b/presets/pov/world/1_Clear_Blue_Sky.py
@@ -1,7 +1,7 @@
import bpy
scene = bpy.context.scene
-scene.world.use_sky_blend = True
+scene.world.pov.use_sky_blend = True
#below multiplied by two for a better proportion Clear vs Overcast sky
#since Clear sky is 19807 lux vs 2000 for overcast (sun is min 32000 max 100000)
#http://www.pssurvival.com/PS/Lighting/Typical_LUX_Intensities_for_Day_and_Night-2017.pdf
@@ -19,9 +19,9 @@ scene.world.use_sky_blend = True
#Ground color = rgb <0.996, 0.965, 0.855> = hsl <0.128, 0.141, 0.996>
#Ground Brightness = 0.996
-scene.world.horizon_color = (0.047, 0.034, 0.025) #24000 or 22000 lux roughly equals (sun+sky)/5
-scene.world.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
-scene.world.ambient_color = (0.0, 0.0, 0.0)
+scene.world.pov.horizon_color = (0.047, 0.034, 0.025) #24000 or 22000 lux roughly equals (sun+sky)/5
+scene.world.pov.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
+scene.world.pov.ambient_color = (0.0, 0.0, 0.0)
scene.world.mist_settings.use_mist = False
scene.world.mist_settings.intensity = 0.0
scene.world.mist_settings.depth = 25.0
diff --git a/presets/pov/world/2_Partly_Hazy_Sky.py b/presets/pov/world/2_Partly_Hazy_Sky.py
index 59c1182a..78562dc1 100644
--- a/presets/pov/world/2_Partly_Hazy_Sky.py
+++ b/presets/pov/world/2_Partly_Hazy_Sky.py
@@ -1,7 +1,7 @@
import bpy
scene = bpy.context.scene
-scene.world.use_sky_blend = True
+scene.world.pov.use_sky_blend = True
#below multiplied by two for a better proportion Clear vs Overcast sky
#since Clear sky is 19807 lux vs 2000 for overcast (sun is min 32000 max 100000)
#http://www.pssurvival.com/PS/Lighting/Typical_LUX_Intensities_for_Day_and_Night-2017.pdf
@@ -19,9 +19,9 @@ scene.world.use_sky_blend = True
#Ground color = rgb <0.996, 0.965, 0.855> = hsl <0.128, 0.141, 0.996>
#Ground Brightness = 0.996
-scene.world.horizon_color = (0.380, 0.262, 0.183) #24000 or 22000 lux roughly equals (sun+sky)/5 + urban light pollution
-scene.world.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
-scene.world.ambient_color = (0.0, 0.0, 0.0)
+scene.world.pov.horizon_color = (0.380, 0.262, 0.183) #24000 or 22000 lux roughly equals (sun+sky)/5 + urban light pollution
+scene.world.pov.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
+scene.world.pov.ambient_color = (0.0, 0.0, 0.0)
scene.world.mist_settings.use_mist = False
scene.world.mist_settings.intensity = 0.0
scene.world.mist_settings.depth = 25.0
diff --git a/presets/pov/world/3_Overcast_Sky.py b/presets/pov/world/3_Overcast_Sky.py
index 605f879d..fc6c99df 100644
--- a/presets/pov/world/3_Overcast_Sky.py
+++ b/presets/pov/world/3_Overcast_Sky.py
@@ -1,12 +1,12 @@
import bpy
scene = bpy.context.scene
-scene.world.use_sky_blend = True
-scene.world.horizon_color = (0.477, 0.536, 0.604)
+scene.world.pov.use_sky_blend = True
+scene.world.pov.horizon_color = (0.477, 0.536, 0.604)
#below divided by ten for a better proportion Clear vs Overcast sky
#since Clear sky is 20000 lux vs 2000 up to 10000 for overcast
-scene.world.zenith_color = (0.034, 0.043, 0.047)
-scene.world.ambient_color = (0.0, 0.0, 0.0)
+scene.world.pov.zenith_color = (0.034, 0.043, 0.047)
+scene.world.pov.ambient_color = (0.0, 0.0, 0.0)
scene.world.mist_settings.use_mist = False
scene.world.mist_settings.intensity = 0.0
scene.world.mist_settings.depth = 25.0
diff --git a/presets/pov/world/4_Cartoony_Sky.py b/presets/pov/world/4_Cartoony_Sky.py
index e3c552c0..f38a7b97 100644
--- a/presets/pov/world/4_Cartoony_Sky.py
+++ b/presets/pov/world/4_Cartoony_Sky.py
@@ -1,12 +1,12 @@
import bpy
scene = bpy.context.scene
-scene.world.use_sky_blend = True
+scene.world.pov.use_sky_blend = True
#below multiplied by two for a better proportion Clear vs Overcast sky
#since Clear sky is 20000 lux vs 2000 for overcast
-scene.world.horizon_color = (0.350*2, 0.611*2, 1.0*2)
-scene.world.zenith_color = (0.05000000074505806*2, 0.125*2, 0.5*2)
-scene.world.ambient_color = (0.0, 0.0, 0.0)
+scene.world.pov.horizon_color = (0.350*2, 0.611*2, 1.0*2)
+scene.world.pov.zenith_color = (0.05000000074505806*2, 0.125*2, 0.5*2)
+scene.world.pov.ambient_color = (0.0, 0.0, 0.0)
scene.world.mist_settings.use_mist = False
scene.world.mist_settings.intensity = 0.0
scene.world.mist_settings.depth = 25.0
diff --git a/presets/pov/world/5_Under_Water.py b/presets/pov/world/5_Under_Water.py
index e6659016..44b33a38 100644
--- a/presets/pov/world/5_Under_Water.py
+++ b/presets/pov/world/5_Under_Water.py
@@ -1,12 +1,12 @@
import bpy
scene = bpy.context.scene
-scene.world.use_sky_blend = True
+scene.world.pov.use_sky_blend = True
#below multiplied by two for a better proportion Clear vs Overcast sky
#since Clear sky is 20000 lux vs 2000 for overcast
-scene.world.horizon_color = (0.0, 0.0, 0.0)
-scene.world.zenith_color = (0.250980406999588, 0.6117647290229797, 1.0)
-scene.world.ambient_color = (0.0, 0.0, 0.0)
+scene.world.pov.horizon_color = (0.0, 0.0, 0.0)
+scene.world.pov.zenith_color = (0.250980406999588, 0.6117647290229797, 1.0)
+scene.world.pov.ambient_color = (0.0, 0.0, 0.0)
scene.world.mist_settings.use_mist = False
scene.world.mist_settings.intensity = 0.0
scene.world.mist_settings.depth = 25.0