125 Commits

Author SHA1 Message Date
Nehon
022899c199 Changed the way texture previews are done in the SDK.
All texture loading is now done on JME's thread and not on the awt thread anymore to avoid to stall the UI when loading big textures.
2015-11-20 16:29:08 +01:00
MeFisto94
7d07cedc4c Fixed Issue #46 : The MaterialViewer will now simply ignore not available textures instead of crashing 2015-10-07 23:02:38 +02:00
Nehon
55db59d510 Fixed an issue in the shader node editor where the editor was failing to open a definition when a variable name began with m_ 2015-08-15 10:31:23 +02:00
Kirill Vainer
c69aac25b5 sdk plugins: fix link to jME3 website 2015-08-09 17:03:12 -04:00
Kirill Vainer
e2d41ef8ee sdk: change javac source / target to 1.6 2015-08-08 22:13:40 -04:00
Nehon
5989711f73 Added multi selection to the ShaderNode editor.
One can now select several items by left clicking with ctrl or shit held.
One can now move all selected items at once.
One can now delete all selected items at once.
2015-07-15 23:55:33 +02:00
Nehon
001f3f8f0e SDK : Fixed an issue where the shader cide template was not generated properly when creating a shader node definition. 2015-04-17 20:17:04 +02:00
shadowislord
b7c2050487 SDK: fix compliation 2015-03-19 22:48:01 -04:00
Nehon
851af2f7bc MaterialPreviewRenderer now loads the material in a separate thread to avoid to stall the awt thread.
This and the previous change makes the material editor a lot faster to open when the loaded material has big textures.
2015-03-01 23:35:02 +01:00
Nehon
33222e33be Texture previews in the Material Editor are now processed in a separate thread 2015-03-01 23:35:01 +01:00
Nehon
f31fee4f9a Warning clean up in DDSPreview, TexturePanel and WidgetFactory before making an actual change 2015-03-01 23:34:58 +01:00
Nehon
440009c3ac Remove warnings from MaterialEditorTopComponent 2015-03-01 23:34:56 +01:00
Nehon
2fb6eac744 Used a LinkedHashMap for mat params map in the Material editor in the SDK so that mat params are displayed in the same order as in the j3md file. 2015-03-01 23:34:55 +01:00
shadowislord
a374e73376 AssetManager: adjust usage according to latest changes 2015-03-01 15:14:30 -05:00
shadowislord
40926dc32d AssetConfig: Platform asset config now returned as URL
- Return back DesktopAssetManager constructor with boolean argument - this time it shall use platform config instead of always using Desktop.cfg
2015-03-01 15:11:57 -05:00
Nehon
160aa13942 Complete SDK icons overhaul. 2015-02-22 13:01:11 +01:00
Nehon
0e1619c01b Fixed an issue that prevented the preview to be displayed properly in the material editor 2015-02-16 15:13:07 +01:00
Nehon
f1b038796e One can now add a new technique to a mat def with the node Editor.
Also added an experimental auto layout feature
2015-02-15 23:22:33 +01:00
Nehon
f9d8a88bba Silenced the TangentBinormalGenrator logger for the shader node editor as the warnings are irrelevant. 2015-02-13 19:06:18 +01:00
Nehon
ff877160e8 One can now select the technique in the shader node editor through a combo box in the tool bar 2015-02-13 18:14:21 +01:00
Nehon
1286fa0fba More controls when connecting inputs and outputs in the node editor 2015-02-13 12:33:06 +01:00
Nehon
2670026552 Fixed a documentation issue in the shader node definition wizard 2015-02-11 23:08:41 +01:00
Nehon
76fe370cf1 Removed the code display button for nodes that don't have code. 2015-02-11 22:47:38 +01:00
Nehon
ae8474cb57 Added some icons to edit and delete a node in the shader node editor 2015-02-11 22:20:54 +01:00
Nehon
2066c98dd0 Fixed background color in some node editor windows to fit with a dark theme 2015-02-10 18:48:32 +01:00
Nehon
edf5db0f44 Fixed context menu display in the node editor 2015-02-10 00:48:32 +01:00
Nehon
58480c0926 New Colors for the node editor 2015-02-10 00:48:03 +01:00
Nehon
400a03c507 Shader Node's editor connections are now curved lines. 2015-02-10 00:47:53 +01:00
Nehon
0351f9e60f added a drag and drop to scroll feature to the node editor with the mouse wheel click. 2015-02-08 18:06:32 +01:00
Nehon
212a2d6e96 Millions of fixes, fixes for me
- Fixed hanging save on a Material definition file.
- Fixed Node editor blow up when changing a shader node definition content.
- Enhanced error reporting.
- and many more.
2015-02-07 00:42:06 +01:00
Nehon
e14c30a3cf Enhanced the ShaderNodeDefinition creation wizard 2015-02-07 00:39:15 +01:00
Nehon
c310b933c9 Added proper undo/redo support in the shader editor 2015-02-04 22:18:11 +01:00
Nehon
7c88da9d5c Created a backdrop image for the ShaderNode editor 2015-02-03 23:21:25 +01:00
Nehon
06e9618a4b Proper save handling for the shader editor. 2015-02-03 23:21:17 +01:00
Nehon
d637380e56 Fixed a saving issue in the shader Nodes Editor 2015-01-31 23:09:17 +01:00
Nehon
0f346ee196 More fixes to panels color so that it uses the one from the LAF 2015-01-31 17:24:34 +01:00
Nehon
7f8763e8f0 fixed colors of the material editor so that it fits with any LAF 2015-01-31 16:50:16 +01:00
Nehon
576e18b376 You can now directly edit shader node's code inside the shader node editor and benefit from a live reload feature of the shader. 2015-01-29 23:51:26 +01:00
Nehon
a047376d70 Some clean up in the ShaderNode editor 2015-01-29 23:51:19 +01:00
Normen Hansen
0167955e80 - check for ProjectAssetManager when adding MaterialOpenSupport 2015-01-29 23:20:24 +01:00
Normen Hansen
4f7a4b19fd - suppress warnings in Material Support plugin 2015-01-29 15:32:47 +01:00
Nehon
1cb9edd07a More drastic approach to clear the cache when updating the material definition in the shaderNode editor so that changes in shader files are properly taken into account 2015-01-28 23:43:26 +01:00
Nehon
539dcf9c82 Added glsl syntax highlighting to the generated shader view in the ShaderNode editor.Worksif text/x-glsl mime type is recognized by any installed syntax highlighting plugin. 2015-01-26 23:25:42 +01:00
Nehon
b0995bcf55 Sanity check when creating ShaderNode editor metadata. 2015-01-26 23:23:20 +01:00
Nehon
4668621c95 the MaterialPreviewRenderer now properly clears the cache before rendering a preview 2015-01-26 21:08:10 +01:00
Normen Hansen
288f58766b - fix material editor imports 2015-01-24 14:42:17 +01:00
Rémy Bouquet
f36cdfe0b9 Created a ShaderNodeDefinition creation wizard 2015-01-23 16:03:23 +01:00
Normen Hansen
1a59cf5318 - update some genfiles for NB 8.0.2 2015-01-23 13:57:06 +01:00
Normen Hansen
ccee90dc98 - update NetBeans dependencies for NB 8.0.2 2015-01-23 12:36:12 +01:00
Normen Hansen
0bbc176e40 - Move Material Support layer registration to Annotations 2015-01-22 21:48:26 +01:00