Disabled the velocity filtering feature for now, since the weighting is

incorrect.

The voxel grid needs better tool support to make it usable, so fixing
the filtering is not high priority right now.
This commit is contained in:
2014-09-18 09:24:31 +02:00
parent 226beb9866
commit f03d253f55
5 changed files with 8 additions and 1 deletions

View File

@@ -155,7 +155,9 @@ void BPH_hair_volume_free_vertex_grid(struct HairVertexGrid *grid);
void BPH_hair_volume_add_vertex(struct HairVertexGrid *grid, const float x[3], const float v[3]);
void BPH_hair_volume_normalize_vertex_grid(struct HairVertexGrid *grid);
#if 0 /* XXX weighting is incorrect, disabled for now */
void BPH_hair_volume_vertex_grid_filter_box(struct HairVertexGrid *grid, int kernel_size);
#endif
void BPH_hair_volume_vertex_grid_forces(struct HairVertexGrid *grid, const float x[3], const float v[3],
float smoothfac, float pressurefac, float minpressure,
float f[3], float dfdx[3][3], float dfdv[3][3]);