Commit Graph

240 Commits

Author SHA1 Message Date
bb7fee062c Make sure that polygon's changed method is called even when the control points were only moved. 2021-10-20 18:06:02 +02:00
17d0dc99dd Actually export the points in polygon base. 2021-10-20 17:59:50 +02:00
5d0c999103 Emit changed events properly in sd shapes. 2021-10-20 17:57:42 +02:00
1e57dba26e Better output text for the arc and circle shape nodes, and removed sdf.gd. 2021-10-20 17:47:40 +02:00
a690c76612 Made the polygon editor work with my setup, and added sd_polygon_shape node. 2021-10-20 17:46:31 +02:00
c082ee9a60 Added the curve editor and polygon editor from Material Maker. I only fixed compile so far. 2021-10-20 11:54:54 +02:00
df1a1c59a2 sd_shape_arc and sd_shape_rhombus nodes. 2021-10-19 22:42:03 +02:00
2984eef392 sd_shape_box node. 2021-10-19 22:20:45 +02:00
01c886d56f Now sd_shape_circle will emit changed events properly for it's type. 2021-10-19 18:26:12 +02:00
bcd0fdbbb1 Added sd show and sd shape circle nodes. 2021-10-19 18:04:00 +02:00
47cb1b8086 Voronoi node. 2021-10-19 15:38:12 +02:00
8feda525db FBM noise node. 2021-10-19 13:43:35 +02:00
fb502505a3 Anisotropic noise node. 2021-10-19 13:08:50 +02:00
7ef34acfbf Color noise node. 2021-10-19 12:44:02 +02:00
31547bf86f Color value node. 2021-10-19 12:21:56 +02:00
98ade190f9 Value node. 2021-10-19 12:13:15 +02:00
0cd3f2d8db Noise node. 2021-10-19 11:15:01 +02:00
dade6413b3 Cleaned up the noises folder. 2021-10-18 20:20:29 +02:00
a317240526 Scratches node. 2021-10-18 20:06:49 +02:00
0e07f2388c sine_wave node. 2021-10-18 19:39:51 +02:00
63713bc6cd Fix random color output on the bricks node. 2021-10-18 19:28:06 +02:00
c91c947871 Beehive node. 2021-10-18 19:26:54 +02:00
6ea422c166 IChing node. 2021-10-18 18:44:39 +02:00
a186c71f9a Runes node. 2021-10-18 18:14:08 +02:00
2b2c485992 Weave pattern node. 2021-10-18 17:59:57 +02:00
e6468b8226 Added the bricks node. 2021-10-18 15:32:30 +02:00
095fcab86c Truchet node. 2021-10-18 14:16:50 +02:00
4f6829beb3 Pattern node. 2021-10-18 14:01:18 +02:00
c634c3b882 Colorize node. 2021-10-18 13:17:25 +02:00
e04f17dac2 Added the image picker button from Material Maker. Also added image node. 2021-10-18 12:33:31 +02:00
e036935e4b Removed a few unneeded classes. 2021-10-18 11:01:38 +02:00
c9edde9ef9 Added uniform and greyscale_uniform nodes for mat_maker_gd. 2021-10-18 11:00:13 +02:00
01bb81675e Lots of work on gradient_type_4. It doesn't work properly yet, however the current implementation produces a cyberpunk-ish neon like effect, so I also saved it as gradient_type_5 for the time being. 2021-10-17 21:01:54 +02:00
56aa47ccc3 Radial gradient node. 2021-10-17 17:41:50 +02:00
f74ad34219 Implemented circular gradient node, and fixed circular gradient calculation. 2021-10-17 17:40:16 +02:00
6a241d3051 Split the new gradient node into a gradient_base and gradient nodes. 2021-10-17 17:23:06 +02:00
4282cc8385 Implemented the gradient node. Made Material Maker's gradient editor work with my setup. 2021-10-17 17:18:41 +02:00
d23c7b00b8 Turned the widget scripts into tool scripts. 2021-10-17 00:58:07 +02:00
7dfdf6c1ce Also added the icons, and fixed all resource paths. 2021-10-17 00:35:35 +02:00
45fc6bcdbd Added the color picker, the float edit, and the gradient editor widgets from material maker. 2021-10-17 00:11:51 +02:00
7ab05bf407 Renamed colors.gd to filter.gd. 2021-10-13 18:51:34 +02:00
bfcf4b0475 Went through the rest of the .mmg files. 2021-10-13 18:48:59 +02:00
bf0afa6ad6 Tuned most of the remaining .mmg files into comments. 2021-10-13 12:54:29 +02:00
8a907bfb6b Turned a lot more mmg files into comments. 2021-10-13 00:38:05 +02:00
a25d43ae29 Turned all except one sdf related mmg files into comments. In a more crude way than before. 2021-10-12 22:23:31 +02:00
c9fe275357 Processed a 4 more mmg files. 2021-10-12 19:59:24 +02:00
c54948d81a Turn more .mmg files into comments. 2021-10-12 19:04:40 +02:00
ea795998cf Comments from weave.mmg and weave2.mmg. 2021-10-12 18:20:07 +02:00
3ceb7a3236 Comments from the rest of the sdf3d mmg files. 2021-10-12 17:54:31 +02:00
666f735379 Comments from sdf3d_color.mmg. 2021-10-12 16:48:51 +02:00
56ebdb0ec5 Comments from iching.mmg. 2021-10-12 16:36:20 +02:00
e6d4b2b755 Comments from sdf3d_angle.mmg. 2021-10-12 13:20:15 +02:00
33e8a8adb0 Comments from sdf3d_circle_repeat.mmg. 2021-10-12 13:07:06 +02:00
4ee9c69d15 Comments from sdf3d_boolean.mmg. 2021-10-12 12:24:38 +02:00
d75ee3dac2 Comments from sdf3d_torus.mmg. 2021-10-12 12:16:46 +02:00
95eb126b8f Comments from sdf3d_plane.mmg. 2021-10-12 12:11:49 +02:00
55c23bc6b2 Comments from sdf3d_cylinder.mmg. 2021-10-12 11:58:46 +02:00
2eabdc5536 COmments from sdf3d_rotate.mmg. 2021-10-12 11:27:32 +02:00
a5b96ad8f1 Comments from scratches.mmg. 2021-10-12 11:12:20 +02:00
eacc08e69a Comments from runes.mmg. 2021-10-12 10:58:39 +02:00
13e3d248d0 Notes from sdf3d_repeat.mmg. 2021-10-11 20:12:34 +02:00
52d73a0abd Comments from sdf3d_cone.mmg. 2021-10-11 16:41:39 +02:00
8fff2bc0e9 Comments from sdf3d_capsule.mmg. 2021-10-11 14:14:05 +02:00
1a65e35471 Notes from sdf3d_sphere.mmg. 2021-10-11 13:40:13 +02:00
3f12c7c23e Notes from sdf3d_box.mmg. 2021-10-11 13:30:58 +02:00
b04d8b7fc6 Notes from uneven_bricks.mmg. 2021-10-11 13:18:24 +02:00
b31eb46120 Notes from bricks.mmg. Also improvements to beehive notes. 2021-10-11 12:55:18 +02:00
b622bb2f73 Turned pattern.mmg to notes. 2021-10-11 11:47:00 +02:00
d6148fd43c Notes for the beehive pattern. 2021-10-11 11:01:42 +02:00
f6e1207c3e Notes for noise_fbm.gd. 2021-10-11 10:51:00 +02:00
b077bc83ac Add relevant comments from radial_gradient.mmg and circular_gradient.mmg. 2021-10-11 10:20:56 +02:00
44df757149 Add relevant thingd as comments from gradient.mmg to gradients.gd. 2021-10-10 10:39:23 +02:00
bfd32409d2 Added more notes to colors.gd, and removed the corresponding material maker mmg files. 2021-10-10 09:00:39 +02:00
c07ca3d8d8 Implement restoring node connections on opening an MMMaterian in mat_maker_gd's editor. 2021-10-09 19:30:57 +02:00
da126d1d45 Removed the input and output slot type parameter from the simple MMGraphNode property methods. Input and output was only available with universal properties anyway. 2021-10-09 19:15:15 +02:00
babee4f93a Fix division by zero error in shape.gd. 2021-10-09 19:07:50 +02:00
a0a2a81acf Implement type conversions for universal properties. 2021-10-09 19:07:32 +02:00
956d35fd84 Add support for disconnection and connecting universal properties via the mat_maker_gd editor plugin. 2021-10-09 18:48:01 +02:00
8758111bf6 Renamed output.gd to output_image.gd and implemented it's logic. 2021-10-09 14:47:55 +02:00
52858a6970 Add line edit slot support to mm_graph_node. 2021-10-09 14:47:26 +02:00
ebef2b0fd5 Update the test resource. 2021-10-09 14:09:44 +02:00
56a6bb75a9 The image property in shape.gd is not supposed to be exported. 2021-10-09 14:07:33 +02:00
c816f0e0fe Finish up the new mat_maker_gd input/output notification api and made shape use it. Now shape's image updates whenever a property changes. 2021-10-09 14:04:09 +02:00
7fd3ccd4ad Generic image rendering / property connection api for mat_maker_gd. 2021-10-09 13:33:59 +02:00
51dfad5018 Added image universal property to shape.gd. Not yet used. 2021-10-07 15:48:38 +02:00
6f5c7395ba Added a new output node. 2021-10-07 15:47:09 +02:00
e31aedbb1b Now add slot universal methods in MMGraphNode only take an universal property as argument. Also added an universal texture slot. Had to add init_properties and _init_properties, and had to change register_methods to _register_methods in subclasses. 2021-10-06 10:30:22 +02:00
8654865b1b Add everything needed to construct slots to the universal property. 2021-10-06 09:53:40 +02:00
efc5d8ae9c Added image type to MMNodeUniversalProperty. 2021-10-06 09:46:34 +02:00
f1afa03c66 Removed obj, getter and params from MMNodeUniversalProperty, now instead it will have an another MMNodeUniversalProperty ref as input_property. Also smaller simplifications. 2021-10-06 09:27:22 +02:00
1611efc9d1 Moved the SlotTypes enum from MMNode to MMNodeUniversalProperty. 2021-10-06 09:15:48 +02:00
9f24edd50f Now shape's radius and edge is using universal property. 2021-10-06 00:56:13 +02:00
cca43432f3 Add uv parameter to get_value, and call emit_changed() in get_default_value in the universal property. 2021-10-06 00:53:19 +02:00
04c3098390 Fix issues with universal property handling in MMGraphNode. 2021-10-06 00:51:52 +02:00
ebb8098ba2 Initial shapes node implementation / cleanup. It still needs universal inputs. 2021-10-06 00:24:13 +02:00
0923f1095b Enum slot support for mat_maker_gd. 2021-10-06 00:23:24 +02:00
27471b8bdf Universal input support for mat_maker_gd. Nothing is using it yet, so it might need fixes. 2021-10-05 23:14:54 +02:00
88aa8e84ac Optional range parameter for some of ht eadd slot methods. 2021-10-05 20:59:47 +02:00
59c43c0cab Now all add_slot methods return the slot index. 2021-10-05 20:21:11 +02:00
0548a8b7fd Did the same to noise_voronoi.gd. 2021-10-05 17:54:06 +02:00