pot..om
16851eb1d8
Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
ac0f3a107c
* Fix issue where setting texture on renderer with no mipmaps and then setting the same texture with mipmaps would prevent them from being generated (fixed for desktop GL1/GL2 and android)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
pot..om
bb631ab13a
Adding support for defining external (or internal in Android's case) sensors. This is still a work in progress. Major task yet to complete is defining the coordinate system to return the sensor data. 3 sensor types are defined: Magnetic, Accelerometer, Orientation. Right now the sensor data is returned in device coordinates for Magnetic and Acceleration, and World (Earth) coordinates for Orientation. Sensors use the Input Manager to define triggers and listeners like all other input types. Only Android has an implementation for SensorInput at this time. See forum post http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for details of the operation and current status.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
pot..om
48b40f4e3c
Fixed issue where MOVE events were being generated even if the deltaX and deltaY were both 0. Now MOVE events with both deltaX and deltaY values of 0 will not be generated. See post http://jmonkeyengine.org/groups/android/forum/topic/differentiating-tap-from-a-quick-downmoveup/
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9596 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
pot..om
242f5d82f9
Fixed issue with AndroidInput not resetting the last touch position correctly on the UP and DOWN actions. See forum post http://jmonkeyengine.org/groups/android/forum/topic/small-bug-in-androidinput/#post-183530
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9572 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c7186886bc
* OGLESShaderRenderer.readFrameBuffer() can now read from the main framebuffer in RGBA format.
...
* Add JmeSystem.writeImageFile() for a platform independent image writing method. Desktop and Android implementations are available.
* ScreenshotAppState no longer depends on AWT or Desktop Java, instead it uses JmeSystem.writeImageFile() which will run on Android as well.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
55d75c5abc
* Shader now stores shader language in the ShaderSources instead of the Shader itself (everything makes a lot more sense now).
...
^ Make sure your shader languages are appropriate for each shader type (vert / frag) in your J3MS!
* Shaders no longer have the "usable" member and the renderers don't use it either (its useless)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
af7435ffdf
* jME3 now shows error dialog on exception by default (unless user overrides handleError)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
cc3577acdc
* Android renderer now supports configuration changes (see: http://jmonkeyengine.org/groups/android/forum/topic/supporting-device-configuration-changes/#post-181170 )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
4e987ae63e
Android : Pixel Format again. Transparent or Translucent pixel format should not be the deault setting as they drain a substential amount of fps and that most of the games will have an opaque background.
...
There is now a new ogles configType called BEST_TRANSLUCENT if users really want a transparent background.
The BEST or FASTEST confing are now both OPAQUE, this gives a nice boost to the BEST configuration.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9508 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
67712589e2
Android : changed the way the glsurface's pixel format was chosen, allowing the surface to have a translucent background
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9507 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
3cdeb6ed4d
* Fix issue 476
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9442 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
cd64f74898
- ANDROID fixed multitouch move taht was not sending additional pointers event. thanks to iwgeric
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9438 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
d76d58c0e9
- ANDROID audio renderer : added a state check on the MediaPlayer to prenvent it to throw errors
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9437 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
0fe3b69f7d
- ANDROID Reverted a change in resolution setting, as it apparently has bad side effects on GUI
...
- Android texture util ENABLE_COMPRESSION is now public to be able to change it. Accessing it through the appSettings would be better.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9436 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
1009cd18b0
* Running jME3-android in emulator with GPU emulation now supported but sometimes there are opengl errors (?)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9428 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c34189dfe5
* Removed all "verbose logging" parts of OGLESShaderRenderer, as it made the code hard to read. This sort of logging functionality should be done in a "GL Wrapper" sort of class instead.
...
* The AndroidImageInfo.notifyBitmapUploaded() method is now called at the end of the upload as expected
* Huge overhaul of TextureUtil. It automatically compresses textures to ETC1 if selected by user. In addition, it will use hardware mipmap generation if possible, and fallback to software if not (e.g. for compressed textures)
* Add support for DXT1 format (usually supported on NVIDIA Tegra devices). The BrightSky.dds skybox now works on Android if the device supports it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9410 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
4be1d2be1e
* AndroidImageInfo now supports getting notification when the bitmap has been successfully uploaded to GL
...
* AndroidAudioRenderer no longer prints silly debug messages
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9409 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
29b2596359
* Removed various misc handling code from AndroidHarness to OGLESContext/JmeAndroidSystem to ease using jME3 outside of AndroidHarness
...
* Misc formatting changes in AndroidConfigChooser
* AndroidLogHandler now takes parameters into account
* Added additional settings in AppSettings to configure mouse emulation
* JmeSystem will now automatically try to load JmeAndroidSystem if it fails to load JmeDesktopSystem
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9407 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
05d5c611e1
* AndroidAssetManager no longer fails on missing plugin classes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9406 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
a625e8ae2a
Javadoc fixes R PHUN
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9358 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
1c92f500eb
AndroidAudioRenderer : propperly set the looping value on media player
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9323 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f68475319a
* Added new image format: Depth24Stencil8, for framebuffers and textures that need stencil data
...
* Renderer now uses getArray() to access mesh's buffers
* GL image format data now stored in a special data structure for easier management (instead of huge switch/case statement)
* Android texture loading: If the format is not supported by GLES spec, the texture upload will fail
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
cf9d5b5ebc
* Remove some useless files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9297 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
2966b6a7b0
AndroidAudioRenderer : better mediaplayer life cycle handling
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9296 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
544e1f6342
Shaders : The line numbers on error now correctly takes the version line added to the shader into account
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9295 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
3a0e1f50ac
Shaders : The line number is now printed for each line of shader code in the standard error output when a shader fail to compile.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9294 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
533fb86c50
Down to 260 Javadoc warnings from 324
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
8ab5a211e2
Removed previously committed System.out from AndroidAudioRenderer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9244 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
218f082c8b
Properly stopping and resetting Medialayer in AndroidAudioRenderer to be able to play an audio node more than once without failing.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9243 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
1a771236cf
fix NPE in AndroidHarness when quitting (thanks iwgEric)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
191bd21b40
Removed AndroidHarness specific calls from the OGLESContext.
...
- The harness is now a system listener and dispatch the system events to the jme app
- Every Harness related code is now in the harness (exit hook dialog, and mapping addition, spash screen hiding,....)
- Added a handleExitHook flag to configure if the Harness should handle exit or not.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9238 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
d2b727cfd8
Android : OGLESContext can now finish the activity when being destroyed, this way calling app.stop() from jME finished the associated activity.
...
This feature can be disabled by setting a flag in the MainActivity.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9234 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
92b97d38d8
Committed a patch from iwgeric, to make nifty Textfield display the soft keyboard on tap.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9227 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
859123673e
Committed patch from iwgEric that fixes a couple of issues on android touchinput http://jmonkeyengine.org/groups/android/forum/topic/error-with-nifty-and-awt/?topic_page=2#post-165433
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
491d514c0f
* BorderClamp and Clamp texture wrap modes now become EdgeClamp on Android
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9221 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
df212d358f
* AndroidAssetManager will avoid registering loaders if the class isn't in the classpath similar to DesktopAssetManager
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9203 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
1aed2068be
* Formatted many android classes and files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9202 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
b12285b8a4
* Make AndroidImageInfo extensible, add javadoc explanation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9187 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
446c03935e
Fixed NPE in AndroidAudioRenderer when soundPool is not initialized
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
bb9b2ea5ce
Changes to AndroidInput to properly handle multipoint touch events with proper ids (thanks to techsonic)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
a3497ca8b2
Null check on audio renderer in the onPause and onResume of the android Harness. The audio renderer appears to be null (wich is another issue)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
afc2710626
Removed the call to glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT as it generates an INVALID_ENUM error.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
07d5451a31
Removed the direct accessing of the seconds counter
...
so that I don't break the build with my next changes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b89b2428af
* Applied audio fix patch (thanks prich)
...
- Pause audio when jME3 app is paused
- Add WAV to supported formats
- Add Android audio test
* Minor javadoc fixes in AndroidHarness
* Made jme3tools.android.Fixed class deprecated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
4aa00107e2
* Added missing AndroidImageInfo
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9148 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
381a3365ef
* Applied android audio renderer patch (thanks to prich on the forum)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
a64db6fc7b
* Andrid - AndroidLocator now follows spec when regards to multiple call support with AssetInfo.openStream()
...
* Android - fix exception with recycled bitmaps that occurs when jME3 application is restored/maximized after pause
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9144 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
3fa629053a
* Deleted AndroidApplication and AndroidSkyFactory due to deprecation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9143 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago