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>2022-01-26 03:02:18 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2022-01-26 03:02:18 +0300
commit692611358a9189c2f54f916c42a08e1ddf54bb84 (patch)
tree68ee4016d4be897fd53d5c51419c43443cd9dbe9 /render_povray/object_properties.py
parentfd5697ebcf879894d84875b593fe00ede14e79a4 (diff)
POV: Add primitives workspace tools icons, blurry reflections, equation based isourface ; various fixes
* fix tiny formatting of quotes, docstrings, parenthesis * fix pov centered worspaces * fix (revert) bad default for text block insertion * fix primitive exports sorted by most frequent for (slight) speed up * fix some uninitialized hairstrand root diameter variable * fix extracted function for CSG inside vector * fix too big size of proxy mesh for ininite plane caused it to blink * fix end of render speach error handling * fix max specular value to better map out under a texture influence * fix emit, ambient, translucency shading properties UI broken post 2.8 * add workspace tools icons for pov primitives * add a user input equation based isosurface primitive * add micro normals based blurry reflections (glossy UI slider)
Diffstat (limited to 'render_povray/object_properties.py')
-rwxr-xr-xrender_povray/object_properties.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/render_povray/object_properties.py b/render_povray/object_properties.py
index f599da9b..752df203 100755
--- a/render_povray/object_properties.py
+++ b/render_povray/object_properties.py
@@ -283,7 +283,13 @@ class RenderPovSettingsObject(PropertyGroup):
cone_base_z: FloatProperty()
cone_cap_z: FloatProperty()
-
+ # -------- Generic isosurface
+ isosurface_eq: StringProperty(
+ name="f (x,y,z)=",
+ description="Type the POV Isosurface function syntax for equation, "
+ "pattern,etc. ruling an implicit surface to be rendered",
+ default="sqrt(pow(x,2) + pow(y,2) + pow(z,2)) - 1.5",
+ )
# -------- Parametric
def prop_update_parametric(self, context):