bed91b623f
Edge/Vert slide: improve multires interpolation
...
Need to re-interpolate the entire face, not just the connected loop.
Also add BM_face_interp_multires()
2015-11-03 20:38:23 +11:00
f75d6c4a8f
BMesh: add BM_loop_interp_multires_ex which takes cached vars
...
Avoid recalculating face centers (for each loop) when interpolating multires.
2015-11-03 18:28:13 +11:00
7c03ef295b
CustomData: const correctness
2015-02-23 16:17:16 +11:00
64b328f22b
Edge/Vert Slide: avoid redundant loop angle calls
...
No need to calculate loop angle for each layer
2015-02-23 15:44:28 +11:00
5a372dbd89
Fix error in recent vert/edge-slide commits
...
`CustomData_bmesh_interp_n` was expecting the 'dest' arg not to have its offset applied.
This was a bit confusing since the source args have it applied,
and in some cases we only have the destination with the offset.
2015-02-23 13:57:06 +11:00
d580c90469
CustomData: const correctness for interp()
2015-02-23 13:54:33 +11:00
58652301de
Vert/Edge Slide: better UV interpolation
...
Ignore faces which the sliding vert is outside of.
2015-02-16 18:49:18 +11:00
2d1e072686
UV Island support for vertex & edge slide
...
This ensures slide with `Correct UVs` enabled, keeps UV's (any loop custom-data) contiguous.
Adds 2 key functions `BM_vert_loop_groups_data_layer_create` and `BM_vert_loop_groups_data_layer_merge`
They work by collecting matching loop custom-data around the vertices loop-fan,
and merging the custom-data after edits are made.
Thanks to @mont29 for review!
2015-02-11 21:30:13 +11:00
28a08e7ae6
Cleanup: BMesh arg name
2014-08-22 16:16:19 +10:00
c68ae745b6
interpolate verts as well as loops for inset.
...
- add vertex option to BM_face_interp_from_face, also expose via python.
2013-04-10 23:25:44 +00:00
b1ac23c5bd
Mesh Tool,
...
inset interpolation now works for 'inset_region', enabled by default.
Example:
http://www.graphicall.org/ftp/ideasman42/inset_interpolation_new.png
2013-04-07 11:41:37 +00:00
b27854bd47
use booleans for bmesh api.
2013-01-14 16:42:43 +00:00
6e90903baf
- add BM_data_interp_from_edges() function (matches BM_data_interp_from_verts).
...
- bridge-merged now merges edge customdata and flags for verts and edges.
2012-08-23 05:19:40 +00:00
1d743d11dc
bmesh - python api
...
- bm.*.layers.*.verify()
- bm.*.layers.*.is_singleton
- bm.*.layers.*.copy_from(other)
also added api functons
- BM_data_layer_copy(...)
- CustomData_layertype_is_singleton(type)
2012-04-30 18:54:14 +00:00
2a7f1af61e
Code Cleanup:
...
- apply some rules for function naming conventions, added to main bmesh doc in bmesh.h.
- remove unused function BM_loops_to_corners().
2012-02-28 19:10:53 +00:00
d1d11bbe9b
more header re-arranging.
...
Some function comments were in headers, some in the C files, some in both.
Moved function comments from headers into the C files.
2012-02-28 18:28:30 +00:00
df0f0c63d3
bmesh: re-arrange headers
2012-02-28 16:47:12 +00:00