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>2010-10-30 21:46:19 +0400
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2010-10-30 21:46:19 +0400
commita040c80bbfdbcfb59bf074b1f8733f08a2b670d6 (patch)
tree079dfda08eadf4cc1e01187e9c93401ae2688d8a /render_povray
parentd9faf5896070ce8e8a12b181c46c40a35d77efbe (diff)
Removed some lines for caustics that turned fake caustics off when photons were on, thereby changing the scene data, which is to be avoided. It seems P.O.V.ray takes care of the override all by itself so the lines were useless anyway.
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/render.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/render_povray/render.py b/render_povray/render.py
index 15bd7d3f..b8920b62 100644
--- a/render_povray/render.py
+++ b/render_povray/render.py
@@ -188,14 +188,9 @@ def write_pov(filename, scene=None, info_callback=None):
if material.pov_caustics_enable:
if material.pov_fake_caustics:
file.write('\tcaustics %.3g\n' % material.pov_fake_caustics_power)
- #material.pov_photons_refraction=0
if material.pov_photons_refraction:
- material.pov_fake_caustics=0 #How to deactivate fake caustics when refr photons on?
-
file.write('\tdispersion %.3g\n' % material.pov_photons_dispersion) #Default of 1 means no dispersion
-
- #bpy.types.MATERIAL_PT_povray_caustics.Display = 1 - bpy.types.MATERIAL_PT_povray_caustics.Display
- #mat = context.material
+ #TODO
# Other interior args
# fade_distance 2
# fade_power [Value]