March 30, 2021, 07:08 (GMT) |
Added per-brush DynTopo settings which are stored in a new DynTopoSettings struct. This system is designed to inherit settings from scene dyntopo defaults in a highly flexible way; settings can be individually overridden via the .inherit bitmask. At stroke time the scene settings and brush->dyntopo are merged and stored in brush->cached_dyntopo. Note that brush->flag has a bit flag, DYNTOPO_DISABLED, with a few subtlies. It does not switch the PBVH back to PBVH_FACES mode, it simply disbles dyntopo topology update. It also doesn't inherit from any default settings. And it's the only setting that's currently exposed in the UI. |
March 26, 2021, 21:23 (GMT) |
Add this file |
March 26, 2021, 00:38 (GMT) |
Only send all vcol layers to gpu (for pbvh drawing) in a material draw mode. |
March 26, 2021, 00:17 (GMT) |
* Sculpt color layers are now properly handle by pbvh bmesh draw code. Before only the active layer was uploaded to the GPU, now all of them (except the autogenerated original color layer) are. |
March 25, 2021, 18:32 (GMT) |
Code cleanup |
March 25, 2021, 00:01 (GMT) |
clean up code a bit |
March 24, 2021, 21:09 (GMT) |
Fixed two remaining performance bugs with dyntopo: * Normals are now updated in threads. * The sculpt neighbor code was using the slower BM_LOOPS_OF_VERT instead of BM_EDGES_OF_VERT, fixed. |
March 21, 2021, 23:26 (GMT) |
* Added a new CustomData type for dyntopo vertex data: MDynTopoVert. It stores: - Original coordiates, colors and mask (which were previously four seperate layers). - A bitmask with (currently) one bitflag, whether or not a vertex is on a boundary. I needed to cache calculating vertex boundary state (which involves iterating over the edges surrounding a vertex) and got fed up with having so many CD layers for dyntopo. This struct consolidates them and saves having yet another layer just to store a flag. |
March 20, 2021, 01:01 (GMT) |
Merge from master |
March 19, 2021, 17:57 (GMT) |
Merge branch 'master' into temp_bmesh_multires |
March 8, 2021, 21:57 (GMT) |
Merge branch 'master' into temp_bmesh_multires Merge not finished, but need to commit to move to different computer; laptop being sent in for repairs |
March 7, 2021, 12:00 (GMT) |
commit before merge |
March 6, 2021, 00:54 (GMT) |
Add a little todo list |
March 1, 2021, 09:09 (GMT) |
Added some code to calculate principle curvature direction for uniform triangle tesselations (dyntopo). This will be used for a version of topological rake that aligns edge flows to lines of curvature automatically. |
March 1, 2021, 01:05 (GMT) |
Merge from master |
February 28, 2021, 12:59 (GMT) |
Merge branch 'master' into temp_bmesh_multires |
February 28, 2021, 12:23 (GMT) |
commit prior to merge |
February 8, 2021, 07:17 (GMT) |
Merge branch 'master' into temp_bmesh_multires |
February 8, 2021, 07:01 (GMT) |
* Yet another attempt at writing a faster distance to tri function. I think I will end up writing a less accurate version and be done with it. This is a consistent hotspot in profiling. * Fixed a few more undo bugs |
December 26, 2020, 12:24 (GMT) |
Merge branch 'master' into temp_bmesh_multires |
|