Daniel Johansson
00e2717c7c
Fixed an issue where on linux using jme-lwjgl3 module would cause the windows dll to be loaded instead of the linux so native library.
9 years ago
Kirill Vainer
810c7b6fa6
native loader: set lwjgl library path for lwjgl3
9 years ago
Daniel Johansson
5e8f5e6a1f
Updated lwjgl3 module to use LWJGL 3.0.0b #35 which is the current stable build.
9 years ago
Daniel Johansson
d48a1bb998
Removed native library jemalloc.dll for LWJGL3 as this will not be needed until 3.0.0b and after.
9 years ago
alexVengrovsk
2eb2cdac60
Delete close() of ByteArrayOutputStream type objecs
...
According to the Oracle's docummentation: "Closing a ByteArrayOutputStream has no effect. The methods in this class can be called after the stream has been closed without generating an IOException." (http://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutputStream.html#close() )
9 years ago
Daniel Johansson
30cdca7ad7
Native library loading is back to the way it used to be with the addition of LWJGL 3.x libraries added with a different key.
...
Moved LWJGL 3.x repository definition to build.grade in that module.
Fixed an issue where frame rate limit would cause GLFW frequency window hint to be set rather than use a software limiter.
Removed LWJGLTimer for lwjgl3 module, no need for it any more, we'll just use the NanoTimer.
Removed LWJGLCanvas for lwjgl3 module, can't implement this so we'll leave it for now.
9 years ago
Daniel Johansson
8f77dca931
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago
Daniel Johansson
89f10eca58
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago
shadowislord
068047200e
Threads: standardize names. Make sure they all start with "jME3".
10 years ago
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
10 years ago
shadowislord
25b1780e09
AssetManager: remove useless subclasses
...
* All platforms now use asset configuration files. Subclasses of DesktopAssetManager no longer required.
* Added general asset config file which is included by all
* JmeSystemDelegate now always returns DesktopAssetManager
* JmeSystem is now responsible for providing the platform-specific asset config path
* Deprecate JmeSystem.createImageRaster(), it is simpler to create a DefaultImageRaster
10 years ago
Nehon
dd66d21147
Changed jME's default splash screen
10 years ago
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.
10 years ago
shadowislord
b300915092
NativeLibraryLoader: use the OS's cache folder instead of home folder for storing natives
10 years ago
shadowislord
51c8894e03
NativeLibraryLoader: Fix crash when working directory not writable
...
Loder -> Loader
10 years ago
shadowislord
253c3ac80d
JmeSystem: print build info on initialization
10 years ago
shadowislord
66d4763a04
Fix issue #204
10 years ago
shadowislord
30efc7ce86
ScreenshotAppState to use old FB read-back
...
Also, set compression quality for JPG to 95% (same as on Android)
10 years ago
shadowislord
2fb87f9682
SettingsDialog to choose closest refresh rate to 60 for fullscreen modes
10 years ago
shadowislord
3f4ce758e7
* Use INT_BGR format in AwtPanel - allows using old compatible readFrameBuffer
10 years ago
shadowislord
8f9dfcc7c1
NativeLibraryLoader: Allow specifying the filename that the extracted library should have (needed for certain workarounds..)
10 years ago
shadowislord
3991123073
NativeLibraryLoader: Don't load LWJGL / JInput when they are not found in classpath
...
* LWJGL / JInput have their own loading mechanism which works fine when they are in java.library.path (e.g. when bundling)
10 years ago
shadowislord
2cc601edc3
NativeLibraryLoader: Don't gobble the exception message when loading via System.loadLibrary()
10 years ago
Normen Hansen
a6d67ed92b
- add executable class for extracting binaries and getting a list of jar file excludes to be used in build systems
10 years ago
Normen Hansen
50134899f8
- remove adding for 64 ending for natives
10 years ago
shadowislord
32cfca495d
* NativeLibraryLoader: Add method to get a list of jars that contain known natives
10 years ago
shadowislord
56a187f77a
* NativeLibraryLoader: Add method to extract a platform's natives
10 years ago
Normen Hansen
5c9fee7a7e
- update library names for lwjgl 2.9.2 on OSX
10 years ago
Normen Hansen
32f4245aff
- fix osx bullet binary path
10 years ago
Normen Hansen
fd78498bc8
- fix NativeLibraryLoader using deprecated Natives class for hash generation
...
- fix bullet native file name for OSX
10 years ago
Nehon
50ec3023d4
Fixed ScreenshotAppState, VideoRecorderAppSate, AwtPanel and TestRenderToMemory so the frameBuffer is read with an BGRA8 format
10 years ago
iwgeric
d42a777909
Add showSoftKeyboard(boolean show) to JmeSystem.
...
Includes empty implementations for now. Android to be implemented in next commit.
10 years ago
shadowislord
ec6befeeaa
AWT panels: fix flipped coords when mouse pressed or released
10 years ago
shadowislord
595183fb64
Fix items in Translucent bucket not be rendered in AWT panels
10 years ago
shadowislord
5f33bdfa95
JOAL audio renderer to use the unified OpenAL backend as well
10 years ago
shadowislord
91715c4a48
Add support for URA, or Unified Renderer Architecture for audio
...
* Unified all renderers into common class 'ALAudioRenderer'
* LWJGL and Android now implement the AL / ALC / EFX interfaces to provide a common OpenAL backend for jME
* Added support for OpenAL Soft "Pause Device" extension, which allows the engine to pause the context while running in the background (currently requires OpenAL soft 1.16 and thus is Android only feature)
10 years ago
shadowislord
62cfbc8a3e
Remove usage of all deprecated image formats
10 years ago
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.
11 years ago
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
11 years ago
shadowislord
34826360d6
* Native bullet was marked as a non-JNI library for some reason - that's fixed now
11 years ago
shadowislord
48ccb0fe56
* Fix jinput native library loading - now the JNI library name is based on the name in the jar
11 years ago
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()
11 years ago
shadowislord
2ca99b83de
* More javadoc in NativeLibraryLoader
11 years ago
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.
11 years ago
shadowislord
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
11 years ago
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).
11 years ago
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
11 years ago
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
11 years ago
Hannes Nevalainen
2b8cdbb34c
Fix for the ErrorDialog.
...
Turns out the imporved error dialog was less helpful than the old one...
11 years ago
Hannes Nevalainen
57adc00909
A better error dialog.
11 years ago