49 Commits

Author SHA1 Message Date
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
sky..ok
84116c85f8 Created clickable links out of http mentions in all jME3 Javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 20:23:39 +00:00
sha..rd
55bfc5f0cf * Update to LWJGL 2.8.1
* Audio system to use new NativeObject class for managing audio buffers and filters
 * Formatting for AndroidAudioRenderer
 * Changed AndroidAudioData to match new NativeObject class
 * AudioNode now serializes the audio key as "audio_key" instead "key"
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:33:42 +00:00
sha..rd
107380afc1 * Moved GLObjectManager to util, it is now NativeObjectManager and can be used to manage collection of any native object
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8422 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:26:31 +00:00
sha..rd
3f95a0ca2f * Eclipse classpath no longer includes .svn folders
* Updated android.jar to 2.3
 * Add support for changing fullscreen mode in AndroidHarness
 * VBO now used by default for Android versions > 2.2
 * Fix wrong setting array type uniforms in android (e.g. Vector3Array)
 * Improved efficiency of setVertexAttrib in android by not creating iterator each time
 * Added method ParticleEmitter.killParticle()
 * Deleted useless com.jme3.renderer.layer package
 * Fix documentation of AppSettings.setCustomRenderer()
 * Fix SkyFactory on android (again!)
 * Deleted useless com.jme3.video package
 * Add KeyNames to get names of keyboard keys
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-30 04:24:36 +00:00
sha..rd
a5be89598f * Always close InputStream in WAVLoader
* Fix use of deprecated classes/methods in android tests
 * Fix bugs with joysticks often generating events for both the negative and positive side of axis
 * Camera.clone() properly clones the gui bounding
 * Camera.setParallelProjection() updates the camera's projection matrix instead of keeping old values
 * LwjglOffscreenBuffer obeys by framerate setting and sets renderable property as needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8283 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 00:50:13 +00:00
rem..om
c011a29529 OGLES renderer : gl error now appear after the shader code output when a shader fail to compile (like in LWJGL renderer)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8264 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-18 14:21:07 +00:00
kim..ng
7d315f04d9 Android: removed old apk code and added source of the curent beta1 demo apk.
Source is in: jme3test.android, only java classes and the android manifest.xml, not buildable without your own android project

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 16:04:15 +00:00
sha..rd
64c61c86e4 * Fix syntax errors due to JmeSystem/Platform changes
* Prevent stream closed exception when playing OGG music
 * Prevent UnsatisfiedLinkError when using audio effects on Mac
 * Add BitmapText caching to Nifty GUI. May improve FPS in guis with lots of text elements

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 02:02:29 +00:00
sha..rd
5ac90f46fa * Formatting for many android classes which needed it desperately
* Moved JmeSystem.Platform to its own class in core. Desktop's and Android's JmeSystem now both use it
 * Moved proper usage of efficient data from AndroidSkyFactory to SkyFactory, deprecated AndroidSkyFactory

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 21:26:59 +00:00
sha..rd
120a3d1e4f Blender Loader
* Correct calculation of spot light's inner and outer cone angles
 * Loaded lights are now attached to the model's root node instead of being foolishly discarded


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:39:02 +00:00
nor..67
42f3770946 - fix AndroidApplication
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 08:48:45 +00:00
kim..ng
895e02f2a6 Android: minor fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8090 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 17:35:30 +00:00
kim..ng
5f0bfd8c2e Android: complete rework of the config chooser, LEGACY is still using Android phone code, FASTEST is using 5,6,5,0,16,0 but with code in jme3-andoid which is currently identical to the android source and BEST is using 8,8,8,8,16,0 - also with the same jme3 code.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8085 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 12:46:10 +00:00
kim..ng
0b7f96726f Android: fixed logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7902 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 18:27:17 +00:00
kim..ng
bb2d1073de Android: added some more logging to the surface creation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7888 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 09:19:50 +00:00
kim..ng
7d08828fa7 Android: fixed excessive logging in audio renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7864 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-16 15:18:32 +00:00
kim..ng
0a58b3c92b Android: added ConfigType.LEGACY
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7858 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 10:32:00 +00:00
kim..ng
d90f6e7e18 Android: Allow custom app instantiation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7851 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 09:52:35 +00:00
kim..ng
2f8ae09033 Android: Fixed a race condition in OGLESContext which sometimes called initialize() more than once, added screen resolution setting and invert mouse x to harness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7850 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 09:25:36 +00:00
kim..ng
7b0f06ff4d Android: added mouseEventsInvertY option to Harness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7827 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 20:20:01 +00:00
kim..ng
ef6b7157b9 Android: Fixed deadlock in AndroidHarness.onDestroy() and added screenOrientation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-30 18:24:31 +00:00
kim..ng
c58f429543 Android: Fixed bug in AndroidHarness if appClass can not be found
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7778 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 07:29:16 +00:00
kim..ng
f5ee0ca201 Android: Added positional audio and let the user control the overall media volume
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-28 18:43:36 +00:00
kim..ng
ab9a2635a2 Android: Bugfix Using PixelFormat.RGBA_8888 instead of PixelFormat.RGB_888
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7755 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-27 09:42:39 +00:00
kim..ng
354ff46ccf Android: Added streaming music to AndroidAudioRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7753 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-27 05:52:27 +00:00
kim..ng
a7974ac659 Android: Added first prototype of AndroidAudioRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7723 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-24 20:11:27 +00:00
kim..ng
f230997d93 Android: added customizable messages to exit dialog
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7689 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-22 17:26:27 +00:00
kim..ng
fef0820ca6 Android: fixed bug - EGL_SURFACE_TYPE is checked now. Added ConfigType.FASTEST and .BEST to AndroidHarness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7685 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-21 22:13:42 +00:00
sha..rd
8c69c7d205 * Shader now has accelerated access to attribute by using IntMap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7671 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 19:14:27 +00:00
nor..67
93d968a12b - fix compile error in renderer (vb.getBufferType().name())
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7669 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 12:00:16 +00:00
sha..rd
c727d3e006 * Fixed crash in TestCinematic
* Fixed crash in LightList.sort()
 * Removed usage of Arrays.copyOf() in BitmapFont, so Android can run it
 * Formatted OGLESShaderRenderer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 00:23:19 +00:00
