Hugo Locurcio
a249ebb5f4
Make the preview material double-sided for better visibility
...
This makes the material still render if the camera "enters"
the preview mesh. This can reduce disorientation when moving
the camera around.
2019-10-20 19:30:51 +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
a15ed1cf04
Add support for loading additional image formats
...
This also makes it possible to load JPEG images if they have a
`.jpeg` extension.
2019-10-20 19:07:45 +02:00
Rodolphe Suescun
80f8071d7b
Started updating convolution for computed matrices
2019-10-20 17:28:06 +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
Rodolphe Suescun
b44160b582
Moved preview stuff to a new directory. Slightly updated environments as described in #29
2019-10-20 08:50:32 +02:00
Rodolphe Suescun
c8414f47df
Updated switch node and refactored generator edit feature.
2019-10-20 00:59:51 +02:00
Rodz Labs
cdfc247fc1
Merge pull request #33 from Calinou/preview-enable-anisotropic-filtering
...
Enable 16× anisotropic filtering in the 3D preview
2019-10-19 23:45:58 +02:00
Rodz Labs
5e0bb3a356
Merge pull request #32 from Calinou/add-mailmap
...
Add a .mailmap file
2019-10-19 23:29:45 +02:00
Hugo Locurcio
f91f85d005
Enable 16× anisotropic filtering in the 3D preview
...
This improves rendering quality, especially when viewing the texture
at an oblique angle.
2019-10-19 22:40:28 +02:00
Hugo Locurcio
44f2456bed
Add a .mailmap file
...
This fixes duplicate authors when using commands such as
`git shortlog`.
2019-10-19 22:20:27 +02:00
Rodolphe Suescun
3076b279bd
Updated HTML5 export options and added code to copy examples to a browsable location.
2019-10-19 14:20:18 +02:00
Rodolphe Suescun
85e20dcb1d
Added icons for switch and buffer
2019-10-19 13:04:34 +02:00
Rodz Labs
49f5d54acf
Merge pull request #28 from Calinou/filter-shortcut-select-all
...
Select the text in the filter LineEdit when pressing the shortcut
2019-10-19 06:40:54 +02:00
Rodz Labs
4f03bf120e
Merge pull request #27 from Calinou/improve-user-manual-button
...
Improve the "User manual" button
2019-10-19 06:40:40 +02:00
Hugo Locurcio
dd8eeb2835
Select the text in the filter LineEdit when pressing the shortcut
2019-10-19 02:01:30 +02:00
Hugo Locurcio
40ff89846b
Improve the "User manual" button
...
The new behavior of `show_doc()` is as follows:
- Try to open packaged documentation first.
- If the above fails, try to open locally-built documentation
(useful during development).
- If it still fails, try to open the online version.
This also improves path handling to be smarter.
2019-10-19 01:46:25 +02:00
Rodz Labs
94213e7a1d
Merge pull request #26 from Calinou/improve-library-filter
...
Improve filtering in the library
2019-10-19 01:34:45 +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
Hugo Locurcio
d6bfbab92a
Improve filtering in the library
...
The filter box is now located at the top of the library tree,
as most search boxes are placed above the elements they search in.
Pressing Ctrl + F will now focus the filter box as well.
2019-10-19 00:38:02 +02:00
RodZill4
d3e34d42cb
Updated examples and added new ones
2019-10-18 08:36:25 +02:00
RodZill4
53c5fd4f56
Fixed shader generation problems revealed by Godot 3.2
2019-10-18 08:35:54 +02:00
RodZill4
c61b630122
Added HTML5 export option.
2019-10-18 07:30:32 +02:00
RodZill4
b7a54b3242
Updated the plugin with an option to register/unregister the importer, and added an option to skip .ptex imports.
2019-10-18 07:22:40 +02:00
RodZill4
1186cd44ca
improved kaleidoscope so it copies the centered top part of its source
2019-10-18 07:20:38 +02:00
Rodz Labs
45670c4d7a
Merge pull request #23 from Calinou/fix-mixed-indent-2
...
Fix recently added mixed indent in `main_window.gd`
2019-10-18 06:49:31 +02:00
Rodz Labs
65ece5f794
Merge pull request #24 from Calinou/improve-camera-zoom
...
Improve the camera zoom behavior
2019-10-18 06:48:58 +02:00
Hugo Locurcio
d7b16b8126
Improve the camera zoom behavior
...
- Invert the scroll wheel action to be more consistent with
most 3D programs out there (Godot, Blender, …).
- Clamp the camera distance to reasonable values.
2019-10-18 00:43:30 +02:00
Hugo Locurcio
0bb1fb3537
Fix recently added mixed indent in main_window.gd
2019-10-18 00:27:54 +02:00
Rodz Labs
b325d68f96
Merge pull request #21 from jackaperkins/keys
...
Make key shortcuts work on mac, move some keys to new View menu, fix backspace on mac
2019-10-17 22:29:26 +02:00
Rodz Labs
31a84fcc86
Merge branch 'export_plugin' into keys
2019-10-17 22:29:16 +02:00
Rodz Labs
02107023a4
Merge pull request #20 from Calinou/add-window-margins
...
Add margins to the window
2019-10-17 22:28:03 +02:00
Rodz Labs
90f57f7b4f
Merge pull request #19 from Calinou/enable-msaa
...
Use 4× MSAA for the 3D viewports
2019-10-17 22:27:31 +02:00
Rodz Labs
7afba7e6ce
Merge pull request #18 from Calinou/add-basic-hidpi-support
...
Implement basic hiDPI support
2019-10-17 22:23:57 +02:00
Rodz Labs
ab9c5ddac6
Merge branch 'export_plugin' into add-basic-hidpi-support
2019-10-17 22:23:45 +02:00
Rodz Labs
4212dee2a3
Merge pull request #17 from Calinou/set-minimum-window-size
...
Define a minimum window size when supported
2019-10-17 22:22:18 +02:00
Rodz Labs
0217d1989a
Merge pull request #16 from Calinou/fix-mixed-indent
...
Fix mixed indentation in `gen_switch.gd`
2019-10-17 22:21:37 +02:00
jack perkins
5cdc5e5b55
Add view menu, move C to center command to view menu, add ctrl+0 to reset zoom to view menu
2019-10-17 19:03:18 +02:00
jack perkins
738ec515c9
Make menu code swap control for command on mac OSX
2019-10-17 17:29:17 +02:00
jack perkins
e23a1eb00d
let KEY_BACKSPACE also delete selected nodes, for mac UX consistency
2019-10-17 16:36:43 +02:00
Hugo Locurcio
b0f47f9061
Add margins to the window
...
This prevents text from being next to the window borders,
which looks ugly and is difficult to read when in fullscreen mode.
2019-10-17 15:08:01 +02:00
Hugo Locurcio
880babaa03
Use 4× MSAA for the 3D viewports
...
This makes them look better thanks to reduced aliasing.
2019-10-17 14:55:42 +02:00
Hugo Locurcio
865c45b54c
Implement basic hiDPI support
...
This basic implementation simply upscales the viewport if needed.
This ensures crisp display regardless of the OS, and ensures
OS-specific fallbacks don't interfere with the program.
A proper hiDPI implementation will be needed to have better-looking
fonts and rendering.
This partially addresses #8 .
2019-10-17 14:47:38 +02:00
Hugo Locurcio
7d2ee73a1a
Define a minimum window size when supported
...
This prevents UI elements from collapsing when resizing the window.
2019-10-17 14:28:46 +02:00
Hugo Locurcio
7f9808a415
Fix mixed indentation in gen_switch.gd
...
Mixed indentation is no longer allowed in Godot's `master` branch.
This change allows Material Maker to run without script errors
when using the `master` branch.
2019-10-17 14:16:59 +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
Rodz Labs
2b67c5a4f5
Merge pull request #11 from jackaperkins/rotate_fix
...
Add button to turn on rotation animation in preview window
2019-10-16 22:53:53 +02:00