4754 Commits

Author SHA1 Message Date
shadowislord
abb2b784e0 Javadoc: Add engine overview 2015-02-21 15:39:10 -05:00
shadowislord
85bba59541 OgreXML: Use the placeholder texture for missing textures 2015-02-21 15:35:07 -05:00
Bebul
ed369135fa fix renderShadow optimization to work on multiple scenes attached to viewPort properly 2015-02-20 11:58:49 +01:00
Nehon
dd66d21147 Changed jME's default splash screen 2015-02-19 23:03:41 +01:00
Nehon
b3cdc1c3d2 Warning cleanup.
Changed default composer camera angle
Displayed the grid by default
2015-02-18 21:52:14 +01:00
Nehon
21179dc132 Changed standard lighting to blinn phong instead of phong only 2015-02-18 20:39:45 +01:00
Nehon
c3ab5b3748 SceneToolController AppState is now always after the CameraController in the AppState list in the SceneApplication 2015-02-18 00:27:13 +01:00
Nehon
52ebd9090c Prevented scaling to kick in when pressing ctrl+S in the SDK to save the scene. 2015-02-17 20:35:37 +01:00
Nehon
9f4d72cfc0 Tweaked the background colors of the viewports in the SDK 2015-02-16 15:49:46 +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
55195bd996 SDK scene viewer and previews are now gamma corrected 2015-02-16 14:49:00 +01:00
Nehon
2aa50694b8 Awt Panel now supports gamma correct pipeline. Default stays non srgb for backward compatibility. But IMO it should be set to srgb by default to promote the srgb pipeline. 2015-02-16 14:48:57 +01:00
Normen Hansen
ea2e25c2e6 - update SDK library definitions for NiftyGUI 1.4.1 2015-02-16 12:50:14 +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
normen
0e6bc92d19 Merge pull request #213 from void256/master
feature: Update Nifty GUI to version 1.4.1
2015-02-15 23:20:21 +01:00
void
d4ade2473f feature: Update Nifty GUI to version 1.4.1
This commit updates Nifty to version 1.4.1 and makes all
the necessary changes to the JME-Nifty integration to be
compatible with this version of Nifty (manily support of multiple
texture atlases in the batch renderer and some minor changes
like the removal of some *Null classes).

Most User code should still be able to compile with this change.

However, the NiftyJmeDisplay constructor that requires the
width and height of the texture atlas has been deprecated in
favour of the newly added static factory methods:
NiftyJmeDisplay.newNiftyJmeDisplay(). The new methods
add support for the Nifty BatchRenderConfiguration class that
allow further configuration of some rendering details.

The testcase jme3test.niftygui.TestNiftyGui has been modified
to use the new methods and seems to render fine for me.

Most of Nifty 1.4.1 should be compatible with old versions of
Nifty. However some compile-time incompatibilities might
exists to old 1.3.x code. Additionally some internal mechanism
have been modified with 1.4 so there might be additional runtime
incompatibilities as well.
2015-02-15 23:17:18 +01:00
shadowislord
4090b6f1de OgreXML Loader: set jME3 material name based on ogre material name 2015-02-15 17:01:12 -05:00
shadowislord
6c770d524d Application: add waitFor flag to start()
Allows user to wait for app to initialize first before doing other actions
2015-02-15 16:47:11 -05:00
shadowislord
d9cc9003ba GLRenderer: update viewport even if FBO ID already set
The inherited viewport state could be outdated or incorrect, this makes sure it matches exactly
2015-02-15 16:45:07 -05:00
shadowislord
ec2f47225c RenderContext: remove obsolete state from GL1 renderer 2015-02-15 16:44:10 -05:00
shadowislord
9651d6d822 GL interface: add support for PBO, FB readback, and fences (ARB sync) 2015-02-15 16:42:42 -05:00
shadowislord
fb7708af24 GLRenderer: Fix modifyTexture(). Clarify documentation. 2015-02-15 16:38:23 -05:00
shadowislord
b300915092 NativeLibraryLoader: use the OS's cache folder instead of home folder for storing natives 2015-02-15 16:18:04 -05:00
shadowislord
51c8894e03 NativeLibraryLoader: Fix crash when working directory not writable
Loder -> Loader
2015-02-15 14:05:33 -05:00
iwgeric
4baceb6a08 fixed compilation issues in deprecated OGLESShaderRenderer, IGLESShaderRenderer, and JoglRenderer caused by earlier commit 2015-02-14 10:27:23 -05: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
9500b43aa9 some clean up in the ShaderGenerator 2015-02-13 10:43:01 +01:00
Nehon
5e3e8fbd6e fixed compilation issue in deprecated LWJGLRenderer 2015-02-13 09:25:59 +01:00
Nehon
53a40c887e Fixed shader error output. the shader source code was appended twice in the log. 2015-02-12 22:43:03 +01:00
Nehon
5b6b33c8f5 The shader generator now supports swizzle on the left variable of a mapping :
input mapping vec3 v3.xy = v2
will generate
vec3 v3 = vec3(0.0);
v3.xy = v2;
As this statement can't be done in one line.
2015-02-12 22:32:59 +01:00
Nehon
a04a304954 Fixed an error where matching swizzle were reported as wrong when using swizzle of type vec3 v3 = v2.xxy 2015-02-12 22:29:44 +01:00
Nehon
3acd6b2f33 Fixed the error message when types/swizzles in a variable mapping do not match 2015-02-12 22:27:51 +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
shadowislord
629c007cd4 DDSLoader: fix loading 16-bit images (as exported by PVRTexTool) 2015-02-10 20:16:51 -05:00
shadowislord
badefdf4e4 Fix OgreXML loading crash when no material specified for geometry 2015-02-10 20:15:29 -05:00
shadowislord
809092c236 Allow application to be a resizable window.
Also allow buffer swapping to be disabled, e.g. for Oculus Rift.
2015-02-10 20:14:36 -05:00
shadowislord
1fc730c78a Add ThrottleOnLostFocus - a slightly less crappy version of PauseOnLostFocus 2015-02-10 20:12:38 -05:00
shadowislord
8ae04fd1fb PlaceholderAssets: when assets fail to load, try to make the error appear visually 2015-02-10 20:10:43 -05:00
Nehon
0ebb3acb16 Fixed an issue with the ShaderNodeGenerator that was missing some variable names in cases like that ',myVar,myVar.x' 2015-02-10 22:41:23 +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
shadowislord
4b079ea480 DesktopAssetManager: remove weird logging in loadTexture 2015-02-09 21:09:22 -05:00
shadowislord
c818ee9c5c IosAssetManager: Remove nearest filtering override (old code) 2015-02-09 21:08:33 -05:00
shadowislord
253c3ac80d JmeSystem: print build info on initialization 2015-02-09 21:07:59 -05:00
shadowislord
eda5e983da context/renderer: let renderer print out graphics hardware info 2015-02-09 21:06:50 -05:00
shadowislord
bbbfdb851a GLRenderer: log texture formats as Level.FINE 2015-02-09 21:03:05 -05:00
Nehon
963c3d7e61 Fixed some typo in some comments in Material.java 2015-02-10 00:48:41 +01:00