Blender Git Commit Log
Git Commits -> Revision 8374e08
Revision 8374e08 by Lukas Toenne (hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves) December 1, 2014, 14:10 (GMT) |
Mesh sampling system for unified point-on-mesh handling. This code is not yet used by any feature in master, but has proved very useful in the Gooseberry branch and several WIP patches. Inclusion into master was requested to avoid diverging code in branches and get part of the Gooseberry code merged early on. The core idea is to have a common way of identifying points on mesh surfaces. Efficient evaluation of such points after deformation and mappable modifiers (e.g. subdivision) tracks positions, normals and other surface attributes. This is used extensively in the particle/hair systems and could be useful for certain tools, duplicators, etc.. Currently the particle systems in particular are very fragile and succeptible to mesh changes because of the unreliable way mesh surface mapping is stored. While the new system at this point uses essentially the same method, it at least provides a centralized DNA type that can be improved easily without too much effort and compatiblity issues. In addition to evaluating surface samples the system also provides a central place to implement surface sampling algorithms, such as random sampling, ray casting, paint-like tools, etc. Differential Revision: https://developer.blender.org/D922 |
Commit Details:
Full Hash: 8374e088942203397adae89f587b4d5ecd8ca42f
Parent Commit: a86869a
Lines Changed: +1, -0
1 Modified Path:
/source/blender/blenkernel/intern/mesh_sample.c (+1, -0) (Diff)