February 23, 2015, 10:18 (GMT) |
Just clear the buffers in new viewport |
February 23, 2015, 10:00 (GMT) |
Flag for new viewport |
Revision 55df8ba by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) February 23, 2015, 09:51 (GMT) |
fix: sub object groups should work a bit more reliable now, did crash very often before |
February 23, 2015, 09:45 (GMT) |
February 23, 2015, 09:03 (GMT) |
Experimental hair shape key control with textures. Rationale for this feature goes like this: In meshes the influence of shape keys can be limited to certain vertex groups. This allows shapes to be applied selectively on parts of the mesh and possibly even be animated by changing vertex group weights over time. With hair shape keys there is no equivalent feature to vertex groups (defining a vertex group on hair keys would be rather tedious anyway). It would be possible to use the emitter mesh vgroups to assign a per-strand blending weight, but since hairs usually are much more dense than mesh vertices this would sacrifice accuracy. A better option is to allow textures to influence the hair shape key blending. For this purpose there is now a new texture influence. A shape key name needs to be assigned to the MTex in addition to a factor. It will then act as a multiplier for the shape key weight, i.e. the base shapekey value still works as an overall control. |
February 22, 2015, 14:21 (GMT) |
Merge branch 'master' into asset-experiments |
February 22, 2015, 14:12 (GMT) |
GHash: Some more tests. |
Revision e266938 by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) February 22, 2015, 10:05 (GMT) |
simplified greasepencil to mesh code (in fracture by greasepencil edge) a bit |
Revision c7b2cbe by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) February 22, 2015, 00:44 (GMT) |
good performance improvement for autohide, using BM_face_at_index() now instead of BM_face_at_index_find(), which makes it reasonably faster |
Revision 61ad3f8 by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) February 21, 2015, 21:55 (GMT) |
fix: improved "fix normals" in conjunction with autohide, might be slower, but looks way better with the right settings (as in fix normals search radius and autohide distance) now, using limited dissolve with keep normals operator (during autohide) |
February 21, 2015, 17:25 (GMT) |
GHash: Add explict 'Shrink' flag to allow shrinking. Also, fix (probable) issue with Entry struct and GSet - since we remove sizeof(void*) from Entry size for gsets, void *val member must absolutely remain the last one! |
February 21, 2015, 17:24 (GMT) |
GHash: Add hash to entries. This gives a nice speedup during buckets resizing, but also in mere lookups, especially when key comparison function is not as cheap as a mere equality (integer vectors, strings...). It also increases about 15% the entries' memory footprint (30% on 64bits, due to padding), but think it's really worth it. |
February 21, 2015, 15:12 (GMT) |
Fix some stupid NULL free. |
February 21, 2015, 14:58 (GMT) |
Merge branch 'master' into temp-ghash-experiments |
February 21, 2015, 14:58 (GMT) |
Some minor cleanup, much better statistics... |
Revision f1714a3 by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) February 21, 2015, 13:04 (GMT) |
fix: skip invalid shards when doing voronoi+bisect+fill, (less than 3 verts), this caused crashes when trying to load files with fracture results being stored this way |
February 21, 2015, 12:19 (GMT) |
Simplified cache item path description, based on plain ID blocks with subtype/index. This omits possible instancing and recursion by dupli groups, but since the data of instances is always the same in Blender at this point, there is little need to take them into account for caching. At some point in the future it may become desirable to store full dupli hierarchies in the cache, but it doesn't make sense to try to design a fully-fledged path descriptor for this hypothetical case now. |
February 21, 2015, 11:28 (GMT) |
BKE functions for managing cache content based on a group. This uses a complete hierarchy of group instances, based on a path hierarchy (object names). Putting |
February 21, 2015, 08:51 (GMT) |
Merge branch 'master' into temp-ghash-experiments |
February 20, 2015, 23:22 (GMT) |
Rework ghash to make it fully dynamic, and lower load threshold. So now, by default, when you remove an entry from a ghash and it gets below 'shrink' load limit, it resizes it buckets' array. Also, lowered heavily 'grow' load limit, was 3, which is way too big and had important impact on performances. Now using 3/4 (similar to java or python dict values), this seems to give several tens of percents quicker insertions and lookups. Regarding masking vs. modulo, so far all tests have shown that: * There is no sensible difference in quality (i.e. both seem to yield more or less the same quite even distribution); * Masking is slightly quicker than modulo (as expected), but this is not much important globally. Warnings: * This code is far from ready for anything else than toying around, for now! * Kept old 'modulo' code behind a #define for now, makes code slightly confusing though... |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021