3424 Commits

Author SHA1 Message Date
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
rem..om
b93715f66b SkeletonControl made some cleanup, removed old comments
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10579 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-27 14:46:46 +00:00
rem..om
a3fe5860cc SkeletonControl gatheres target on render instead of on update
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10578 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-27 14:43:42 +00:00
rem..om
517f621871 Fix for issue 592 : SkeletonControl does not track changes to materials or spatials
https://code.google.com/p/jmonkeyengine/issues/detail?id=592#makechanges
- Went the update targets and materials on each update, in practive it doesn't have a noticeable impact on performance.
- Changed the way target meshes and materials were stored (arrays), for respectively a SafearrayList and a HashSet. This avoid instancing and copying arrays on each frames.
- Also removed targets and materials from serialization as we don't care to save or load them now that they are gathered on each frame.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10577 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-27 14:29:18 +00:00
rem..om
17a18bb6d0 ShaderNodes SDK : fix for build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10576 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-26 05:40:05 +00:00
rem..om
4f3319f049 ShaderNodes : generated shaders are now cached by the assetManager to avoid generating a new shader for already loaded materials. This saves memory and avoids a lot of shader switches at render time.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10575 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-25 21:01:26 +00:00
rem..om
77a3cba69e ShaderNodes : registered shader node definition locator to the android asset manager so that shader nodes work on android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10574 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-25 18:36:30 +00:00
sha..RD
199378ca2f * Fix PerspectiveLodCalculator by not caching entropies in object (since they vary per block)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10573 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-25 00:40:25 +00:00
nor..67
cfb9c7e1a3 - update lwjgl to 2.9.0, fixing various issues:
- fix support for Java7 on OSX
- fix support for Applets on OSX
- fix windowing issues in SDK on various platforms

known issues:
- heavyweight canvas on OSX is located wrong

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10572 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-22 12:25:06 +00:00
rem..om
f8faebb79e ShaderNodes : Array types are now properly supported and array size can be driven by an int constant or an int define
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-21 09:23:39 +00:00
ShA..Rd
06c4dcd7f7 * Fix issue 574 (by extending JFrame instead of JDialog)
* Fix issue 561 by throwing exception on invalid values

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 18:01:17 +00:00
ShA..Rd
6e021b4504 * Fix issue 584 and issue 562 (minor typos)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:40:00 +00:00
ShA..Rd
bd39ff1b6e * Fix issue 570
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:38:35 +00:00
ShA..Rd
d64eec7d1b * Fix issue 569 by using googlecode server instead of jme website which blocks java connections for some reason
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:36:55 +00:00
ShA..Rd
a31c8ec884 * Ogre Importer: No longer crashes if submesh name index is out of bounds. Fix issue 548.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10566 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:25:28 +00:00
ShA..Rd
ada98f7033 * AppState documentation improvements according to issue 589
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:15:29 +00:00
ShA..Rd
7e6534c1b7 * UnshadedArray shader will attempt to enable the relevant texture array extensions, otherwise it shouldn't work at all (don't know why it did)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10564 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:01:25 +00:00
ShA..Rd
1aa0f9d7bd * LwjglRenderer adds capability for texture array support if OpenGL 3 is available
* Renderer will check texture array support prior to uploading texture

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10563 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:00:25 +00:00
ShA..Rd
fbac631160 * TextureArray constructor ensures all images passed to it have the same format and dimensions, otherwise an IllegalArgumentException is thrown
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10562 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 16:58:40 +00:00
ShA..Rd
1f27804716 * Fix issue where lighting shader would not compile when vertex lighting is used (due to recent HW skinning changes)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10561 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 16:57:57 +00:00
rem..om
198adb0753 Fixed NPE in water filter when setting the reflection mapsize before the filter has been initialized
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10560 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 16:12:51 +00:00
rem..om
9b33c7c851 Removed debugging system out from animChannel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10559 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 11:44:50 +00:00