Commit Graph

223 Commits

Author SHA1 Message Date
e4a07e87a3 Renamed the preload variables that use the new merged class. 2022-06-05 02:22:20 +02:00
4207b778a0 Removed the now unneded files. 2022-06-05 02:13:33 +02:00
b1791d1f11 Use the merged class wherever possible. 2022-06-05 02:12:01 +02:00
77277ee956 Merged together the common algorithms for MatMakerGD. 2022-06-05 01:53:35 +02:00
45bb1ae8fa Also added undo redo support for the gradient editor when adding and removing colors. 2022-03-08 12:28:07 +01:00
7157df772c Also fixed the gradient editor popup thing. 2022-03-08 12:20:49 +01:00
48f5fbfcbb Also added undo redo support fro the gradient editor's interpolation type dropdown. 2022-03-08 12:12:14 +01:00
b17b7bb583 Added undo redo support form mat maker gd's gradient editor. This also fixes seamless color editing with it. 2022-03-08 12:08:30 +01:00
5115167821 Also added undo redo support for creating and removing nodes in mat_maker_gd's addon. 2022-01-22 01:31:11 +01:00
49efd3f106 Fix dragging nodes in mat_maker_gd after recent changes. Also implemented undo redo support for node drag events. 2022-01-22 01:25:50 +01:00
23344760e7 Now ignore changes in MatMakerGDEditor is done with an int instad of a bool, so it won't matter if ignore is set multiple times. Also ignore changes in recreate, and don't allow multiple recreate()s to run. 2022-01-21 19:03:56 +01:00
52a367239c Small improvements to MMMaterial. Also call the new threadpool method. 2022-01-21 19:01:50 +01:00
2ada5fa3b1 Don't connect to the MMnode's changed event in mm_graph_node as it's not needed. Also set ignore changes when a texture is changed. 2022-01-21 18:59:55 +01:00
edd698504b Call each MMNode's init_properties in MMMaterial's init. This fixes broken node connections when you open an MMMaterial in the material editor. 2022-01-21 13:43:36 +01:00
b7a5f6bcbd Connect to material's change event after calling recreate(). 2022-01-21 13:35:46 +01:00
4237b0c7c9 Properly call initialize() in mm material 's render. 2022-01-21 13:35:14 +01:00
2ce6e4d466 Implemented undo redo support for mat_maker_gd. It does have some issues with undoing some of the changes, those will be fixed later. However all actions seems to properly mark the resource as dirty. 2022-01-21 13:22:39 +01:00
56866e65ba Updated mat_maker_gd. 2021-12-18 20:44:28 +01:00
baf4c89ce1 Small cleanups to transforms.gd. 2021-11-12 01:04:39 +01:00
0cb0559118 Color tiler node for mat_maker_gd. 2021-11-06 11:50:39 +01:00
1b9450cc74 Tiler node for mat_maker_gd. 2021-11-05 22:15:30 +01:00
b78f3c8358 Added 'pass' to cancel_render_and_wait, so if the lines that require ThreadPool are commented out it will not complain about scopes and indents. 2021-10-31 13:03:25 +01:00
547197e78f Improved the threading logic of MMMaterial's render by quite a bit. Also updated ThreadPool to get the new cleanups / fixes / api improvements required. 2021-10-31 12:37:51 +01:00
2a2918ddb7 Now the render can be cancelled. 2021-10-31 11:37:16 +01:00
ccc0a59a58 Return the default color if no image is set in image universal properties. 2021-10-31 11:30:14 +01:00
ee03da9a85 Implemented threaded generation for mat_maker_gd using ThreadPool. 2021-10-31 11:29:36 +01:00
d63dbbbf68 Math node for mat_maker_gd. 2021-10-30 15:52:14 +02:00
2dcac48022 fill_to_color and fill_to_random_color nodes for mat_maker_gd. 2021-10-30 11:40:09 +02:00
5ba662d628 Fill_to_random_grey node for mat_maker_gd. 2021-10-30 02:12:55 +02:00
170f50c31f Fill_to_position, fill_to_size, and fill_to_uv nodes for mat_maker_gd. 2021-10-29 18:20:21 +02:00
1d27ddd159 Greyscale quantize and tonality nodes. 2021-10-27 18:26:06 +02:00
f17de5a15d circle_map, kaleidoscope, mirror, repeat, rotate, scale, shear, transform, and translate nodes for mat_maker_gd. 2021-10-27 13:19:56 +02:00
96f2646ccb Decompose node. 2021-10-26 23:22:25 +02:00
5cf570a3d0 Swap channels node. 2021-10-26 23:14:35 +02:00
db5d96a4cd Combine node. 2021-10-26 23:00:52 +02:00
713fcfb490 Invert node. 2021-10-26 22:56:10 +02:00
77d2e64fe1 adjust_hsv node. 2021-10-26 22:51:51 +02:00
583415d5fb brightness_contrast node. 2021-10-26 17:16:19 +02:00
16910b5110 Fixed a few copy-paste errors, and removed 3 old nodes with test implementation. 2021-10-26 17:16:06 +02:00
1c988c54ed sdf3d_op_revolution and extrusion nodes. 2021-10-26 14:08:18 +02:00
182034fd82 sdf3d_op_morph node. 2021-10-26 13:52:55 +02:00
9252c7b21f sdf3d_op_elongation and rounded nodes. 2021-10-26 13:42:34 +02:00
1c8af1f3f7 sdf3d_op_repeat and circle_repeat nodes. 2021-10-26 13:26:59 +02:00
6429b4e725 sdf3d_op_bool and smooth_bool nodes. 2021-10-26 12:53:23 +02:00
ea9b0a1b2e sdf3d rotate, translate, and scale nodes. 2021-10-26 11:57:20 +02:00
32f80f288a sdf3d_shape_capsule node. 2021-10-26 11:37:08 +02:00
c7a2fea2c4 curve_base now has different initialization methods for the curve. sd_shape_line now initializes it's curve to the 1,1 variant. 2021-10-26 11:36:48 +02:00
920d4895e1 Fix and index in curves.gd. 2021-10-26 11:35:45 +02:00
6c5f2c0e95 sdf3d_shape cone and asd3d_shape_torus nodes. 2021-10-26 11:05:57 +02:00
709dd8081d sdf3d_shape_cylinder node. 2021-10-26 10:54:22 +02:00