Commit Graph

175 Commits

Author SHA1 Message Date
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 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
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 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 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
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
jack 44ee81e351 Add button to turn on rotation animation in preview window 2019-10-16 15:08:21 +02:00
RodZill4 74959637bd Size parameter fix and better preview UI 2019-10-14 20:42:11 +02:00
RodZill4 477eec692b Fixed normal map and updated 3d preview 2019-10-13 22:06:13 +02:00
RodZill4 28654f3eba Updated base library and added truchet generator 2019-10-13 10:14:43 +02:00
RodZill4 4dbfd6be75 Added comment nodes 2019-10-12 08:30:46 +02:00
RodZill4 8006f07e04 Updates in transform and voronoi, and compatibility fix
- Fixed compatibility with v0.5 files
- Added a randomness parameter to voronoi
- Changed tranform order (translate applies first so rotate and scale are relative to the center of the source)
2019-10-12 07:10:25 +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 f66cd9a71b Added preview icons and filter to library pane 2019-10-08 22:17:33 +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 4cfd8fbc1e Fixed generic node update and added weave generator 2019-10-05 22:24:00 +02:00
RodZill4 8651569f2b Fixed problem with preview and generic node update 2019-10-05 19:50:44 +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 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 b861cf446d 3d preview can now be rotated manually 2019-09-29 21:53:32 +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 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
RodZill4 bd24b3e87e More progress on remote, bug fixes, cleanup and changes for standalone release 2019-09-25 08:04:36 +02:00
RodZill4 201f911f75 More progress on remote and various fixes 2019-09-24 22:25:46 +02:00
RodZill4 8af2c04f91 Mmore progree on remotes and hierarchy 2019-09-22 22:17:26 +02:00
Rodolphe Suescun afb84a85cf Started implementing remote node 2019-09-20 20:43:57 +02:00