Hans Goudey
988f23cec3
Attributes: Add 2D integer vector attribute type
...
This type will be used to store mesh edges in #106638 , but it could
be used for anything else too. This commit adds support for:
- The new type in the Python API
- Editing the type in the edit mode "Attribute Set" operator
- Rendering the type in EEVEE and Cycles for all geometry types
- Geometry nodes attribute interpolation and mixing
- Viewing the type in the spreadsheet and using row filters
The attribute uses the `blender::int2` type in most code, and
the `vec2i` DNA type in C code when necessary. The enum names
are based on `INT32_2D` for consistency with `INT8` and `INT32`.
Pull Request: https://projects.blender.org/blender/blender/pulls/106677
2023-04-14 16:08:05 +02:00
..
2023-04-14 16:08:05 +02:00
2023-04-06 08:03:25 +02:00
2023-04-14 16:08:05 +02:00
2023-03-30 10:51:59 +02:00
2023-04-04 20:39:28 +02:00
2023-04-04 20:39:28 +02:00
2023-03-20 23:16:50 +01:00
2023-03-30 10:51:59 +02:00
2023-03-30 10:51:59 +02:00
2023-04-14 13:35:08 +02:00
2023-03-30 10:51:59 +02:00
2023-04-14 16:08:05 +02:00
2023-03-30 10:51:59 +02:00
2023-04-13 12:49:16 -04:00
2023-04-04 20:39:28 +02:00
2023-04-04 15:16:07 +02:00
2023-01-18 18:41:13 +11:00
2023-02-09 22:46:35 +01:00
2023-03-28 15:57:48 +11:00
2023-03-07 15:17:59 +01:00
2023-01-20 20:27:25 -05:00
2022-02-11 09:14:36 +11:00
2023-03-01 21:42:25 +01:00
2023-04-04 15:16:07 +02:00
2023-04-04 15:16:07 +02:00
2023-03-03 00:35:45 +01:00
2023-03-29 16:50:54 +02:00
2022-10-25 15:50:13 +02:00
2023-03-30 10:51:59 +02:00
2023-03-30 10:51:59 +02:00
2023-02-13 11:22:38 +01:00
2022-08-09 15:45:46 +02:00
2023-01-06 20:09:51 +01:00
2022-10-08 16:43:18 +03:00
2023-03-30 10:51:59 +02:00
2023-03-30 10:51:59 +02:00
2023-03-30 10:51:59 +02:00
2022-09-02 18:45:14 +02:00
2023-03-28 15:57:48 +11:00
2022-09-30 09:38:02 -05:00
2023-04-06 11:02:47 +12:00
2023-02-25 11:39:53 +01:00
2022-11-08 12:01:01 +01:00
2022-05-02 09:35:45 +02:00
2023-02-15 13:26:54 +11:00
2022-02-11 09:14:36 +11:00
2023-03-17 04:19:05 +01:00
2022-02-11 09:14:36 +11:00
2023-04-04 15:16:07 +02:00
2023-04-14 13:35:08 +02:00
2023-03-05 17:57:51 +01:00
2023-04-04 15:16:07 +02:00
2023-02-24 16:30:10 +01:00
2023-04-04 15:16:07 +02:00
2023-04-04 20:39:28 +02:00
2022-10-03 12:04:41 +11:00
2023-03-30 10:51:59 +02:00
2023-03-30 10:51:59 +02:00
2022-11-14 11:17:38 +01:00
2023-02-06 21:25:45 +01:00
2022-02-11 09:14:36 +11:00
2023-01-23 10:44:50 -08:00
2023-01-18 15:36:46 +01:00
2023-03-30 10:51:59 +02:00
2022-09-02 18:45:14 +02:00
2023-04-03 16:22:41 +02:00
2023-03-18 20:54:20 +01:00
2022-12-08 23:31:05 +01:00
2022-09-02 18:45:14 +02:00
2022-08-31 16:59:54 +02:00
2022-12-14 08:22:05 +01:00
2023-03-09 18:46:28 +01:00
2023-01-18 18:41:13 +11:00
2023-03-19 21:12:15 +01:00
2023-04-04 15:16:07 +02:00
2023-04-13 14:06:53 +02:00
2023-04-04 15:16:07 +02:00