diff options
author | Stuart Broadfoot <gbroadfoot@hotmail.com> | 2013-02-02 05:49:57 +0400 |
---|---|---|
committer | Stuart Broadfoot <gbroadfoot@hotmail.com> | 2013-02-02 05:49:57 +0400 |
commit | 35e89d9cfc39a5874a5d17b5571a72ef84798f88 (patch) | |
tree | c2071217449e820abd71a1f4316b451887eb9cc9 /intern/cycles/render/curves.h | |
parent | 6fca85780b966bf610d8e73dc65c538747cbd485 (diff) |
Cycles Hair: Fixed hair shape and inclusion of multiple attributes for triangle primitives
When using triangle primitives this fix enables 'closed tip'.
UVs and vertex colours are added when using triangle primitives for hair.
Two new preset modes have also been included to allow easy access to curves and triangle planes.
Diffstat (limited to 'intern/cycles/render/curves.h')
-rw-r--r-- | intern/cycles/render/curves.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/render/curves.h b/intern/cycles/render/curves.h index 3a12d33d0a7..3527998339c 100644 --- a/intern/cycles/render/curves.h +++ b/intern/cycles/render/curves.h @@ -33,9 +33,11 @@ void curvebounds(float *lower, float *upper, float3 *p, int dim); typedef enum curve_presets { CURVE_CUSTOM, + CURVE_FAST_PLANES, CURVE_TANGENT_SHADING, CURVE_TRUE_NORMAL, - CURVE_ACCURATE_PRESET + CURVE_ACCURATE_PRESET, + CURVE_SMOOTH_CURVES } curve_presets; typedef enum curve_primitives { |