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>2011-05-10 21:48:00 +0400
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2011-05-10 21:48:00 +0400
commit298e81cc75faf7b3002140e31db8b6cca7d599fc (patch)
treeb1a041f1ba088dfcaf87c33b1eea7e4d0df5ee38 /render_povray/ui.py
parenta53fabc21f8c40bd01180c82a97ff9bca1738ebd (diff)
Added spacing_multiplier to object photons block so per object photon count tuning is now possible (see tooltip)
Diffstat (limited to 'render_povray/ui.py')
-rw-r--r--render_povray/ui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/render_povray/ui.py b/render_povray/ui.py
index 9335e004..336424bd 100644
--- a/render_povray/ui.py
+++ b/render_povray/ui.py
@@ -492,6 +492,7 @@ class MATERIAL_PT_povray_caustics(MaterialButtonsPanel, bpy.types.Panel):
col.prop(mat.pov, "fake_caustics_power", slider=True)
elif mat.pov.refraction_type == "2":
col.prop(mat.pov, "photons_dispersion", slider=True)
+ col.prop(mat.pov, "photons_dispersion_samples", slider=True)
col.prop(mat.pov, "photons_reflection")
if mat.pov.refraction_type == "0" and not mat.pov.photons_reflection:
@@ -560,13 +561,13 @@ class OBJECT_PT_povray_obj_importance(ObjectButtonsPanel, bpy.types.Panel):
obj = context.object
- layout.active = obj.pov.importance_value
-
col = layout.column()
col.label(text="Radiosity:")
col.prop(obj.pov, "importance_value", text="Importance")
col.label(text="Photons:")
col.prop(obj.pov, "collect_photons", text="Receive Photon Caustics")
+ if obj.pov.collect_photons:
+ col.prop(obj.pov, "spacing_multiplier", text="Photons Spacing Multiplier")
class OBJECT_PT_povray_replacement_text(ObjectButtonsPanel, bpy.types.Panel):