kim..ng
f02c21a51f Android: fixed crash in harness if inputManager is not initialized yet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7647 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-17 09:56:55 +00:00
kim..ng
026b7f2211 added sending of historic events and added exit dialog to AndroidHarness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-16 17:52:53 +00:00
kim..ng
b1792a4e1a Android: Added depth textures and fixed best config chooser not to choose a high color, but OpenGL ES 1.0 config
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7624 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-14 12:59:56 +00:00
kim..ng
5461d56ac6 Android: Added proper OpenGL ES version detection and a best EGL Config Chooser
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7594 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 09:26:22 +00:00
sha..rd
d03683deca * SimpleTextured, SolidColor, VertexColor, and WireColor are now obsolete. Using those materials will crash your application.
* Additional javadocs for Material
 * Added TestMusicStreaming

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7591 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 02:35:19 +00:00
kim..ng
f42b7e8f83 Android: Added pressure to touch event and allow standard jme images as cube maps
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7578 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-11 06:51:14 +00:00
kim..ng
dd100bed74 Android: preparation of android tree for jme input integration
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-04 20:28:36 +00:00
rem..om
2d4896942d TranslucentBucket :
- Added a translucent bucket that is rendered after the processors (usefull for shadows)
- For filters, rendering this bucket is a bit particular, so you can use the TranslucentBucketFilter to render the translucent bucket in the middle of the fillter stack (doc is comming up in the wiki)
- renamed Filter's preRender method to postQueue for consistancy with processors
- added translucent objects in TestPostWater, added a fire (particles) in test transparent shadows

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-31 06:51:51 +00:00
kim..ng
8cefea550e Android: Fixed race-condition on GLSurfaceView destroy, fixed MouseEvents for flyCam rotation bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7536 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-29 20:55:28 +00:00
kim..ng
e5478faae0 Android: added support for cube maps, Sky works now, use AndroidSkyFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7531 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-29 17:46:25 +00:00
kim..ng
f93b95b3a4 Android: Fixed app lifecycle. If you leave your activity with the back key the app will be destroyed, if you use the home key the app gets frozen in the background. You can return to it and it will be in the same state as when you left it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-24 14:57:50 +00:00
Sha..om
f2bba9e7a7 * Deprecated AndroidApplication in favor of AndroidHarness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7510 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-19 17:10:38 +00:00
kim..ng
46ca84e835 AndroidHarness integration
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-18 19:12:25 +00:00
kim..ng
a8e9d803dc src/android patchset: changes AndroidAssetManager, AndroidInput, OGLESContext, JmeSystem, TextureLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7502 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 19:17:34 +00:00
kim..ng
0ec3bb6dba src/android patchset: changes AndroidAssetManager, AndroidInput, OGLESContext, JmeSystem, TextureLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7501 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 19:14:53 +00:00
nor..67
44baefce4f - fix android build errors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7399 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-02 23:41:10 +00:00
nor..67
9e53abbb7a move jme3 to trunk
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 12:55:32 +00:00