shadowislord
a676c51a50
* Test the RGB565 format in TestImageRaster (since it is supported on all platforms)
2015-01-23 22:44:38 -05:00
shadowislord
4797628d7b
* Remove GL1 technique from TerrainLighting.j3md
2015-01-23 22:44:10 -05:00
shadowislord
014d319c11
* Support desktop GL tracing in GLTracer
2015-01-23 22:42:42 -05:00
shadowislord
5bfc5b2c13
Renderer texture handling changes
...
* Relax NPOT texture restrictions on OpenGL ES 2:
allow non mip-mapped, non repeating NPOT textures - mainly used for GUI elements
* Fix various texture array issues:
- compressed textures were causing a GL error
- the array size was always set to 1 instead of the actual number of images in the array
2015-01-23 22:34:49 -05:00
shadowislord
fb6fb73239
* Fix incorrect class name in TestTextureArrayCompressed
2015-01-23 22:31:16 -05:00
shadowislord
8e7eae01a7
* Upgrade LWJGL version to 2.9.2
2015-01-23 22:30:04 -05:00
shadowislord
f33fb69803
Add default license for new files
2015-01-23 20:01:09 -05:00
Kirill Vainer
26e5ff7f53
Merge pull request #208 from AlrikG/compressed-dds-array-textures
...
Test case for compressed (DXT5) dds array textures
2015-01-23 19:55:22 -05:00
shadowislord
4633d9e546
Add GL wrappers for debugging and tracing
2015-01-19 18:20:54 -05:00
shadowislord
6f90009dab
Syntax error fixes related to previous changes
2015-01-19 18:19:48 -05:00
shadowislord
aaac8cb613
URA is now used by default on Android
2015-01-19 18:18:45 -05:00
shadowislord
6ca111b13d
Refactor renderer system
...
* Support OpenGL ES 2 in GLRenderer (various error fixes)
* Get rid of OpenGL 1 remenants
* Other minor cleanups
2015-01-19 18:15:25 -05:00
shadowislord
c5775ec30d
Use default JDK for travis build
2014-12-09 19:06:43 -05:00
shadowislord
ac2f765d5b
Cleanup GL interface from unused calls
...
Also modify glGet***InfoLog a bit to be more compatible with Android
2014-12-09 18:22:14 -05:00
shadowislord
373eaeae30
Match # of parallel build processes to number of CPUs for native builds
2014-12-09 18:07:38 -05:00
shadowislord
08ac64cd63
Remove GL autogen since the GL interface has now been generated and is final
2014-12-09 18:02:36 -05:00
shadowislord
33440fe5d0
Add missing android bullet libs (other platforms)
2014-12-09 18:00:01 -05:00
shadowislord
c6d0856480
Commit android library libdecodejme
2014-12-08 21:49:35 -05:00
Kirill Vainer
9b1b760056
Merge pull request #200 from GreenCubes/master
...
Fix loading FBX with absolute image path
2014-12-08 21:41:40 -05:00
shadowislord
d3258429ec
Use unified renderer architecture for LWJGL by default (other backends pending)
2014-12-05 22:36:55 -05:00
shadowislord
f189b94a4d
Implement the new GL interface for the LWJGL backend
2014-12-05 22:34:54 -05:00
shadowislord
bd318f5d1b
Introduce the unified renderer architecture for the OpenGL renderer
...
* Similar to the OpenAL URA, OpenGL calls are now made to an interface
which is implemented by the backends
* Major cleanups in the texture util code to handle GLES2 texture formats
* Split the GL interface into several interfaces depending on API and version:
- GL (common denominator for all GL APIs)
- GL2 (desktop GL2)
- GL3 (desktop GL3)
- GLFbo (framebuffer object functions)
- GLExt (desktop GL and OpenGL ES extensions)
* Added GLTracer class which traces OpenGL calls made by the engine when activated
2014-12-05 22:29:58 -05:00
shadowislord
d8b9c6dab5
Make Renderer.initialize() a standard method since everyone already uses it anyway
2014-12-05 22:15:40 -05:00
shadowislord
ad26e916ee
Update renderer capabilities
...
* Add capabilities not normally supported by GLES2 for unified renderer
* Remove ARBProgram since it isn't used by jME3
2014-12-05 22:13:28 -05:00
shadowislord
d7b3cfe287
GLAutoGen updates
...
* Remove caps generation since it is no longer used by LWJGL renderer
* Generate a separate interface GLExt for features only available in extensions to more easily detect their usage
* Fix some extension references
2014-12-05 22:09:42 -05:00
shadowislord
ae70667104
Deprecate WrapMode.BorderClamp since it is deprecated in OGL3+
2014-12-05 22:07:30 -05:00
shadowislord
610ac6ae24
Make sure Mesh.isAnimated() works for hardware skinning
2014-12-05 22:04:26 -05:00
shadowislord
a8c5e0f10d
Fix crash in tests that use the tree model
...
- Since UseAlpha material parameter was removed from lighting
2014-12-05 22:01:22 -05:00
shadowislord
bf603b8f28
Mark "jme3-android-native" as a native project
2014-12-05 21:58:00 -05:00
shadowislord
798ec94b11
Minor cleanup for previous merge
2014-12-05 21:09:55 -05:00
shadowislord
10ee96d839
Merge branch 'updateGeometricStateOptimization' of https://github.com/Bebul/jmonkeyengine
2014-12-05 18:46:55 -05:00
Kirill Vainer
41580062b8
Merge pull request #194 from tejbirwason/master
...
Added steps for proper Eclipse setup and steps to build project with Gradle
2014-12-02 00:14:40 -05:00
shadowislord
e3497dcf50
Switch from gradle 1.12 to 2.2.1
2014-12-01 23:41:13 -05:00
shadowislord
af58aeb779
Fix Renderer.copyFrameBuffer() exception
2014-11-28 11:43:52 -05:00
shadowislord
c7b6445a35
Fix exception when stopping non-cached audio stream
2014-11-27 11:51:45 -05:00
shadowislord
44db44ee56
Add updated bullet native android libs
2014-11-25 19:16:25 -05:00
shadowislord
17998b4006
Make sure core openal package is listed in SDK baselibs
2014-11-25 19:10:30 -05:00
shadowislord
9e02ef0d5d
Fixed various assertion errors in audio renderer
...
Added additional assertions and other checks where appropriate
2014-11-25 19:04:31 -05:00
shadowislord
9ce69eee62
Fix two issues with streaming OGG/Vorbis
...
- In certain cases, padding was present at the end of streams causing noticeable clicking when looped. This is handled by truncating the stream to its actual size.
- When playing an ogg stream without stream cache, an exception would be raised since the stream was closed prematurely
2014-11-25 18:57:54 -05:00
shadowislord
595eb56f9b
Throw exception if seeking a non-seekable audio stream
2014-11-25 18:51:23 -05:00
shadowislord
2ca1305ff5
Fix bullet native android build on latest NDK
2014-11-25 18:49:52 -05:00
shadowislord
ec6befeeaa
AWT panels: fix flipped coords when mouse pressed or released
2014-11-23 18:54:09 -05:00
shadowislord
595183fb64
Fix items in Translucent bucket not be rendered in AWT panels
2014-11-23 18:39:19 -05:00
shadowislord
64b3be5334
Fix incorrect animation when dynamically switching from SW anim -> HW anim
2014-11-21 21:44:16 -05:00
shadowislord
8426bb7baf
Officially switch to the new Android audio system (PART 2..)
2014-11-20 20:36:36 -05:00
shadowislord
be1f219f29
The old Android MediaPlayer based audio renderer is now deprecated
2014-11-20 20:33:30 -05:00
shadowislord
6cad69e067
Officially switch to the new Android audio system
...
Now uses OpenAL Soft 1.16 by default with the Tremor-based OGG/Vorbis decoder.
All jME3 audio features now work on Android.
2014-11-20 20:27:43 -05:00
shadowislord
915b0b8c61
Replace AtomicBoolean with Object as the audio thread lock
2014-11-20 20:24:23 -05:00
shadowislord
2ec7366fde
Initialize OpenAL context in the render thread
...
Also remove useless AndroidAudioRenderer from jme3-ios
2014-11-20 20:21:37 -05:00
shadowislord
62a235fbf7
Add streaming + looping support for Android vorbis audio
2014-11-20 20:07:42 -05:00
shadowislord
96c3e554f4
Disable NDK downloading for Travis CI build
...
NDK is multi-platform, so natives can be updated by developer.
2014-11-20 20:01:47 -05:00
shadowislord
4241ce9ead
Fix ESSL version parsing (incorrect prefix)
2014-11-20 20:00:28 -05:00
shadowislord
de0027eee3
Fix OGL version parsing
2014-11-20 19:40:31 -05:00
shadowislord
e1910fdff2
Fix OGG/Vorbis stream looping
...
Previously, a discontinuity occurred when looping an OGG/Vorbis stream,
this happens due to a bug in J-Ogg library. To work around this issue,
we load the logical ogg stream and vorbis stream from scratch based
on the already loaded existing OGG pages instead of using the
buggy setTime(0) call.
2014-11-19 23:59:52 -05:00
shadowislord
6bdebb937a
Assume OpenGL ES 2.0 is supported on ICS and higher devices
...
Fixes running jME3 in Android Emulator
2014-11-18 22:05:14 -05:00
shadowislord
18807cf175
Fix issue #138
...
Texture arrays not supporting compressed formats
Also fixed loading texture arrays with mipmaps
2014-11-18 21:13:50 -05:00
shadowislord
9965d20c44
Make sure we copy the mipmap sizes when generating texture array from images
2014-11-18 21:12:15 -05:00
shadowislord
a947bcb64b
Fix build error
2014-11-17 22:42:41 -05:00
shadowislord
a5699e9d82
Streaming audio data now works in a similar way to buffered data.
...
It is possible to loop streaming sources, as well as play
them again after they finished playing. It is possible to stop()
and then play() a streaming source to start playing from the
beginning. Essentially the lifecycle of a streaming audio
is now completely controlled by the user, in the same fashion
as buffered data.
In addition, AudioNode status updates (when an audio stops playing)
now occur every frame rendered, as opposed to every 50 milliseconds.
2014-11-16 13:14:33 -05:00
shadowislord
3b384a7e58
Minor cleanup in ALC interface
2014-11-16 13:08:36 -05:00
shadowislord
ad2a5366e1
WAVLoader now implements SeekableStream (but only if seeking to time = 0)
2014-11-16 13:02:51 -05:00
shadowislord
4e04f4629a
Native tremor decoder is now built in release mode
2014-11-16 12:59:49 -05:00
shadowislord
5f33bdfa95
JOAL audio renderer to use the unified OpenAL backend as well
2014-11-15 16:36:24 -05:00
shadowislord
a177ffa208
Fix syntax error when compiling jme3-lwjgl
2014-11-15 16:31:40 -05:00
shadowislord
7169b7433d
Updated Android OpenAL build based on latest changes
2014-11-15 15:20:53 -05:00
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)
2014-11-15 15:15:50 -05:00
shadowislord
e3c0b0ae38
Use ANDROID_NDK instead of ANDROID_NDK_HOME (that's what the build script uses)
2014-11-15 15:15:50 -05:00
shadowislord
196744eec5
Extract NDK silently (pipe to /dev/null)
2014-11-14 23:36:18 -05:00
shadowislord
d0a3ffe06c
Make sure the 7z command is available prior to using it
2014-11-14 23:32:32 -05:00
shadowislord
d88cbc3f87
Do not execute Android NDK, but extract via 7z
2014-11-14 23:30:19 -05:00
shadowislord
c25fee7048
Try to fix the build again ..
2014-11-14 23:22:37 -05:00
shadowislord
beecab863a
Make Travis CI fetch Android NDK (see if it works ..)
2014-11-14 23:10:45 -05:00
shadowislord
c3542649b5
Fix the issue mentioned in PR #186
2014-11-12 22:11:46 -05:00
shadowislord
c8a2a7260e
Correct the previous PR a bit
...
* Support 1D and 3D texture coordinates specified by ogre exporter as well as 2D
2014-11-12 22:03:57 -05:00
shadowislord
29be17fa35
Merge pull request #187 from NemesisMate/master
...
Fixed "float2" added by some generators
2014-11-12 22:00:02 -05:00
shadowislord
d7a152e9a8
TremorAndroid: properly set the 'LIMIT_TO_64kHz' define
2014-11-12 21:56:28 -05:00
shadowislord
ba91da8db4
Tremor decoder now working on Android
...
* fixed issue where FileDesc_read() would cause a stack overflow
* fixed incorrect NativeVorbisFile field values
* properly indicate that streaming is not supported yet
2014-11-12 21:47:36 -05:00
shadowislord
0c83407f99
Try to fix Travis build error
2014-11-12 20:32:00 -05:00
shadowislord
2556f67a15
Implemented the rest of the missing functions in NativeVorbisFile
2014-11-11 23:24:29 -05:00
shadowislord
acdeba4a4d
Travis: Use Oracle JDK8 for building
2014-11-11 19:39:19 -05:00
shadowislord
54979b33e3
Enable SDK build again by default (seems to work on Travis now)
2014-11-11 19:28:57 -05:00
shadowislord
891ffa175d
More work on vorbis decoder
...
* added support for decoding from a section of a file descriptor (needed if decoding from an asset inside APK)
* implemented seek function
2014-11-11 19:11:52 -05:00
shadowislord
d8c5985a73
Disable SDK build by default (maybe Travis can handle it then)
...
Fix compile error in jme3-android project
2014-11-11 18:18:57 -05:00
shadowislord
5f84147154
Fix issue where loading material parameters from J3O would fail
2014-11-11 17:55:47 -05:00
shadowislord
d6e427a50f
Update .gitignore with new ignore files for jme3-android-native project
2014-11-11 17:35:17 -05:00
shadowislord
95ae7c386f
Added the travis.yml file, maybe it will do something interesting
2014-11-10 23:38:16 -05:00
shadowislord
e17375665d
Fix crash when loading ogre models due to changed lighting material
2014-11-10 23:30:59 -05:00
shadowislord
302ca00a3c
Remove STBI image libs which will not be used anymore
2014-11-10 23:28:55 -05:00
shadowislord
89aac97a4a
Fix crash when using AndroidNativeImageLoader due to changed lib name
2014-11-10 23:27:56 -05:00
shadowislord
5f0c2035c1
android native improvements
...
* rename jme_stbi -> jme_decode, which is a new native library that will handle image and audio decoding in native code
* add a special version of tremor designed to run on android
* adjust the build process to handle these changes
2014-11-10 21:52:04 -05:00
shadowislord
14bfc7e166
Minor cleanups (no functionality change)
2014-11-09 17:34:36 -05:00
shadowislord
e6df8b1e49
Remove deprecated ConfigType
2014-11-09 17:33:06 -05:00
shadowislord
1a8e6f1644
Reuse bindProgram in OGLESShaderRenderer
2014-11-09 17:32:27 -05:00
shadowislord
4717e7006f
Goodbye, OpenGL1
2014-11-09 12:29:28 -05:00
shadowislord
c2b9b8a2e1
Fix JDK8 build for the rest of SDK plugins
2014-11-09 12:22:05 -05:00
shadowislord
5905a684ad
Fix SDK build on JDK8
2014-11-09 12:15:08 -05:00
shadowislord
0c41d1725f
Remove deprecated formats from Image (w/o changing enum ordinal)
2014-11-09 11:55:51 -05:00
shadowislord
eaa5a15f39
Remove use of deprecated image formats (IOS)
2014-11-09 11:54:34 -05:00
shadowislord
1dfa4d4c0d
Remove usage of deprected image formats (JOGL)
2014-11-09 11:53:12 -05:00
shadowislord
62cfbc8a3e
Remove usage of all deprecated image formats
2014-11-09 11:50:57 -05:00