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:
authorCampbell Barton <ideasman42@gmail.com>2011-02-16 05:26:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-16 05:26:15 +0300
commitd890d19a9ee4771e057a475a98b7a11013c58133 (patch)
tree06afbc25074e368a323b9008001fd33268f82a54 /render_povray/__init__.py
parent1886b82f382dfb20c5ab4ac0e830d494b39bdcd5 (diff)
pep8 style warning corrections.
Diffstat (limited to 'render_povray/__init__.py')
-rw-r--r--render_povray/__init__.py50
1 files changed, 24 insertions, 26 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index cbd2b249..d5ff9afd 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -104,8 +104,7 @@ def register():
soft_max=1,
default=(0.001, 0.001, 0.001),
options={'ANIMATABLE'})
-
-
+
Scene.pov_baking_enable = BoolProperty(
name="Enable Baking",
description="Enable POV-Rays texture baking",
@@ -186,7 +185,7 @@ def register():
Scene.pov_photon_gather_max = IntProperty(
name="Gather Max", description="Maximum number of photons gathered for each point",
min=1, max=256, default=100)
-
+
Scene.pov_radio_adc_bailout = FloatProperty(
name="ADC Bailout", description="The adc_bailout for radiosity rays. Use adc_bailout = 0.01 / brightest_ambient_object for good results",
min=0.0, max=1000.0, soft_min=0.0, soft_max=1.0, default=0.01, precision=3)
@@ -282,7 +281,6 @@ def register():
description="This parameter varies the thickness.",
min=0.0, max=10.0, soft_min=0.000, soft_max=1.0, default=0)
-
Mat.pov_interior_fade_color = FloatVectorProperty(
name="Fade Color",
description="Color of filtered attenuation for transparent materials",
@@ -334,7 +332,7 @@ def register():
default="1") # ui.py has to be loaded before render.py with this.
###########################################################################
-
+
Tex = bpy.types.Texture
#Custom texture gamma
@@ -342,14 +340,14 @@ def register():
name="Enable custom texture gamma",
description="Notify some custom gamma for which texture has been precorrected without the file format carrying it and only if it differs from your OS expected standard (see pov doc)",
default=False)
-
+
Tex.pov_tex_gamma_value = FloatProperty(
name="Custom texture gamma",
description="value for which the file was issued e.g. a Raw photo is gamma 1.0",
min=0.45, max=5.00, soft_min=1.00, soft_max=2.50, default=1.00)
###########################################################################
-
+
Obj = bpy.types.Object
#Importance sampling
@@ -362,10 +360,10 @@ def register():
Obj.pov_collect_photons = BoolProperty(
name="Receive Photon Caustics",
description="Enable object to collect photons from other objects caustics. Turn off for objects that don't really need to receive caustics (e.g. objects that generate caustics often don't need to show any on themselves) ",
- default=True)
+ default=True)
###########################################################################
-
+
Cam = bpy.types.Camera
#DOF Toggle
@@ -395,7 +393,7 @@ def register():
name="Variance",
description="Minimum threshold (fractional value) for adaptive DOF sampling (up increases quality and render time). The value for the variance should be in the range of the smallest displayable color difference",
min=1, max=100000, soft_max=10000, default=256)
-
+
Cam.pov_dof_confidence = FloatProperty(
name="Confidence",
description="Probability to reach the real color value. Larger confidence values will lead to more samples, slower traces and better images.",
@@ -411,9 +409,9 @@ def unregister():
Scene = bpy.types.Scene
Mat = bpy.types.Material
- Tex = bpy.types.Texture
+ Tex = bpy.types.Texture
Obj = bpy.types.Object
- Cam = bpy.types.Camera
+ Cam = bpy.types.Camera
del Scene.pov_tempfiles_enable # CR
del Scene.pov_scene_name # CR
del Scene.pov_deletefiles_enable # CR
@@ -441,11 +439,11 @@ def unregister():
del Scene.pov_media_color # MR
del Scene.pov_baking_enable # MR
del Scene.pov_max_trace_level # MR
- del Scene.pov_photon_spacing # MR
- del Scene.pov_photon_max_trace_level # MR
- del Scene.pov_photon_adc_bailout # MR
- del Scene.pov_photon_gather_min # MR
- del Scene.pov_photon_gather_max # MR
+ del Scene.pov_photon_spacing # MR
+ del Scene.pov_photon_max_trace_level # MR
+ del Scene.pov_photon_adc_bailout # MR
+ del Scene.pov_photon_gather_min # MR
+ del Scene.pov_photon_gather_max # MR
del Scene.pov_antialias_enable # CR
del Scene.pov_antialias_method # CR
del Scene.pov_antialias_depth # CR
@@ -464,7 +462,7 @@ def unregister():
del Mat.pov_irid_amount # MR
del Mat.pov_irid_thickness # MR
del Mat.pov_irid_turbulence # MR
- del Mat.pov_interior_fade_color # MR
+ del Mat.pov_interior_fade_color # MR
del Mat.pov_caustics_enable # MR
del Mat.pov_fake_caustics # MR
del Mat.pov_fake_caustics_power # MR
@@ -475,13 +473,13 @@ def unregister():
del Tex.pov_tex_gamma_enable # MR
del Tex.pov_tex_gamma_value # MR
del Obj.pov_importance_value # MR
- del Obj.pov_collect_photons # MR
- del Cam.pov_dof_enable # MR
- del Cam.pov_dof_aperture # MR
- del Cam.pov_dof_samples_min # MR
- del Cam.pov_dof_samples_max # MR
- del Cam.pov_dof_variance # MR
- del Cam.pov_dof_confidence # MR
-
+ del Obj.pov_collect_photons # MR
+ del Cam.pov_dof_enable # MR
+ del Cam.pov_dof_aperture # MR
+ del Cam.pov_dof_samples_min # MR
+ del Cam.pov_dof_samples_max # MR
+ del Cam.pov_dof_variance # MR
+ del Cam.pov_dof_confidence # MR
+
if __name__ == "__main__":
register()