Commit Graph

39 Commits

Author SHA1 Message Date
RodZill4 49e3ca0a2d Fixed a few warnings and disabled some others 2020-02-13 08:37:01 +01:00
RodZill4 93f6407c2f Updated node serialization (so it saves only existing parameters) and examples 2020-02-12 08:05:45 +01:00
RodZill4 62e6d57b1e Updated 3DSDF nodes with color, and skulls and mmm_donuts examples 2020-02-06 21:51:14 +01:00
RodZill4 a811f3400f Moved io types definition (with conversions and preview) to a json file 2020-01-28 22:40:03 +01:00
RodZill4 f1ff09dcc4 Moved MMLoader to autoload. Updated demo so it can be exported. 2020-01-28 11:47:29 +01:00
Rodolphe Suescun 5207b8093e Added UI in 2D preview to edit parameters. 2019-12-27 22:30:49 +01:00
Rodolphe Suescun 1799ade2f2 Fixed switch node (so it supports all port types) + minor bug fixes 2019-12-25 10:36:45 +01:00
Rodolphe Suescun 97e923e781 Added types to ios nodes 2019-12-22 23:27:02 +01:00
RodZill4 e919507f06 Added support for raymarching
- Added signed distance functions 2D and 2D input/output types
- Updated SDF2D nodes to used SDF2D inputs/outputs
- Added preview code for SDF2D and SDF3D
- Updates all SDF2D templates
- Added basic SDF3D nodes
2019-12-15 12:41:00 +01:00
RodZill4 d72f1f2055 Fixed problem when duplicating gradient (interpolation mode was not copied) 2019-11-19 07:16:09 +01:00
RodZill4 3ff862f446 minor changes and fixes
- Added an option to duplicate nodes
- Creating a subgraph will now show the contents of the subgraph (so it can be easily renamed)
- Fixed node preview updtae when the node's seed is modified
2019-11-17 07:40:50 +01:00
Hugo Locurcio fc3173b9b4
Remove trailing whitespace, add newlines at end of files
This results in less merge conflicts when using the
Text Editor > Files > Trim Trailing Whitespace editor setting.

.ptex, .mmg and .json files generated weren't modified
as these are saved by Material Maker. These files could be made
to end with a newline automatically on save in a future commit.
2019-11-10 01:21:11 +01:00
RodZill4 8f4a525107 Added missing return types (#30) 2019-11-06 23:49:26 +01:00
RodZill4 bbfe288b15 Preloaded renderer, support for subsurface scattering, minor fixes 2019-11-06 22:33:01 +01:00
RodZill4 c121f7c00a Updated loader and random seed handling (#15)
Loader is not a lot more generic and deserialization code moved to generators.

There is now a small dice button on nodes that create random patterns that can be used to freeze the seed. Frozen nodes can thus be moved without affecting the seed.
Graph nodes can also transmit their seed to their children (this behavior can be enabled/disabled using the dice button at the top right of the graph pane).
2019-11-04 07:58:17 +01:00
Rodolphe Suescun c466d20229 Preoared random seed lock button 2019-11-03 10:04:23 +01:00
RodZill4 26f083cd3d Updated remote and group creation 2019-10-24 09:00:31 +02:00
RodZill4 4fc7c11a29 Updated size parameter handling and resized all examples to 2048x2048
Also added a base class for all graph nodes, fixed issues with graph/remote interactions.
2019-10-21 23:58:14 +02:00
Hugo Locurcio 93c84650cd
Add return type hints to all scripts
This also simplifies some functions.

This partially addresses #30.
2019-10-20 16:35:45 +02:00
Rodolphe Suescun c8414f47df Updated switch node and refactored generator edit feature. 2019-10-20 00:59:51 +02:00
Rodolphe Suescun 885b74a845 Detect loops when connecting nodes and make sure Material cannot be deleted 2019-10-19 01:30:25 +02:00
RodZill4 53c5fd4f56 Fixed shader generation problems revealed by Godot 3.2 2019-10-18 08:35:54 +02:00
RodZill4 74959637bd Size parameter fix and better preview UI 2019-10-14 20:42:11 +02:00
RodZill4 3adeffe23c Fixed preview update problem 2019-10-09 20:39:08 +02:00
RodZill4 b58770c2a0 Added preview, rendering fixes, better grouping 2019-10-05 11:04:50 +02:00
RodZill4 57cb3b4a14 Fixed preview problem, and seeds now depend on node position 2019-10-02 23:06:20 +02:00
RodZill4 8c06cd3aa8 Updated import, preview and slider widgets 2019-10-01 08:34:08 +02:00
RodZill4 ff191538f6 Added group creation and refactoring.
Moved handling of the "global" definitions of shaders into main shader generation code.
Added group creation (does not create inputs yet, and remotes should be cleaned).
updated all preview meshes (to fix problems with depth).
2019-09-29 10:07:32 +02:00
RodZill4 8af2c04f91 Mmore progree on remotes and hierarchy 2019-09-22 22:17:26 +02:00
RodZill4 caf682de88 updated generator naming in shaders and added basic convolutions 2019-09-16 20:45:47 +02:00
RodZill4 f2807f4eff Implemented lazy buffers update and started refactoring material node. 2019-09-14 09:14:27 +02:00
RodZill4 27d5ddbe97 Implemented save and shader generator editing... 2019-09-09 22:00:18 +02:00
Rodolphe Suescun 0bcdbb2204 More refactoring and added image "generator" 2019-08-25 23:27:07 +02:00
Rodolphe Suescun d8d9aaa9b4 More refactoring and added buffer generator 2019-08-18 16:28:50 +02:00
Rodolphe Suescun e9a21454c1 More refactoring on rtexture generation 2019-08-17 17:35:48 +02:00
Rodolphe Suescun 57c28993db Refactored basic load and preview functions in graph editor 2019-08-12 15:58:42 +02:00
Rodolphe Suescun bcdac09cd7 More progress on refactoring and more
Basic import plugin works.
Added gradient parameter to custom node.
hsv_adjust now supports alpha channel.
Remove deprecated scenes.
2019-08-09 08:16:24 +02:00
RodZill4 66f88f3f46 More shader generation refactoring 2019-08-02 08:17:32 +02:00
RodZill4 cfae489ad0 Started refactoring to build an export_plugin and separate UI from texture generation 2019-07-31 20:53:00 +02:00