Commit Graph

974 Commits

Author SHA1 Message Date
634d28b713 Added slot color support. 2021-10-04 13:28:00 +02:00
2eb6f789dd Added a SlotTypes Enum. 2021-10-04 13:27:29 +02:00
a13908fcec Also pass the seed to get_value for, and cleaned up perlin.gd. 2021-10-04 13:15:18 +02:00
0943dc32f8 Aldo pass slot_idx to get_value_for. 2021-10-04 13:11:08 +02:00
4b334a6ad6 Initial slot api for MMGraphNode. Already supports images. Also implemented the image generation helper methods for MMMaterial and MMNode. 2021-10-04 13:09:43 +02:00
537d44bc63 Now the editor loads and created nodes from MMNodes, and also implemented MMNode and graphnode creating logic for the add button/dialog. 2021-10-04 11:55:47 +02:00
1374df2b59 Not mat maker nodes inherit fromMMNode instead of TextureRect. 2021-10-04 11:54:52 +02:00
c5621036b2 Added an Add button to the mat maker's editor. 2021-10-04 11:27:35 +02:00
0c099d3325 Added a new MMGraphNode script. 2021-10-04 11:24:47 +02:00
137fd29f35 Also add MMMaterial as a custom type. 2021-10-04 11:24:02 +02:00
5bb4822164 MMNode now has a class_name declaration. 2021-10-04 11:23:43 +02:00
96e07af946 Removed the test scenes from mat_maker_gd. 2021-10-04 10:12:47 +02:00
059cabc48b Main nodes for mat_maker_gd and Initial setup for an editor plugin. 2021-10-03 19:56:35 +02:00
46dae7373b Moved color related methods to a new colors.gd file. 2021-10-03 17:12:13 +02:00
44bdbeb56d Moved shapes to a new shapes.gd file. 2021-10-03 17:04:54 +02:00
55f85a9b2d Moved the rest of the gradient related code to gradients.gd. 2021-10-03 17:02:07 +02:00
0fc71e0f2c Moved circular gradient calculations to gradients.gd. This time the logic had to be changed extensively and the new logic still has bugs. It will be fixed later. 2021-10-03 13:41:31 +02:00
b3604ffebc Same change to sdf3d. 2021-10-03 10:10:56 +02:00
2f521f2998 Moved sdf2d stuff to a new sdf2d script. 2021-10-03 01:07:39 +02:00
743e92ad55 Finished patterns. 2021-10-03 00:23:55 +02:00
cb7fd0a873 Moving pattern related things to a central patterns.gd. 2021-10-02 19:48:45 +02:00
5129cda7f1 Same change to perlin related calculations. 2021-10-02 18:45:29 +02:00
735b1f67cd Moved every voronoi related calculations to a new class. 2021-10-02 17:20:26 +02:00
fdac5e5e85 Moved all fbm related calculations to a new noise_fbm class. 2021-10-02 16:59:50 +02:00
1d6a95d578 Moved even more things to commons.gd. 2021-10-02 15:38:12 +02:00
01fd374344 Moved a lot more things to Commons.gd. 2021-10-02 10:39:30 +02:00
e4eccdc034 Simple nodes are using Commons.gd aswell. 2021-10-01 23:37:14 +02:00
f3504fd634 SDF3d also uses Commons.gs now. 2021-10-01 23:32:11 +02:00
15971442d0 Sdf also uses Commons.gd. 2021-10-01 23:30:23 +02:00
0869d1096b Patterns now also use Commons.gd. 2021-10-01 23:24:08 +02:00
bb338ea1aa Nises now also use Commons.gd. 2021-10-01 23:07:05 +02:00
1e621a8278 Filter nodes now use the common methods from Common.gd. 2021-10-01 22:41:03 +02:00
50b7575ef9 Added Commons.gd to store common static methods for mat_maker_gd. 2021-10-01 22:39:22 +02:00
69767cd08b Reorganize mat_maker_gd. 2021-10-01 22:04:09 +02:00
88caf0d31f Added the color-palette plugin from the AssetLib. 2021-10-01 10:17:08 +02:00
bc1c8b2718 Created an addon from https://github.com/Relintai/mat_maker_gd . (Only the ported stuff). Also took the nodes from the newest https://github.com/RodZill4/material-maker . 2021-10-01 00:54:13 +02:00
2ab52ea5c8 Updated the engine. 2021-09-30 21:31:16 +02:00
ecef04d52e Updated the engine. I merged in all upstream changes. 2021-09-29 12:18:54 +02:00
96fff0331e Mesh data resource editor now uses MeshUtils to uv unwrap meshes. Removed my half-finished unwrapping code. 2021-09-29 11:27:42 +02:00
04bc717331 Updated the mesh_utils module. It got uv unwrapping support. 2021-09-29 11:25:00 +02:00
321302e9c5 Committing image .import files as they get a new property stored on reimport. 2021-09-29 11:24:07 +02:00
410161831f Bit more experimentation. 2021-09-28 14:54:26 +02:00
626b02dc94 Bit more work on uv unwrapping. 2021-09-28 14:38:51 +02:00
a6caaadb38 A bit more work on uv unwrapping. 2021-09-27 19:27:12 +02:00
1260374274 Bit more work on uv unwrapping. 2021-09-27 18:24:16 +02:00
3a13c1e21b Added uv normalization to the unwrap algorithm. Also now it sets the new uvs to the mesh data resource. Doesn't work properly yet though. 2021-09-27 14:43:57 +02:00
e5de63c421 Initial uv layout implementation. 2021-09-27 14:15:17 +02:00
660933915b More work on uv unwrapping. 2021-09-27 12:52:33 +02:00
a2208d0489 More work on the uv unwrapping algorithm. 2021-09-27 12:38:57 +02:00
2c266711a3 I think I figured out a way to uv unwrap meshes for the mesh data resource editor. Started implementing it. Mesh partitioning is done. 2021-09-26 23:02:51 +02:00