[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4556] trunk/py/scripts/addons/ render_povray: *Fixed a bug with POV replacement code introduced with latest addition of colored spec .
Maurice Raybaud
mauriceraybaud at hotmail.fr
Tue Jun 4 13:55:10 CEST 2013
Revision: 4556
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4556
Author: mauriceraybaud
Date: 2013-06-04 11:55:10 +0000 (Tue, 04 Jun 2013)
Log Message:
-----------
*Fixed a bug with POV replacement code introduced with latest addition of colored spec.
*changed default values for the folowing properties to be more useful in most scenes:
- radio_low_error_factor
- fake_caustics_power
- importance_value
Modified Paths:
--------------
trunk/py/scripts/addons/render_povray/__init__.py
trunk/py/scripts/addons/render_povray/render.py
Modified: trunk/py/scripts/addons/render_povray/__init__.py
===================================================================
--- trunk/py/scripts/addons/render_povray/__init__.py 2013-06-04 04:14:57 UTC (rev 4555)
+++ trunk/py/scripts/addons/render_povray/__init__.py 2013-06-04 11:55:10 UTC (rev 4556)
@@ -248,7 +248,7 @@
name="Low Error Factor",
description="Just enough samples is slightly blotchy. Low error changes error "
"tolerance for less critical last refining pass",
- min=0.0, max=1.0, soft_min=0.0, soft_max=1.0, default=0.5)
+ 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(
@@ -355,7 +355,7 @@
description="Values typically range from 0.0 to 1.0 or higher. Zero is no caustics. "
"Low, non-zero values give broad hot-spots while higher values give "
"tighter, smaller simulated focal points",
- min=0.00, max=10.0, soft_min=0.00, soft_max=1.10, default=0.1)
+ min=0.00, max=10.0, soft_min=0.00, soft_max=1.10, default=0.5)
photons_refraction = BoolProperty(
name="Refractive Photon Caustics", description="more physically correct",
@@ -429,7 +429,7 @@
description="Priority value relative to other objects for sampling radiosity rays. "
"Increase to get more radiosity rays at comparatively small yet "
"bright objects",
- min=0.01, max=1.00, default=1.00)
+ min=0.01, max=1.00, default=0.50)
# Collect photons
collect_photons = BoolProperty(
Modified: trunk/py/scripts/addons/render_povray/render.py
===================================================================
--- trunk/py/scripts/addons/render_povray/render.py 2013-06-04 04:14:57 UTC (rev 4555)
+++ trunk/py/scripts/addons/render_povray/render.py 2013-06-04 11:55:10 UTC (rev 4556)
@@ -1544,12 +1544,10 @@
tabWrite("}\n")
c += 1
- if material.pov.replacement_text == "":
-
-
+
- # Close first layer of POV "texture" (Blender material)
- tabWrite("}\n")
+ # Close first layer of POV "texture" (Blender material)
+ tabWrite("}\n")
if (material.specular_color.r == material.specular_color.g) and (material.specular_color.r == material.specular_color.b):
colored_specular_found = False
More information about the Bf-extensions-cvs
mailing list