Blender Git Loki

Blender Git "temp_test_sc_keymap" branch commits.

Page: 6 / 43

August 16, 2021, 08:44 (GMT)
Sculpt dyntopo: Fix boundary brush for multires

This commit fixes boundary brush for multires which
broke two commits ago.

This required implementing the geodesic api for PBVH_GRIDS,
which I did by building topology maps in a rather. . .
haphazard fashion.

Basically I built a vert->edge map and then used it to
derive a pseudo edge to quads mapping (it maps edges
to all the verts in the two surrounding quads except
the edge's own verts).

Just for fun I enabled geodesic mode in mask expand;
it seems to work.
August 16, 2021, 01:14 (GMT)
Merge branch 'master' into temp_bmesh_multires
August 16, 2021, 01:02 (GMT)
Sculpt dyntopo: improve boundary brush for irregular topology
(still a wip)

The boundary brush now builds a geodesic distance
field (from the boundary) from which it derives a tangent
field:

* These now define the rotation plane for bend mode.
* Rotation origins snap to these planes.

There is also typedef'd code for visualization tangents
in a temporary object (note the sculpt object), to enable
define VISBM in sculpt_boundary.c. This will be removed
lated.

Additional changes:

* Added a function to get the number of edges around verts,
SCULPT_vertex_valence_get.
* Added an API to calculate cotangent weights for vert fans,
SCULPT_cotangents_begin (call in main thread first) and
SCULPT_get_cotangents.
* Sculpt neighbors for PBVH_FACES now uses ss->vemap if it exists.
* The Mesh topology mapping code now takes extra parameters for
sorting vert/edge cycles geometrically.
* Similarly, there is now a function to sort BMesh edge cycles,
BM_sort_disk_cycle.
* MDynTopoVert->flag now has a bitflag for when the disk cycle
sorting needs to be redone, DYNVERT_NEED_DISK_SORT.
* The sculpt geodesic code now supports passing in custom vertex
coordinates.
* The geodesic API can also build an optional map of which vertex
in the initial vertex list is closest to any other vertex.
August 12, 2021, 05:51 (GMT)
Sculpt dyntopo: fix bug with dyntopo geometry undo push
August 8, 2021, 05:28 (GMT)
Sculpt Dyntopo: PBVH draw fixes

* The PBVH draw subsystem is now told whether any viewports
have drawtype >= OB_MATERIAL before anything in any windows
are drawn. There are no alternatives given the design
constraints of sculpting, where simply uploading data to the GPU
quickly becomes a bottleneck.

* Fixed flat vcol shading mode.
August 8, 2021, 02:25 (GMT)
* Don't rely on BMLog's stored normals, instead flag pbvh nodes to
update normals on undo/redo.
August 7, 2021, 01:39 (GMT)
Sculpt dyntopo: Fix bug in cleanup_valence_3_4
August 6, 2021, 19:51 (GMT)
Merge branch 'master' into temp_bmesh_multires

Also fixed a pbvh corruption bug
August 6, 2021, 16:58 (GMT)
Dyntopo sculpt: add dev operator to debug memory cache coherency
August 6, 2021, 15:33 (GMT)
Asset Browser: Support dropping materials into Face Sets
August 5, 2021, 18:10 (GMT)
Merge branch 'master' into sculpt-dev
August 4, 2021, 20:17 (GMT)
Cursor: Change face set color and wireframe preview
August 2, 2021, 19:35 (GMT)
Merge branch 'master' into sculpt-dev
July 31, 2021, 15:16 (GMT)
Merge branch 'master' into sculpt-dev
July 29, 2021, 23:08 (GMT)
Merge branch 'master' into temp_bmesh_multires
Also:

* added BMLog function to save mesh IDs.
- Used by SCULPT_UNDO_DYNTOPO_BEGIN/END instead of
saving the whole mesh, which was the previous behavior.
* SCULPT_UNDO_DYNTOPO_BEGIN no longer pushes a non-dyntopo
geomtry undo node, as this is no longer necassary.

This greatly speeds up going into/out of sculpt mode
with dyntopo enabled, as before it was copying
the mesh twice.
July 27, 2021, 20:00 (GMT)
Merge branch 'master' into sculpt-dev
July 25, 2021, 18:36 (GMT)
Array Brush: Support array editing with the voxel remesher
July 25, 2021, 16:20 (GMT)
Merge branch 'master' into sculpt-dev
July 25, 2021, 12:28 (GMT)
sculpt dyntopo: fix memory corruption and associated memory leak
July 23, 2021, 22:46 (GMT)
Add 'projection' option for volume-preserving smoothing to
smooth corrective modifier
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021