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, uses Linear interpolation between segments.
  • CARDINAL Cardinal interpolation, uses CARDINAL interpolation between segments.
  • BSPLINE b-spline interpolation, uses 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, ignores width for initial intersection and corrects later.
  • ENDCORRECTED correct found, ignores width for all intersections and only corrects closest.
  • QT_UNCORRECTED uncorrected, calculates intersection 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.
  • TESSELATED Tesselated, create mesh surrounding each strand.
Type :enum in [‘CAMERA’, ‘RIBBONS’, ‘TESSELATED’], default ‘CAMERA’
use_backfacing

Tests back-faces of strands

Type :boolean, default False
use_cache

Export cached data with child strands (uses ‘draw step’ for subdivisions)

Type :boolean, default True
use_curves

Activate cycles hair rendering for particle system

Type :boolean, default True
use_encasing

Ignores strands encasing a ray’s initial location

Type :boolean, default True
use_joined

Fills 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

Uses the tangent normal for all normals

Type :boolean, default False
use_tangent_normal_correction

Corrects the tangent normal for the strands slope

Type :boolean, default False
use_tangent_normal_geometry

Uses the tangent normal for actual normal

Type :boolean, default False

Inherited Properties

Inherited Functions

References

Previous topic

CyclesCameraSettings(PropertyGroup)

Next topic

CyclesCurveSettings(PropertyGroup)