4986 Commits

Author SHA1 Message Date
michael
46a48f466d Added loaders to ShaderCheck 2015-02-23 20:27:08 +01:00
michael
1949a7d831 Added GL4 Interface,
Added GL_*_SHADER constants
Added Caps to the Renderer
Added required converters
2015-02-23 20:23:18 +01:00
michael
0d3292c83a Refactoring of the shader system to allow addition of new shaderstages 2015-02-23 19:59:11 +01:00
michael
ab4d665b3e Fixed typo 2015-02-23 18:46:16 +01:00
michael
3ced941c53 Added geom,tsctrl and tseval to the GLSLLoader 2015-02-23 18:45:56 +01:00
michael
a1146f7676 Added TesselationEvaluation and TesselationControl enums 2015-02-23 18:41:14 +01:00
michael
0c35b20412 Added Patch as MeshMode
Added private variable patchVertexCount
2015-02-23 18:38:11 +01:00
michael
e45d5c093d *Added Caps:
GL3.3
 GL4.0
 GLSL400
 TesselationShader
2015-02-23 18:33:40 +01:00
shadowislord
621f6de083 Terrain GLSL shader: fix incorrect glsllib import
- (PhongLighting -> BlinnPhongLighting)
2015-02-22 16:51:50 -05:00
shadowislord
2f86e0c17b Delete TestTriangleStrip
- since triangle stripper was removed, this test was not compiling
2015-02-22 16:04:01 -05:00
shadowislord
14ff6e4f29 SinglePass Lighting: support two sided lighting
- also added test case with both regular per pixel lighting and bump mapping
 - NOTE: two sided lighting is not supported with vertex lighting
2015-02-22 15:47:56 -05:00
shadowislord
270f4957ef SinglePass Lighting: fix GLSL syntax error when parallax mapping is used 2015-02-22 15:45:23 -05:00
shadowislord
d6a4ba41b4 Image: request mipmaps to be re-generated if image data is modified
- fixes ImageRaster modification not updating mipmaps bug
2015-02-22 15:43:54 -05:00
shadowislord
50f0eca3e6 Skeletal Animation: remove shared mesh support
- shared meshes in J3O / OgreXML are automatically de-shared on import, so this functionality is no longer used in the engine
2015-02-22 15:42:48 -05:00
shadowislord
5760a48eea Skeletal Animation: remove deprecated SkeletonControl ctor
- it is not useful, because targets / materials are gathered on every update() call
2015-02-22 15:41:10 -05:00
shadowislord
c5359c7359 Animation Track interface: add getKeyFrameTimes() method 2015-02-22 12:49:31 -05:00
shadowislord
d281920e60 GLSL Lighting Lib: fix flickering on directional lights in sRGB mode 2015-02-22 12:47:55 -05:00
Nehon
7037d8cc62 Changed j3o icon 2015-02-22 14:22:05 +01:00
Nehon
00e939b32b SDK About dialog update, with year's copyright, correct website URL and credits for icon sets 2015-02-22 14:12:31 +01:00
Nehon
160aa13942 Complete SDK icons overhaul. 2015-02-22 13:01:11 +01:00
shadowislord
9d715cdd2b Lighting GLSL library: use inverse square falloff for lighting in sRGB mode
- It is a slightly modified equation that actually terminates the light's influence at the light radius
2015-02-21 22:50:29 -05:00
shadowislord
4e7d7fd2f1 GLRenderer: inject SRGB define if texture linearization is enabled 2015-02-21 15:52:42 -05:00
shadowislord
8b300f5109 jME3 tools: delete triangle stripper 2015-02-21 15:43:26 -05:00
shadowislord
9759e24961 OgreXML materials: inherit more parameters from TextureKey
Allows modifying the key in a AssetLoadListener to modify the anisotropic filter
2015-02-21 15:40:42 -05:00
shadowislord
9ad1992681 SimpleWaterProcessor: Use linear filtering for reflection / refraction textures 2015-02-21 15:39:58 -05:00
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