December 27, 2014, 10:23 (GMT) |
Removed deprecated code. |
December 27, 2014, 10:23 (GMT) |
Free strand edit memory after use. |
December 27, 2014, 10:23 (GMT) |
Fix for verts-of-strand iterator: This requires a second pointer in addition to the edge, otherwise the last point is omitted. |
December 27, 2014, 10:23 (GMT) |
CustomData layer for storing hair root locations as MSurfaceSamples. This requires converting the old messy particle num/num_dmcache/fuv/foffset data into the new mesh samples, which can potentially introduce floating point errors and inaccuracies due to lack of face index mapping in the new system. However, in any well-constructed particle system the hair roots should be nearest to their num face, so mapping would be accurate enough. If necessary face index data could be added to samples as a legacy code hack, but probably it's best to eventually replace the hair system as a whole anyway. |
December 27, 2014, 10:23 (GMT) |
Store the hair key weight in edit mode. Currently particles only have a single weight value, controlling pinning in the simulation (for root and virtual root verts) and goal force scaling. This will be replaced by a full vertex group weight system eventually. |
December 27, 2014, 10:23 (GMT) |
First customdata layer for particle mass. This is more for testing purposes, since currently there is only a single mass property for the psys as a whole. This should change in the future though, to allow variable mass per strand or vertex. |
December 27, 2014, 10:23 (GMT) |
Basic particle data reconstruction when exiting edit mode. |
December 27, 2014, 10:23 (GMT) |
Fix for verts-of-strand iterator: After last edge step has to set the edge to NULL to avoid infinite looping over the same edge (1-elem disk). |
December 27, 2014, 10:23 (GMT) |
Fix for particle-to-bmesh: only was looping over totvert instead of pa->totkey. |
December 27, 2014, 10:23 (GMT) |
Intermediate commit: switching strand edit data to BMesh. Hair/Strand editing will only use a subset of the bmesh topology and expect a specific topology that needs to be verified and enforced. However, this extra requirement is much less work than reimplementing a whole edit data system with the same feature set as bmesh and avoids much redundant code. |
December 27, 2014, 10:22 (GMT) |
New customdata type for mesh surface samples. |
December 27, 2014, 10:22 (GMT) |
Switched the hair edit data to a bmesh-like structure for consistency. This means using mempools to store curve and vertex data, which allows arbitrary addition and removal of data more easily. Also this includes an iterator system similar to bmesh iterators (although the simpler topology makes it a lot less complex). |
December 27, 2014, 09:59 (GMT) |
Reconstruct most basic particle data when applying the hair edit, so particle hairs remain visible. Note that currently the hair root location (num/num_dmcache, fuv, foffset) is not stored from edit data, so all hairs end up in a default location. |
December 27, 2014, 09:59 (GMT) |
Store hair edit data in particle systems and manage it in the operator for entering/exiting the edit mode. |
December 27, 2014, 09:59 (GMT) |
Moved code for the hair edit data structures to blenkernel. This makes it work more like editmesh, and avoid the awkward and basically bad-level approach in particles, where the edit data is an anonymous pointer in particle systems together with a callback for freeing. |
December 27, 2014, 09:59 (GMT) |
New edit mode for hair. |
December 27, 2014, 09:59 (GMT) |
Finished the particle-to-edit conversion function. |
December 27, 2014, 09:59 (GMT) |
More work on particle conversion methods for hair edit mode. |
December 27, 2014, 09:58 (GMT) |
New editor library for hair edit mode. |
December 27, 2014, 09:58 (GMT) |
Minor syntax fix. |
|
|
|


Master Commits
MiikaHweb | 2003-2021