diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-07 00:19:44 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-07 00:20:38 +0300 |
commit | 8b04308953adae983562026a2aa7bbd38e74174d (patch) | |
tree | c3d8d650be460a8f7ce6780d5f07d12db22527aa /intern/cycles/blender/addon/properties.py | |
parent | 74db0f3d5fa18e1992a716e2e38e910965dab28f (diff) |
Curves: Hair to Curves rename in Cycles/EEVEE UI
Change uses of "Hair" in Render Settings UI in the property editor
and the "Hair Info" node to use the "Curves" name to reflect the
design described in T95355, where hair is just a use case of a more
general curves data type.
While these settings still affect the particle hair system,
the idea is that if we have to choose one naming scheme to align
with, we should choose the option that aligns with future plans
and current development efforts, especially since the particle
system is considered a legacy feature.
A few notes:
- "Principled Hair BSDF" is not affected since it's meant for hair.
- Python API property identifiers are not affected.
Differential Revision: https://developer.blender.org/D14573
Diffstat (limited to 'intern/cycles/blender/addon/properties.py')
-rw-r--r-- | intern/cycles/blender/addon/properties.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index 51b3b3d2bcb..ee051766c50 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -65,8 +65,8 @@ enum_panorama_types = ( ) enum_curve_shape = ( - ('RIBBONS', "Rounded Ribbons", "Render hair as flat ribbon with rounded normals, for fast rendering"), - ('THICK', "3D Curves", "Render hair as 3D curve, for accurate results when viewing hair close up"), + ('RIBBONS', "Rounded Ribbons", "Render curves as flat ribbons with rounded normals, for fast rendering"), + ('THICK', "3D Curves", "Render curves as circular 3D geometry, for accurate results when viewing closely"), ) enum_use_layer_samples = ( @@ -428,14 +428,14 @@ class CyclesRenderSettings(bpy.types.PropertyGroup): min_light_bounces: IntProperty( name="Min Light Bounces", description="Minimum number of light bounces. Setting this higher reduces noise in the first bounces, " - "but can also be less efficient for more complex geometry like hair and volumes", + "but can also be less efficient for more complex geometry like curves and volumes", min=0, max=1024, default=0, ) min_transparent_bounces: IntProperty( name="Min Transparent Bounces", description="Minimum number of transparent bounces. Setting this higher reduces noise in the first bounces, " - "but can also be less efficient for more complex geometry like hair and volumes", + "but can also be less efficient for more complex geometry like curves and volumes", min=0, max=1024, default=0, ) @@ -649,8 +649,8 @@ class CyclesRenderSettings(bpy.types.PropertyGroup): default=False, ) debug_use_hair_bvh: BoolProperty( - name="Use Hair BVH", - description="Use special type BVH optimized for hair (uses more ram but renders faster)", + name="Use Curves BVH", + description="Use special type BVH optimized for curves (uses more ram but renders faster)", default=True, ) debug_use_compact_bvh: BoolProperty( @@ -1270,7 +1270,7 @@ class CyclesCurveRenderSettings(bpy.types.PropertyGroup): shape: EnumProperty( name="Shape", - description="Form of hair", + description="Form of curves", items=enum_curve_shape, default='RIBBONS', ) @@ -1284,8 +1284,8 @@ class CyclesCurveRenderSettings(bpy.types.PropertyGroup): @classmethod def register(cls): bpy.types.Scene.cycles_curves = PointerProperty( - name="Cycles Hair Rendering Settings", - description="Cycles hair rendering settings", + name="Cycles Curves Rendering Settings", + description="Cycles curves rendering settings", type=cls, ) |