Updates for the Cycle Hair UI. With the following changes

- Removed the cycles subdivision and interpolation of hairkeys.
- Removed the parent settings.
- Removed all of the advanced settings and presets.
- This simplifies the UI to a few settings for the primitive type and a shape mode.
This commit is contained in:
Stuart Broadfoot
2013-08-18 13:41:53 +00:00
parent 19d3e230e6
commit 2fd11a6617
10 changed files with 189 additions and 593 deletions

View File

@@ -48,9 +48,13 @@ typedef enum curve_primitives {
CURVE_RIBBONS
} curve_primitives;
typedef enum curve_shape {
CURVE_RIBBON,
CURVE_THICK
} curve_shape;
typedef enum curve_triangles {
CURVE_CAMERA_TRIANGLES,
CURVE_RIBBON_TRIANGLES,
CURVE_TESSELATED_TRIANGLES
} curve_triangles;
@@ -99,27 +103,21 @@ class CurveSystemManager {
public:
int primitive;
int curve_shape;
int line_method;
int interpolation;
int triangle_method;
int resolution;
int segments;
int subdivisions;
float normalmix;
float encasing_ratio;
float minimum_width;
float maximum_width;
bool use_curves;
bool use_smooth;
bool use_parents;
bool use_encasing;
bool use_backfacing;
bool use_tangent_normal;
bool use_tangent_normal_correction;
bool use_tangent_normal_geometry;
bool use_joined;
bool need_update;
bool need_mesh_update;