CyclesCurveRenderSettings(PropertyGroup)

base classes — bpy_struct, PropertyGroup

class bpy.types.CyclesCurveRenderSettings(PropertyGroup)
encasing_ratio

Scale factor for encasing strand width

Type :float in [0, 100], default 1.01
interpolation

Interpolation method

  • LINEAR Linear interpolation, Use Linear interpolation between segments.
  • CARDINAL Cardinal interpolation, Use cardinal interpolation between segments.
  • BSPLINE B-spline interpolation, Use b-spline interpolation between segments.
Type :enum in [‘LINEAR’, ‘CARDINAL’, ‘BSPLINE’], default ‘BSPLINE’
line_method

Method for line segment intersection

  • ACCURATE Accurate, Always take into consideration strand width for intersections.
  • QT_CORRECTED Corrected, Ignore width for initial intersection and correct later.
  • ENDCORRECTED Correct found, Ignore width for all intersections and only correct closest.
  • QT_UNCORRECTED Uncorrected, Calculate intersections without considering width.
Type :enum in [‘ACCURATE’, ‘QT_CORRECTED’, ‘ENDCORRECTED’, ‘QT_UNCORRECTED’], default ‘ACCURATE’
normalmix

Scale factor for tangent normal removal (zero gives ray normal)

Type :float in [0, 2], default 1.0
preset

Hair rendering mode

  • CUSTOM Custom, Set general parameters.
  • TANGENT_SHADING Tangent Normal, Use planar geometry and tangent normals.
  • TRUE_NORMAL True Normal, Use true normals (good for thin strands).
  • ACCURATE_PRESET Accurate, Use best settings (suitable for glass materials).
Type :enum in [‘CUSTOM’, ‘TANGENT_SHADING’, ‘TRUE_NORMAL’, ‘ACCURATE_PRESET’], default ‘TRUE_NORMAL’
primitive

Type of primitive used for hair rendering

  • TRIANGLES Triangles, Create triangle geometry around strands.
  • LINE_SEGMENTS Line Segments, Use line segment primitives.
  • CURVE_SEGMENTS ?Curve Segments?, Use curve segment primitives (not implemented).
Type :enum in [‘TRIANGLES’, ‘LINE_SEGMENTS’, ‘CURVE_SEGMENTS’], default ‘LINE_SEGMENTS’
resolution

Resolution of generated mesh

Type :int in [3, 64], default 3
segments

Number of segments between path keys (note that this combines with the ‘draw step’ value)

Type :int in [1, 64], default 1
triangle_method

Method for creating triangle geometry

  • CAMERA Planes, Create individual triangles forming planes that face camera.
  • RIBBONS Ribbons, Create individual triangles forming ribbon.
  • TESSELLATED Tessellated, Create mesh surrounding each strand.
Type :enum in [‘CAMERA’, ‘RIBBONS’, ‘TESSELLATED’], default ‘CAMERA’
use_backfacing

Test back-faces of strands

Type :boolean, default False
use_cache
Type :boolean, default True
use_curves

Activate Cycles hair rendering for particle system

Type :boolean, default True
use_encasing

Ignore strands encasing a ray’s initial location

Type :boolean, default True
use_joined

Fill gaps between segments (requires more memory)

Type :boolean, default False
use_parents

Use parents with children

Type :boolean, default False
use_smooth

Use vertex normals

Type :boolean, default True
use_tangent_normal

Use the tangent normal for all normals

Type :boolean, default False
use_tangent_normal_correction

Correct the tangent normal for the strand’s slope

Type :boolean, default False
use_tangent_normal_geometry

Use the tangent normal for actual normal

Type :boolean, default False

Inherited Properties

Inherited Functions

References

Previous topic

CyclesCameraSettings(PropertyGroup)

Next topic

CyclesCurveSettings(PropertyGroup)