Commit Graph

66 Commits

Author SHA1 Message Date
RodZill4 1ee7b46e7f Added support for brushes mapped in texture space, and 3D brushes 2020-11-01 20:18:40 +01:00
RodZill4 bda87be121 Merge branch 'master' into dev-painter 2020-10-21 21:33:06 +02:00
RodZill4 b7e2a4e8c0 More brush cleanup, added support for drag and drop of obj files. 2020-10-21 21:30:23 +02:00
RodZill4 838281f8df Fixed float parameter input. Added option to select number of simultaneous renderers. 2020-10-21 21:17:53 +02:00
RodZill4 068c972661 Started creating procedural brushes 2020-10-17 21:04:19 +02:00
RodZill4 c712e40bf6 Fixed buffer update optimization 2020-10-04 10:31:00 +02:00
RodZill4 9e865dd24a Fixed gradient parameter handling and Remote interaction (#147). Small optimization in shader generation. 2020-09-09 22:57:24 +02:00
RodZill4 403c6ff61a Fixed update problem in Material node ( #163) 2020-09-07 08:25:50 +02:00
RodZill4 bcdf4929b9 Added a description tooltip for nodes (#151) 2020-08-31 20:36:50 +02:00
RodZill4 0cb562621a Added rendering time to Buffer node 2020-08-29 11:38:42 +02:00
RodZill4 9f8d101754 Updated renderer so request are explicit (small optimization that avoids useless re-generations + stronger usage checks) 2020-08-26 22:20:17 +02:00
RodZill4 c815fdea92 Fixed problems with remote and gradient parameters 2020-07-30 21:07:43 +02:00
Relintai 8abb968c52 Fix syntax error. 2020-04-21 14:48:05 +02:00
RodZill4 bd868d8a55 New preview menu, added support for expressions in float parameters 2020-04-13 09:32:59 +02:00
RodZill4 14683e25af Fixed default shader data used when shader generation fails 2020-04-03 08:01:06 +02:00
RodZill4 b4a122aac1 Merge branch 'master' into dev-optimize 2020-03-27 21:09:44 +01:00
RodZill4 cc606137b3 Added optimization for color parameters 2020-03-26 21:58:26 +01:00
RodZill4 aad3991734 Optimized float parameters (now passed as dictionaries) 2020-03-26 21:24:50 +01:00
RodZill4 9ab8820598 Optimized gradient parameters (passed as floats when possible) 2020-03-26 08:56:55 +01:00
RodZill4 8da80e163c Fixed shader node and hierarchy pane optimization 2020-03-25 22:01:02 +01:00
RodZill4 fd92c57905 Optimized seed and thumbnail previews 2020-03-24 19:21:28 +01:00
RodZill4 565219ab74 Started implementing the Tones node 2020-03-21 17:44:41 +01:00
RodZill4 3c87f2c491 Optimized 3D preview and buffer nodes 2020-03-18 21:40:02 +01:00
RodZill4 455dcc7fde Started optimizing 2D preview
float parameters don't trigger shader regeneration anymore
2020-03-13 07:50:04 +01:00
RodZill4 2b46a6936d Merge branch 'master' into dev-export 2020-03-08 23:14:42 +01:00
RodZill4 8283c744d3 Added hierarchy pane 2020-03-02 23:01:27 +01:00
RodZill4 b3d5972557 Updated export for Unity 2020-02-19 23:24:34 +01:00
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