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>2019-09-01 18:25:23 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-09-01 18:25:23 +0300
commitcbb11b1a597366deabfa1cac11989621bf9075c4 (patch)
treecd59142e11fe844dbb59af036a69f5f162ffbfb1
parent9780527eeed6523684327a6fc6a149a938ebd933 (diff)
+Better (faster) Radiosity Nearest Count default value
+render emitter for particles theoretically updated to 2.8 API
-rw-r--r--render_povray/__init__.py6
-rw-r--r--render_povray/render.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 5b7b332e..aa0d73e7 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -529,7 +529,7 @@ class RenderPovSettingsScene(PropertyGroup):
name="Nearest Count",
description="Number of old ambient values blended together to "
"create a new interpolated value",
- min=1, max=20, default=5)
+ min=1, max=20, default=1)
radio_normal: BoolProperty(
name="Normals", description="Radiosity estimation can be affected by normals",
@@ -1414,8 +1414,8 @@ class RenderPovSettingsMaterial(PropertyGroup):
refraction_type: EnumProperty(
items=[
- ("1", "Fake Caustics", "use fake caustics"),
- ("2", "Photons Caustics", "use photons for refractive caustics")],
+ ("1", "Z Transparency Fake Caustics", "use fake caustics"),
+ ("2", "Raytrace Photons Caustics", "use photons for refractive caustics")],
name="Refraction Type:",
description="use fake caustics (fast) or true photons for refractive Caustics",
default="1")
diff --git a/render_povray/render.py b/render_povray/render.py
index 6fb2db80..b9ace50e 100644
--- a/render_povray/render.py
+++ b/render_povray/render.py
@@ -2085,9 +2085,9 @@ def write_pov(filename, scene=None, info_callback=None):
renderEmitter = True
if hasattr(ob, 'particle_systems'):
renderEmitter = False
+ if ob.show_instancer_for_render:
+ renderEmitter = True
for pSys in ob.particle_systems:
- if pSys.settings.use_render_emitter:
- renderEmitter = True
for mod in [m for m in ob.modifiers if (m is not None) and (m.type == 'PARTICLE_SYSTEM')]:
if (pSys.settings.render_type == 'PATH') and mod.show_render and (pSys.name == mod.particle_system.name):
tstart = time.time()