15 Commits

Author SHA1 Message Date
shadowislord
e637cd0b7a * NativeLibraryLoader: More hacks .. Use the proper loading method based on the library name.
* TestNativeLoader: More concrete test that uses a custom natives folder and ensures all natives load properly and prints their versions.
2014-06-07 14:09:42 -04:00
shadowislord
36483c4b49 * Avoid conflicts when extracting both 64-bit and 32-bit libraries to the same folder .. This is mainly for the bulletjme library which doesn't specify "64" at the end of the filename 2014-06-06 21:18:50 -04:00
shadowislord
34826360d6 * Native bullet was marked as a non-JNI library for some reason - that's fixed now 2014-06-06 21:15:24 -04:00
shadowislord
48ccb0fe56 * Fix jinput native library loading - now the JNI library name is based on the name in the jar 2014-06-06 21:05:15 -04:00
shadowislord
54ffe15dda * Switch to new native library loader
* Deprecate old library loader
 * Add warning when the requested number of antialiasing samples cannot be satisfied
 * Cleaned up LwjglContext.determineMaxSamples()
2014-06-06 20:39:37 -04:00
shadowislord
2ca99b83de * More javadoc in NativeLibraryLoader 2014-06-05 23:59:24 -04:00
shadowislord
948fdb21eb * Add new flag to Platform enum which specifies if its 32-bit platform or 64-bit.
* Add new but currently unused native extraction engine which supports user-specified native libraries as well as deferred extraction of libraries.
2014-06-05 22:32:06 -04:00
shadowislord
6b12d5c638 * Fix many javadoc errors mostly related to incorrect HTML or missing references 2014-05-31 13:12:46 -04:00
Nehon
8ff6f8df24 Introduced a new Enum ColorSpace.
One can now mark a texture param in a material definition as linear by using -Linear at the end of the parameter declaration (case insensitive).
An Image bound to a material texture param in a linear color space will have its ColorSpace set to linear when bound to the material by mat.setTexture("name", texture);
Added the -LINEAR flag to all texture param that needed it in stock materials (lighting.j3md, terrainLighting.j3md, different Filter materials).
2014-05-26 12:11:57 +02:00
Nehon
e4ba4e9e9e - Image loaders now assume ALL images are in sRGB space and set the flag accordingly
- All images constructors now take the isSrgb flag as a parameter, all engine classes has been changed to accommodate the change, old constructors has been deprecated for backward compatibility. One should always ask himself in which color space is an image if dealing with gamma correction
- Gamma correction has been defaulted to false in the appSettings
2014-05-26 12:11:56 +02:00
Nehon
a23038430c - Added an AppSetting param for gamma correction, defaulted to true.
- Added a filed in the Setting dialog to toggle gamma correction on and off
2014-05-26 12:11:55 +02:00
Hannes Nevalainen
2b8cdbb34c Fix for the ErrorDialog.
Turns out the imporved  error dialog was less helpful than the old one...
2014-04-17 17:08:41 +02:00
Hannes Nevalainen
57adc00909 A better error dialog. 2014-04-01 17:24:45 +02:00
sgold@sonic.net
b200db1a3c fix for GitHub issue #115 (GoogleCode issue #638) as discussed at http://hub.jmonkeyengine.org/forum/topic/proposed-fix-for-issue-638 2014-03-26 14:32:25 -07:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00