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>2017-02-01 00:30:40 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2017-02-01 00:30:40 +0300
commit45532d6b7d6e3055a11ad0909bb6ef0a21546cb5 (patch)
tree82c06bb0e75a164edd5fa3808b03359decf65d07 /render_povray/__init__.py
parent7faf5784ea3be9a16c65f7c3fba133e7fdf68616 (diff)
Global POV Properties added and GUI updated (photons; radiosity; encoding...)
Diffstat (limited to 'render_povray/__init__.py')
-rw-r--r--render_povray/__init__.py87
1 files changed, 85 insertions, 2 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 85c4e608..7b23f6c4 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -220,6 +220,80 @@ class RenderPovSettingsScene(PropertyGroup):
description="Number of reflections/refractions allowed on ray "
"path",
min=1, max=256, default=5)
+
+#######NEW from Lanuhum
+ adc_bailout_enable = BoolProperty(
+ name="Enable",
+ description="",
+ default=False)
+
+ adc_bailout = FloatProperty(
+ name="ADC Bailout",
+ description="",
+ min=0.0, max=1000.0,default=0.00392156862745, precision=3)
+
+ ambient_light_enable = BoolProperty(
+ name="Enable",
+ description="",
+ default=False)
+
+ ambient_light = FloatVectorProperty(
+ name="Ambient Light", description="Ambient light is used to simulate the effect of inter-diffuse reflection",
+ precision=4, step=0.01, min=0, soft_max=1,
+ default=(1, 1, 1), options={'ANIMATABLE'}, subtype='COLOR')
+
+ global_settings_advanced = BoolProperty(
+ name="Advanced",
+ description="",
+ default=False)
+
+ irid_wavelength_enable = BoolProperty(
+ name="Enable",
+ description="",
+ default=False)
+
+ irid_wavelength = FloatVectorProperty(
+ name="Irid Wavelength", description="Iridescence calculations depend upon the dominant wavelengths of the primary colors of red, green and blue light.",
+ precision=4, step=0.01, min=0, soft_max=1,
+ default=(0.25,0.18,0.14), options={'ANIMATABLE'}, subtype='COLOR')
+
+ charset = EnumProperty(
+ name="Charset",
+ description="This allows you to specify the assumed character set of all text strings.",
+ items=(("ascii", "ASCII", ""),
+ ("utf8", "UTF-8", ""),
+ ("sys", "SYS", "")),
+ default="utf8")
+
+ max_intersections_enable = BoolProperty(
+ name="Enable",
+ description="",
+ default=False)
+
+ max_intersections = IntProperty(
+ name="Max Intersections",
+ description="POV-Ray uses a set of internal stacks to collect ray/object intersection points.",
+ min=2, max=1024, default=64)
+
+ number_of_waves_enable = BoolProperty(
+ name="Enable",
+ description="",
+ default=False)
+
+ number_of_waves = IntProperty(
+ name="Number Waves",
+ description="The waves and ripples patterns are generated by summing a series of waves, each with a slightly different center and size.",
+ min=1, max=10, default=1000)
+
+ noise_generator_enable = BoolProperty(
+ name="Enable",
+ description="",
+ default=False)
+
+ noise_generator = IntProperty(
+ name="Noise Generator",
+ description="There are three noise generators implemented.",
+ min=1, max=3, default=2)
########################### PHOTONS #######################################
photon_enable = BoolProperty(
@@ -276,7 +350,7 @@ class RenderPovSettingsScene(PropertyGroup):
name="Always Sample",
description="Only use the data from the pretrace step and not gather "
"any new samples during the final radiosity pass",
- default=True)
+ default=False)
radio_brightness = FloatProperty(
name="Brightness",
@@ -308,17 +382,26 @@ class RenderPovSettingsScene(PropertyGroup):
"tolerance for less critical last refining pass",
min=0.000001, max=1.0, soft_min=0.000001, soft_max=1.0, default=0.5)
- # max_sample - not available yet
radio_media = BoolProperty(
name="Media", description="Radiosity estimation can be affected by media",
default=False)
+ radio_subsurface = BoolProperty(
+ name="Subsurface", description="Radiosity estimation can be affected by Subsurface Light Transport",
+ default=False)
+
radio_minimum_reuse = FloatProperty(
name="Minimum Reuse",
description="Fraction of the screen width which sets the minimum radius of reuse "
"for each sample point (At values higher than 2% expect errors)",
min=0.0, max=1.0, soft_min=0.1, soft_max=0.1, default=0.015, precision=3)
+ radio_maximum_reuse = FloatProperty(
+ name="Maximum Reuse",
+ description="The maximum reuse parameter works in conjunction with, and is similar to that of minimum reuse, "
+ "the only difference being that it is an upper bound rather than a lower one.",
+ min=0.0, max=1.0,default=0.2, precision=3)
+
radio_nearest_count = IntProperty(
name="Nearest Count",
description="Number of old ambient values blended together to "