Sergey Sharybin
010e24a95c
OpenSubdiv: Remove UV coordinates from converter
...
Converter only defines topology, not coordinates or (face)varying data.
2018-07-16 11:12:02 +02:00
Sergey Sharybin
d920382046
OpenSubdiv: Re-work C-API integration
...
Main goal is to make API simpler to follow (at least ion terms what
is defined/declared where, as opposite of handful big headers which
includes all the declarations), and also avoid a big set of long and
obscure functions.
Now C-API files are split into smaller ones, following OpenSubdiv
behavior more closely, and also function pointers in structures
used a lot more, which shortens functions names,
UV integration part in GL Mesh is mainly stripped away, it needs
to be done differently. On a related topic, UV coordinates API in
converter needs to be removed as well, we do not need coordinates,
only island connectivity information there.
Additional changes:
- Varying interpolation in evaluator API are temporarily disabled,
need to extend API somewhere (probably, evaluator's API) to inform
layout information of vertex data (whether it contains varying
data, width, stride and such).
- Evaluator now can interpolate face-varying data.
Only works for adaptive refiner, since some issues in OpenSubdiv
itself.
Planned changes:
- Remove uv coordinates from TopologyConverter.
- Support evaluation of patches (as opposite to individual coordinates
as it happens currently).
- Support more flexible layout of varying and face-varying data.
It is stupid to assume varying is 3 floats and face-varying 2 floats.
- Support of second order derivatives.
- Everything else what i'm missing in this list.
2018-07-16 09:52:37 +02:00
Campbell Barton
b29b73a67e
Gizmo: update Python templates
2018-07-15 19:51:11 +02:00
Campbell Barton
57ab7daa2a
GPU_matrix: use Blender's naming conventions
...
Thanks to @sergey for review
2018-07-15 15:34:13 +02:00
Campbell Barton
b457cae397
Cleanup: use variable names based on term gizmo
2018-07-15 14:35:33 +02:00
Campbell Barton
b5451a642f
3D View: New view gizmo design
...
Simplify the default navigation gizmo.
See: T54723
2018-07-15 11:32:34 +02:00
Campbell Barton
e00f0686f7
Cleanup: style, doxy file
2018-07-15 10:53:34 +02:00
Campbell Barton
09431033e9
Cleanup: split GPU_batch
...
Split out presets and utilities for creating batches.
These functions are quite specialized and not related to typical usage.
2018-07-15 10:51:49 +02:00
Brecht Van Lommel
680994643c
Merge branch 'master' into blender2.8
2018-07-15 00:54:12 +02:00
charlie
83a4e1aaf9
Cycles: add voronoi features and distance settings from Blender.
...
Features to get the 2nd, 3rd, 4th closest point instead of the closest, and
various distance metrics. No viewport/Eevee support yet.
Patch by Michel Anders, Charlie Jolly and Brecht Van Lommel.
Differential Revision: https://developer.blender.org/D3503
2018-07-15 00:45:42 +02:00
Campbell Barton
5ebebcfbff
WM: rename manipulator to gizmo internally
2018-07-14 23:49:00 +02:00
Campbell Barton
cd16004132
WM: rename files, manipulator -> gizmo
...
Edit doxy files and header guards only.
2018-07-14 23:16:34 +02:00
Campbell Barton
fc7c934cfc
UI: rename manipulator to gizmo
...
This is a common, short, distinctive term often used for this purpose.
Changes to internal API's still needed.
2018-07-14 22:29:35 +02:00
Campbell Barton
5a716701e8
GPU_batch: fix error w/ interior line removal
...
Caused glitch w/ navigation icons showing inner lines.
2018-07-14 15:59:47 +02:00
Pablo Vazquez
19a55b5a00
UI: More descriptive tooltip
2018-07-14 01:37:01 +02:00
Pablo Vazquez
5d6d565792
VSE: Add image strips with alpha over as blend type
2018-07-14 00:12:28 +02:00
Pablo Vazquez
cb22dd6f5d
UI: Capital letters for property
2018-07-14 00:12:28 +02:00
Campbell Barton
d9e79b0756
Add include missing in release builds
2018-07-13 20:22:20 +02:00
Campbell Barton
cca87ccc75
UI: remove space/region from popover args
...
Instead use global panel-type list.
2018-07-13 19:16:35 +02:00
Campbell Barton
af0fc66049
WM: register global list of panel types
...
Allows simple lookups for popovers.
2018-07-13 19:15:13 +02:00
Campbell Barton
6845306c68
Correct recent menu split
...
Somehow duplicate API didn't error when linking.
2018-07-13 18:56:59 +02:00
Brecht Van Lommel
cfe2c3213f
Fix T55965: shrinkwrap modifier apply not working.
2018-07-13 18:21:58 +02:00
Brecht Van Lommel
23ca12ec47
Viewport: don't show look dev shader balls by default.
...
We will show these in the shading workspace by default, but for most new
3D viewports that you open these are not needed.
2018-07-13 18:21:58 +02:00
Campbell Barton
135b7f5c6a
Merge branch 'master' into blender2.8
2018-07-13 18:04:41 +02:00
Campbell Barton
a6ec402f5a
Remove invalid assert
2018-07-13 17:59:26 +02:00
Campbell Barton
5eaa8bf02d
Fix bad assert on redo
2018-07-13 17:37:00 +02:00
Campbell Barton
4705682151
Merge branch 'master' into blender2.8
2018-07-13 12:52:10 +02:00
Campbell Barton
f6367ecfb6
Cleanup: operator type API, header
2018-07-13 12:47:04 +02:00
Campbell Barton
2ead3f0765
Merge branch 'master' into blender2.8
2018-07-13 12:38:46 +02:00
Campbell Barton
c7c7bfae75
Merge branch 'master' into blender2.8
2018-07-13 12:22:21 +02:00
Campbell Barton
8ff3f7f601
Cleanup: move WM type registration into own files
...
Type registration is mostly boiler plate logic,
which can be separated from other API's.
2018-07-13 12:20:42 +02:00
Charlie Jolly
30bffb5a3a
Nodes: add sqrt, ceil, floor and fract to math nodes.
...
This works for Cycles, Eevee, texture nodes and compositing. It helps to
reduce the number of math nodes required in various node setups.
Differential Revision: https://developer.blender.org/D3537
2018-07-13 11:00:10 +02:00
Campbell Barton
399cbd3b6b
UI: show popover shortcuts in tooltip
2018-07-13 10:57:25 +02:00
Campbell Barton
ef423d9876
Merge branch 'master' into blender2.8
2018-07-13 10:52:40 +02:00
Campbell Barton
f4213c1408
Cleanup: id-property API use
...
Also clarify comments.
2018-07-13 10:51:49 +02:00
Campbell Barton
80a983ae5e
Merge branch 'master' into blender2.8
2018-07-13 10:31:30 +02:00
Campbell Barton
252ebf6bfd
Cleanup: split keymap lookups into own functions
...
More will be added in 2.8, keep this manageable.
2018-07-13 10:30:18 +02:00
Campbell Barton
f27449d117
Fix T55920: viewport "navigate" shows on transform
2018-07-13 10:00:36 +02:00
Philipp Oeser
8c957468bc
Keymap: dope-sheet hotkey to change falloff
2018-07-13 09:05:41 +02:00
Philipp Oeser
8f884c22f1
Keymap: dope-sheet hotkey to change falloff
2018-07-13 08:59:19 +02:00
Campbell Barton
a855a763c2
Merge branch 'master' into blender2.8
2018-07-13 08:40:17 +02:00
Campbell Barton
fb5597540d
Cleanup: right shift arguments
2018-07-13 08:36:10 +02:00
Campbell Barton
a81d0108fc
Cleanup: rename snap enum
2018-07-13 08:18:18 +02:00
Campbell Barton
6d3ff55e1c
Correct error mixing fraction/screen snap
...
Thanks @mano-wii for pointing out
2018-07-13 08:14:16 +02:00
Campbell Barton
6f8a141fad
Merge branch 'master' into blender2.8
2018-07-12 21:43:51 +02:00
Campbell Barton
e77d2b4e3f
Cleanup: remove legacy mesh save support
...
This was used for saving files for Blender 2.6x.
2018-07-12 21:35:57 +02:00
Campbell Barton
0c41d61008
WM: snap to fractions when resizing areas
...
Snap to fractions in 1/(2,3,4,8),
Nice for less arbitrary layouts.
2018-07-12 16:55:16 +02:00
Campbell Barton
415018778c
PyAPI: show line, not call-stack for field warning
...
Was too noisy and hard to tell warnings from exceptions.
2018-07-12 15:22:55 +02:00
Campbell Barton
69b7ae8397
Merge branch 'master' into blender2.8
2018-07-12 14:46:48 +02:00
Campbell Barton
753a600e35
PyAPI: add undo redo handlers
...
Useful so Python can clean up before/after undo steps.
2018-07-12 14:43:35 +02:00