Commit Graph

77 Commits

Author SHA1 Message Date
Hugo Locurcio
d1a9da98bc
Use pointing hand cursor shape for clickable buttons in the About dialog
This makes it clearer that the buttons can be clicked.

Tooltips were also modified to match the respective platforms'
branding guidelines.
2020-01-23 01:52:05 +01:00
Rodolphe Suescun
1b377a7b05 More parameters UI in 2D preview 2019-12-29 18:12:35 +01:00
Rodolphe Suescun
5207b8093e Added UI in 2D preview to edit parameters. 2019-12-27 22:30:49 +01:00
Rodolphe Suescun
a806ea19a3 Merge branch 'master' into dev-ui 2019-12-25 20:16:50 +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
52e2af231d Made background 3D preview independant 2019-12-10 06:54:10 +01:00
RodZill4
8282ab24fe Compatibility fixes for Godot 3.1.2, updated switch to support more choices, and shader nodes to support inputs in enum values 2019-12-04 22:26:54 +01:00
RodZill4
4542c2d22e Minor ui changes 2019-11-22 07:46:23 +01:00
RodZill4
2e97888437 Fixed float edit problem when max <= min 2019-11-14 08:48:16 +01:00
RodZill4
fd2064181e Updated the float editor so it stops when sliding to bounds 2019-11-10 22:51:03 +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
e7a70af690 Filtered unwanted mouse events in float editor and updated shader parameter editor 2019-11-06 08:31:38 +01:00
RodZill4
5141b3e297 Added new float_edit widget to replace the spinbox and the hslider 2019-11-05 22:28:55 +01:00
RodZill4
972da9407b Added support for drag and drop between gradient editors 2019-10-30 23:20:18 +01:00
RodZill4
f664a54e4b Updated gradient with a choice of 4 interpolation options 2019-10-30 22:57:51 +01:00
RodZill4
8b9084f72b Fixed gradient editor (Cursors not updtaed when color was modified) 2019-10-29 22:10:54 +01:00
RodZill4
4c2274104b Made IOs node editable (can add/remove ports) 2019-10-29 22:10:08 +01:00
RodZill4
b60085edd1 Updated shader editor so parameters, inputs and outputs can be reordered 2019-10-26 13:51:15 +02:00
RodZill4
26f083cd3d Updated remote and group creation 2019-10-24 09:00:31 +02:00
RodZill4
4246673c85 Updated the gradient editor 2019-10-22 22:48:00 +02:00
RodZill4
aaa2adc046 Updated the graph tree to handle the editable attribute correctly 2019-10-22 08:28:24 +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
Rodz Labs
448287d2c9
Merge pull request #34 from Calinou/add-return-type-hints
Add return type hints to all scripts
2019-10-21 20:56:30 +02:00
Hugo Locurcio
2e3a212bb8
Optimize images losslessly using oxipng -o6 --strip --zopfli 2019-10-21 15:43:16 +02:00
Rodz Labs
27aa683786
Merge branch 'export_plugin' into add-return-type-hints 2019-10-20 23:05:26 +02:00
Rodz Labs
0750994269
Merge pull request #36 from Calinou/tweak-gitignore
Tweak `.gitignore` and include `.import` files in version control
2019-10-20 23:01:17 +02:00
Rodz Labs
ede29a90ca
Merge pull request #38 from Calinou/tweak-texture-size-limits
Tweak texture size limits for consistency, set default size to 1024x1024
2019-10-20 23:00:47 +02:00
RodZill4
d376aa22f8 Updated convolution node and added gaussian blur 2019-10-20 22:37:42 +02:00
Hugo Locurcio
893e5446f8
Tweak texture size limits for consistency, set default size to 1024x1024
- The maximum allowed size is now 4096x4096 for all textures.
- The material texture size can now be set as low as 16x16.
- The default material texture size is now 1024x1024, which matches
  modern expectations better.

Note that this will change the output size of existing material files.
This can be solved by changing the output size and saving the material
again.
2019-10-20 20:20:28 +02:00
Hugo Locurcio
f40248b5e6
Tweak .gitignore and include .import files in version control
`.import` files (not to be confused with the `.import/` directory)
should be included in version control as they contain important
metadata, such as whether a texture should be filtered or not.

A `.gdignore` file was added to the `doc/` folder of the add-on,
which prevents Godot from importing any files inside.
This also speeds up the initial editor import step.
2019-10-20 19:25:31 +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
159ee7678b Added subgraph navigation popup 2019-10-20 11:33:33 +02:00
Rodolphe Suescun
66790ed86d Moved the "About" box to a separate directory and added itch.io link 2019-10-20 11:21:02 +02:00
RodZill4
854b0c8b98 Fixed size of gradient popup (which could change when resizing the main window) 2019-10-17 07:39:36 +02:00
RodZill4
e573a78fd6 Updated Godot integration 2019-10-16 23:15:11 +02:00
RodZill4
28654f3eba Updated base library and added truchet generator 2019-10-13 10:14:43 +02:00
RodZill4
19b9d804b9 Fixed control label edition in remote 2019-10-10 22:43:34 +02:00
RodZill4
825d98e0fe Added main code section to shader generators 2019-10-10 07:42:38 +02:00
RodZill4
3adeffe23c Fixed preview update problem 2019-10-09 20:39:08 +02:00
RodZill4
ad2de4a52e Updated code editors and added a menu to create all elementary generators 2019-10-07 20:41:57 +02:00
RodZill4
a7f371e142 icons cleanup 2019-10-06 14:07:49 +02:00
RodZill4
d024688511 Added a runes generator and a detailed edit for gradients 2019-10-06 10:02:09 +02:00
RodZill4
b58770c2a0 Added preview, rendering fixes, better grouping 2019-10-05 11:04:50 +02:00
RodZill4
8ed10ccd02 Display value on slider and import improvements (support for ORM textures) 2019-10-01 23:15:36 +02:00
RodZill4
8c06cd3aa8 Updated import, preview and slider widgets 2019-10-01 08:34:08 +02:00
RodZill4
101de7f32b Removed useless print calls and started adding the "create subgraph" command 2019-09-27 08:28:33 +02:00
RodZill4
f512b977c6 Remote related fixes 2019-09-26 22:32:49 +02:00
RodZill4
027a311554 More remote node updates (only serialize is missing I guess...) 2019-09-25 23:29:06 +02:00