[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1135] trunk/py/scripts/addons/ render_povray/render.py: Removed some lines for caustics that turned fake caustics off when photons were on , thereby changing the scene data, which is to be avoided.
Maurice Raybaud
mauriceraybaud at hotmail.fr
Sat Oct 30 19:46:19 CEST 2010
Revision: 1135
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1135
Author: mauriceraybaud
Date: 2010-10-30 19:46:19 +0200 (Sat, 30 Oct 2010)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/py/scripts/addons/render_povray/render.py
Modified: trunk/py/scripts/addons/render_povray/render.py
===================================================================
--- trunk/py/scripts/addons/render_povray/render.py 2010-10-28 23:48:08 UTC (rev 1134)
+++ trunk/py/scripts/addons/render_povray/render.py 2010-10-30 17:46:19 UTC (rev 1135)
@@ -188,14 +188,9 @@
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]
More information about the Bf-extensions-cvs
mailing list