3745 Commits

Author SHA1 Message Date
rem..om
2c9bef5ebf GeometryBatchFactory, fixed wrong model bounds updating
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-05 20:17:47 +00:00
rem..om
5095396ce3 LodGenerator : fixed typo
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10641 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-02 21:43:52 +00:00
rem..om
a610cdc99a LodGenerator : updated licence
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10640 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-02 21:31:16 +00:00
rem..om
f0b44c0704 LodGenerator used squared length of en edge as parameter for its collapse cost instead of the length. It gives better results
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10639 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-02 21:12:59 +00:00
rem..om
b918c707b8 Implemented a Lod Generator based on Ogre progressive mesh
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10638 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-02 16:44:47 +00:00
sha..RD
dec182b13f * Fixed assertion error bug in NativeObjectManager.deleteAllObjects()
* Fixed ID collision bug in NativeObjectManager by introducing NativeObject.getUniqueId()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10637 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-01 21:56:06 +00:00
iwg..om
1ac240e971 Android: fix missing period in javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10636 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-31 03:44:49 +00:00
iwg..ic
7e09bf035f SDK: Update global library settings for Android OpenAL Soft
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10635 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-28 16:32:15 +00:00
iwg..ic
e952620640 SDK: Update location of Android OpenAL Soft jar file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10634 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-28 16:30:57 +00:00
sha..RD
725fb33983 * Fixed bug where verts uninfluenced by bones would not work correctly in hardware skinning
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10633 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-27 21:29:35 +00:00
sha..RD
04196e40ea * When deleting native object, avoid using toString() for logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10632 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-23 02:46:48 +00:00
sha..RD
7ecc8790a4 * Added overview / explanation on what Material.render() does
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10631 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-23 01:58:41 +00:00
rem..om
e2614b51c7 fixed JmeBatchRendererBackend that was not properly reseting the forcedRenderState of the renderer causing depth test and depth write to be disable once th first frame was rendered
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10630 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-22 18:26:46 +00:00
iwg..om
4d1e3dc9b5 SDK: Add Android OpenAL Soft to project libraries
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10629 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-20 16:37:47 +00:00
iwg..om
7885dc516e SDK: Modified description to force update of project template with newer Test classes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10628 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-20 16:07:17 +00:00
iwg..om
049514df4e SDK: Add SingleTask Launch Mode to AndroidManifest for new projects to avoid starting a new instance of the app when users hit the Home button and then resume the app.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10627 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-19 03:58:15 +00:00
iwg..om
4395c45092 SDK: Copy OpenAL Soft to correct library directory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10626 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-19 03:44:17 +00:00
iwg..om
ce583be446 SDK: Bump version number of mobile-impl.xml to force updates
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10625 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-17 23:34:53 +00:00
iwg..om
bbf88a3090 SDK: Automatically unzip OpenAL Soft libraries in mobile/libs if included in the classpath
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10624 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-17 23:27:25 +00:00
iwg..om
65709a17b6 SDK: Organize imports in MainActivity
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10623 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-17 23:26:11 +00:00
jul..om
b03d6abc33 Switches to GlueGen build 669, JOAL build 435 and JOGL build 989
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10622 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 20:04:35 +00:00
jul..om
bcb7922b9d Removes a typo from NewtKeyInput
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10621 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 19:22:13 +00:00
iwg..om
509cc7ba70 Android OpenAL Soft: Clean up some logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10620 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 17:04:10 +00:00
sha..RD
efa80e0e2d * Fix syntax error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 00:56:46 +00:00
sha..RD
d6fbd97482 * Add NativeObject.dispose() which deletes the object from GL driver, and if UNSAFE=true, also native buffers.
* Rename NativeObjectManager.registerForCleanup() -> registerObject() so that its not confused with enqueueUnusedObject()


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10618 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 00:53:58 +00:00
sha..RD
bf2a663022 * Remove deprecated fields from shader class
* Add package private deleteNativeBuffers() in NativeObject (usage TBD)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 00:34:16 +00:00
iwg..om
66ed9ff986 Add OpenAL Soft
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-15 21:51:01 +00:00
iwg..om
e727928731 Android: Refactor AndroidAudioRenderer into an interface with 2 implementations (current MediaPlayer/SoundPool and new OpenAL Soft). Added AppSetting that allows AndroidHarness to switch the audio renderer (default is still MediaPlayer/SoundPool).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-15 21:44:21 +00:00
iwg..om
96f7b179b5 Android: Copy OpenAL Soft library to dist/opt directory when building the engine. Updated OpenAL Soft jar file.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10614 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-15 21:38:49 +00:00
iwg..om
58684996f9 Android: Added methods for OpenAL Soft Audio Renderer to pause and resume audio when app is placed in the background
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10613 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-13 15:56:29 +00:00
Kae..pl
7610bfb7aa Bugfix: fixes to strip box indices and normals computation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-13 11:56:22 +00:00
Kae..pl
217a1a6273 Refactoring: removing AnimData class use in blender importer to make it independent on the OGRE plugin (this way the usage of the importer will not require the presence of Ogre plugin in the classpath).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10611 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-12 19:05:24 +00:00
iwg..om
c1402b30e9 SDK: Add build support for Android implementation of OpenAL Soft
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-12 03:29:34 +00:00
iwg..om
785d50f516 Android: Add support for effects, filters, reverb, and environment to Android implementation of OpenAL Soft
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10609 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-12 03:15:22 +00:00
iwg..om
893bd93c60 Android: Initial OpenAL Soft binary libraries for testing
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10608 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-11 04:30:39 +00:00
iwg..om
0ff86728d8 Android: Moved some code from onPause/onResume to loseFocus/gainFocus to address issues/patches 593, 566, 564. Users can now override loseFocus/gainFocus in MainActivity if they do not want to pause/resume the app based on Android's lifecycle methods onPause/onResume.
https://code.google.com/p/jmonkeyengine/issues/detail?id=593
https://code.google.com/p/jmonkeyengine/issues/detail?id=564
https://code.google.com/p/jmonkeyengine/issues/detail?id=566
(Yes, there were 3 patch requests for the same thing)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10607 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-11 03:53:09 +00:00
iwg..om
b5f4541eec Android: First commit of a new Audio system for Android that uses OpenAL Soft with the OpenSL backend. Requres Android 2.3 or higher. Source files for OpenAL Soft won't be included (similar to Native Bullet). The current Android audio renderer is still enabled.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10606 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-11 01:48:08 +00:00
phr00t
efd7a8e7e8 Native bullet will no longer ignore changes to the broadphase type
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10604 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-10 14:13:25 +00:00
rem..om
e2d1a08838 ChaseCamera input binding name constants are now public
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10594 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-09 07:41:55 +00:00
rem..om
b105f2c228 Made a ComposeFilter that allows one to compose post filtered outputs from multiple viewports
see http://jmonkeyengine.org/forum/topic/bloom-filter-for-multiple-nodes/#post-213016

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10592 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-04 07:21:46 +00:00
bre..om
7c966572f1 add check in lod control for camera existence when it can be empty in the sdk
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10591 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-04 00:33:46 +00:00
rem..om
f553d6a39a Fixed a typo in a comment in both lighting and unshaded.j3md, thanks to wezrule
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10590 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-03 18:47:42 +00:00
rem..om
eb44d866b7 Fixed the number of components of the Line shape index buffer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10589 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-03 18:20:14 +00:00
rem..om
706cd410b6 AlphaDiscardTreshold is now supported by the Unshaded material.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10588 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-03 18:15:07 +00:00
Kae..pl
5b65b19bda Refactoring: storing importer custom data in blender context instead of loaded features. This way there will be no conflict between the custom data names and user's properties names and no unwanted additional data will be stored in the result features.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10587 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-30 21:44:05 +00:00
Sha..om
e4478dc65c * SkeletonControl: Update targets and materials only for the first camera in which a model is rendered.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10586 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-29 17:14:58 +00:00
Kae..pl
9961f77445 Code refactoring:
- removed unused methods
- added javadocs
- minor name fixes
- one constructor type for all helpers

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10585 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-29 11:31:48 +00:00
Kae..pl
3602d86c20 Bugfix: fixed a bug that caused a bone constraint to be properly validated even though its bone target was not defined.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10584 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-29 11:30:26 +00:00
Kae..pl
29dd973122 Refactoring: large changes in constraints system (see the proper topic on the forum for further changes)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10581 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-27 22:08:19 +00:00
rem..om
c4fc9b723f Shadows, SSAO and CartoonEdge now works with HardWareSkinning
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10580 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-27 16:32:37 +00:00