diff options
author | Maurice Raybaud <mauriceraybaud@hotmail.fr> | 2011-05-10 21:48:00 +0400 |
---|---|---|
committer | Maurice Raybaud <mauriceraybaud@hotmail.fr> | 2011-05-10 21:48:00 +0400 |
commit | 298e81cc75faf7b3002140e31db8b6cca7d599fc (patch) | |
tree | b1a041f1ba088dfcaf87c33b1eea7e4d0df5ee38 /render_povray/__init__.py | |
parent | a53fabc21f8c40bd01180c82a97ff9bca1738ebd (diff) |
Added spacing_multiplier to object photons block so per object photon count tuning is now possible (see tooltip)
Diffstat (limited to 'render_povray/__init__.py')
-rw-r--r-- | render_povray/__init__.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py index 792d5b25..3c3848d3 100644 --- a/render_povray/__init__.py +++ b/render_povray/__init__.py @@ -353,12 +353,16 @@ class RenderPovSettingsMaterial(bpy.types.PropertyGroup): default=False) photons_dispersion = FloatProperty( - name="chromatic dispersion", + name="Chromatic Dispersion", description="Light passing through will be separated according to wavelength. " \ "This ratio of refractive indices for violet to red controls how much " \ "the colors are spread out 1 = no dispersion, good values are 1.01 to 1.1", min=1.0000, max=10.000, soft_min=1.0000, soft_max=1.1000, precision=4, default=1.0000) + photons_dispersion_samples = IntProperty( + name="Dispersion Samples", description="Number of color-steps for dispersion", + min=2, max=128, default=7) + photons_reflection = BoolProperty( name="Reflective Photon Caustics", description="Use this to make your Sauron's ring ;-P", @@ -426,6 +430,14 @@ class RenderPovSettingsObject(bpy.types.PropertyGroup): " that generate caustics often don't need to show any on themselves).", default=True) + #Photons spacing_multiplier + spacing_multiplier = FloatProperty( + name="Photons Spacing Multiplier", + description="Multiplier value relative to global spacing of photons. " \ + "Decrease by half to get 4x more photons at surface of " \ + "this object (or 8x media photons than specified in the globals", + min=0.01, max=1.00, default=1.00) + ##################################CustomPOV Code############################ #Only DUMMIES below for now: replacement_text = StringProperty( |