Added vertex color attributes (currently limited to one) and UVs included for triangle mesh hair.

I have also included a small speedup for the intersection test.
This commit is contained in:
Stuart Broadfoot
2013-01-04 12:44:38 +00:00
parent 1022151d6e
commit ec33cacc62
5 changed files with 380 additions and 46 deletions

View File

@@ -81,6 +81,7 @@ public:
vector<int> curve_keynum;
vector<float> curve_length;
vector<float3> curve_uv;
vector<float3> curve_vcol;
vector<float3> curvekey_co;
vector<float> curvekey_time;