Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-06Cleanup: spellingCampbell Barton
2020-04-02Sculpt: Store explicit value for multires sculpt levelSergey Sharybin
Allows to know what level sculpting has been done after the value has been changed in the MultiresModifierData. No functional changes, just preparing code to have everything needed for propagation undo. Differential Revision: https://developer.blender.org/D7307
2020-03-21Cleanup: compiler warningsBrecht Van Lommel
2020-03-19Multires: Support "Subdivide" for Simple subdivision typeSergey Sharybin
Is done by considering all base edges infinitely sharp. In the future can become a different operator option to allow to mix Catmull-Clark and simple subdivisions. For now just sticking to what old good Blender versions were doing. Fixes T74869: Simple subdivision type is not working as it should
2020-03-19Multires: Optimize memory usage furtherSergey Sharybin
Avoid storing any loose edges for the propagation process. Also avoid any edge which crease is zero.
2020-03-19Multires: Reduce memory footprint after previous fixSergey Sharybin
The idea is following: only store information about edges which are 1. Communicated to the OpenSubdiv topology. This rules out all loose edges, as they are not needed for the propagation process. 2. Correspond to edge from the base mesh. This avoids storing edges which are generated between inner face. Those are not to have any sharpness to allow smooth propagation. There is still possible to have memory peak in some obscure case when mesh contains a lot of loose edges. It can be optimized further by utilizing knowledge of the non-loose tags.
2020-03-19Multires: Subdiv, properly support base edge creaseSergey Sharybin
The title says it all actually. The test case is to get default cube, set some edges to non-zero crease, add multires modifier and hit the "Subdivide" button few times. The memory footprint might be optimized by not storing information about inner generated edges.
2020-03-19Multires: Add missing context initializationSergey Sharybin
Might have caused access to uninitialized memory when foreach() would have failed for some reason.
2020-03-19Multires: Cleanup, typo in type nameSergey Sharybin
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-13Multires: Fix Subdivide, Reshape and Apply BaseSergey Sharybin
This change fixes artifacts produced by these operations. On a technical aspect this is done by porting all of the operations to the new subdivision surface implementation which ensures that tangent space used to evaluate modifier and those operations is exactly the same (before modifier will use new code and the operations will still use an old one). The next step is to get sculpting on a non-top level to work, and that actually requires fixes in the undo system.