Added support for transparent stroke colors (again).

Transparent strokes are rendered by means of transparent vertex colors.
To make this possible, Blender's internal renderer has been slightly
extended to allow transparent vertex colors.  When Material::vcol_alpha
is non-zero, the renderer takes MCol::a into account.
This commit is contained in:
2010-02-16 02:10:27 +00:00
parent 12506ed6a1
commit ca908e21e2
6 changed files with 37 additions and 6 deletions

View File

@@ -37,8 +37,11 @@ protected:
Scene* freestyle_scene;
Material* material;
ListBase objects;
float _z, _z_delta;
void store_object(Object *ob) const;
float get_stroke_vertex_z(void) const;
};
#endif // BLENDERSTROKERENDERER_H