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.
This commit is contained in:
Stuart Broadfoot
2013-02-02 01:49:57 +00:00
parent 6fca85780b
commit 35e89d9cfc
3 changed files with 169 additions and 73 deletions

View File

@@ -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 {