OSDN Git Service
shadowisLORD [Mon, 27 May 2013 21:29:35 +0000 (21:29 +0000)]
* Fixed bug where verts uninfluenced by bones would not work correctly in hardware skinning
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10633
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 23 May 2013 02:46:48 +0000 (02:46 +0000)]
* When deleting native object, avoid using toString() for logging
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10632
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 23 May 2013 01:58:41 +0000 (01:58 +0000)]
* Added overview / explanation on what Material.render() does
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10631
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Wed, 22 May 2013 18:26:46 +0000 (18:26 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10630
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Mon, 20 May 2013 16:37:47 +0000 (16:37 +0000)]
SDK: Add Android OpenAL Soft to project libraries
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10629
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Mon, 20 May 2013 16:07:17 +0000 (16:07 +0000)]
SDK: Modified description to force update of project template with newer Test classes
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10628
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Sun, 19 May 2013 03:58:15 +0000 (03:58 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10627
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Sun, 19 May 2013 03:44:17 +0000 (03:44 +0000)]
SDK: Copy OpenAL Soft to correct library directory
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10626
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Fri, 17 May 2013 23:34:53 +0000 (23:34 +0000)]
SDK: Bump version number of mobile-impl.xml to force updates
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10625
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Fri, 17 May 2013 23:27:25 +0000 (23:27 +0000)]
SDK: Automatically unzip OpenAL Soft libraries in mobile/libs if included in the classpath
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10624
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Fri, 17 May 2013 23:26:11 +0000 (23:26 +0000)]
SDK: Organize imports in MainActivity
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10623
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
julien.gouesse@gmail.com [Thu, 16 May 2013 20:04:35 +0000 (20:04 +0000)]
Switches to GlueGen build 669, JOAL build 435 and JOGL build 989
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10622
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
julien.gouesse@gmail.com [Thu, 16 May 2013 19:22:13 +0000 (19:22 +0000)]
Removes a typo from NewtKeyInput
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10621
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Thu, 16 May 2013 17:04:10 +0000 (17:04 +0000)]
Android OpenAL Soft: Clean up some logging
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10620
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 16 May 2013 00:56:46 +0000 (00:56 +0000)]
* Fix syntax error
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10619
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 16 May 2013 00:53:58 +0000 (00:53 +0000)]
* 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: http://jmonkeyengine.googlecode.com/svn/trunk@10618
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 16 May 2013 00:34:16 +0000 (00:34 +0000)]
* Remove deprecated fields from shader class
* Add package private deleteNativeBuffers() in NativeObject (usage TBD)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10617
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Wed, 15 May 2013 21:51:01 +0000 (21:51 +0000)]
Add OpenAL Soft
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10616
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Wed, 15 May 2013 21:44:21 +0000 (21:44 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10615
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Wed, 15 May 2013 21:38:49 +0000 (21:38 +0000)]
Android: Copy OpenAL Soft library to dist/opt directory when building the engine. Updated OpenAL Soft jar file.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10614
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Mon, 13 May 2013 15:56:29 +0000 (15:56 +0000)]
Android: Added methods for OpenAL Soft Audio Renderer to pause and resume audio when app is placed in the background
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10613
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 13 May 2013 11:56:22 +0000 (11:56 +0000)]
Bugfix: fixes to strip box indices and normals computation.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10612
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Sun, 12 May 2013 19:05:24 +0000 (19:05 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10611
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Sun, 12 May 2013 03:29:34 +0000 (03:29 +0000)]
SDK: Add build support for Android implementation of OpenAL Soft
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10610
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Sun, 12 May 2013 03:15:22 +0000 (03:15 +0000)]
Android: Add support for effects, filters, reverb, and environment to Android implementation of OpenAL Soft
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10609
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Sat, 11 May 2013 04:30:39 +0000 (04:30 +0000)]
Android: Initial OpenAL Soft binary libraries for testing
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10608
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Sat, 11 May 2013 03:53:09 +0000 (03:53 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10607
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Sat, 11 May 2013 01:48:08 +0000 (01:48 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10606
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
jvight@gmail.com [Fri, 10 May 2013 14:13:25 +0000 (14:13 +0000)]
Native bullet will no longer ignore changes to the broadphase type
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10604
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Thu, 9 May 2013 07:41:55 +0000 (07:41 +0000)]
ChaseCamera input binding name constants are now public
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10594
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 4 May 2013 07:21:46 +0000 (07:21 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10592
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens@gmail.com [Sat, 4 May 2013 00:33:46 +0000 (00:33 +0000)]
add check in lod control for camera existence when it can be empty in the sdk
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10591
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 3 May 2013 18:47:42 +0000 (18:47 +0000)]
Fixed a typo in a comment in both lighting and unshaded.j3md, thanks to wezrule
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10590
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 3 May 2013 18:20:14 +0000 (18:20 +0000)]
Fixed the number of components of the Line shape index buffer.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10589
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 3 May 2013 18:15:07 +0000 (18:15 +0000)]
AlphaDiscardTreshold is now supported by the Unshaded material.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10588
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Tue, 30 Apr 2013 21:44:05 +0000 (21:44 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10587
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShadowIsLord@gmail.com [Mon, 29 Apr 2013 17:14:58 +0000 (17:14 +0000)]
* SkeletonControl: Update targets and materials only for the first camera in which a model is rendered.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10586
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 29 Apr 2013 11:31:48 +0000 (11:31 +0000)]
Code refactoring:
- removed unused methods
- added javadocs
- minor name fixes
- one constructor type for all helpers
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10585
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 29 Apr 2013 11:30:26 +0000 (11:30 +0000)]
Bugfix: fixed a bug that caused a bone constraint to be properly validated even though its bone target was not defined.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10584
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Sat, 27 Apr 2013 22:08:19 +0000 (22:08 +0000)]
Refactoring: large changes in constraints system (see the proper topic on the forum for further changes)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10581
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 27 Apr 2013 16:32:37 +0000 (16:32 +0000)]
Shadows, SSAO and CartoonEdge now works with HardWareSkinning
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10580
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 27 Apr 2013 14:46:46 +0000 (14:46 +0000)]
SkeletonControl made some cleanup, removed old comments
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10579
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 27 Apr 2013 14:43:42 +0000 (14:43 +0000)]
SkeletonControl gatheres target on render instead of on update
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10578
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 27 Apr 2013 14:29:18 +0000 (14:29 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10577
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 26 Apr 2013 05:40:05 +0000 (05:40 +0000)]
ShaderNodes SDK : fix for build
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10576
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Thu, 25 Apr 2013 21:01:26 +0000 (21:01 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@10575
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Thu, 25 Apr 2013 18:36:30 +0000 (18:36 +0000)]
ShaderNodes : registered shader node definition locator to the android asset manager so that shader nodes work on android
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10574
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 25 Apr 2013 00:40:25 +0000 (00:40 +0000)]
* Fix PerspectiveLodCalculator by not caching entropies in object (since they vary per block)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10573
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 22 Apr 2013 12:25:06 +0000 (12:25 +0000)]
- 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: http://jmonkeyengine.googlecode.com/svn/trunk@10572
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sun, 21 Apr 2013 09:23:39 +0000 (09:23 +0000)]
ShaderNodes : Array types are now properly supported and array size can be driven by an int constant or an int define
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10571
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 18:01:17 +0000 (18:01 +0000)]
* Fix issue 574 (by extending JFrame instead of JDialog)
* Fix issue 561 by throwing exception on invalid values
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10570
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 17:40:00 +0000 (17:40 +0000)]
* Fix issue 584 and issue 562 (minor typos)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10569
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 17:38:35 +0000 (17:38 +0000)]
* Fix issue 570
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10568
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 17:36:55 +0000 (17:36 +0000)]
* Fix issue 569 by using googlecode server instead of jme website which blocks java connections for some reason
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10567
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 17:25:28 +0000 (17:25 +0000)]
* Ogre Importer: No longer crashes if submesh name index is out of bounds. Fix issue 548.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10566
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 17:15:29 +0000 (17:15 +0000)]
* AppState documentation improvements according to issue 589
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10565
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 17:01:25 +0000 (17:01 +0000)]
* 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: http://jmonkeyengine.googlecode.com/svn/trunk@10564
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 17:00:25 +0000 (17:00 +0000)]
* 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: http://jmonkeyengine.googlecode.com/svn/trunk@10563
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 16:58:40 +0000 (16:58 +0000)]
* TextureArray constructor ensures all images passed to it have the same format and dimensions, otherwise an IllegalArgumentException is thrown
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10562
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShAdOwIsLoRd [Fri, 19 Apr 2013 16:57:57 +0000 (16:57 +0000)]
* Fix issue where lighting shader would not compile when vertex lighting is used (due to recent HW skinning changes)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10561
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 19 Apr 2013 16:12:51 +0000 (16:12 +0000)]
Fixed NPE in water filter when setting the reflection mapsize before the filter has been initialized
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10560
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 19 Apr 2013 11:44:50 +0000 (11:44 +0000)]
Removed debugging system out from animChannel
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10559
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 19 Apr 2013 09:25:20 +0000 (09:25 +0000)]
Added a test case for Hardware Skinning
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10558
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens@gmail.com [Thu, 18 Apr 2013 15:19:43 +0000 (15:19 +0000)]
TerrainLodControl now refreshes when first added to the scene
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10557
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
jvight@gmail.com [Thu, 18 Apr 2013 13:27:51 +0000 (13:27 +0000)]
Updated native bullet builds to v2.81 for Linux & Windows (both 32 & 64 bit). MacOSX remains at v2.80 for the time being. This resolves swapped physics ray test source & destination arguments & other crashing issues.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10556
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 04:14:55 +0000 (04:14 +0000)]
* Mesh.prepareForAnim() is now much smarter about what to do. It won't convert the buffers unless absolutely necessary and apply the proper usages to the buffers as needed.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10555
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 03:03:55 +0000 (03:03 +0000)]
* Lighting shader now supports HW skinning
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10554
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 03:02:55 +0000 (03:02 +0000)]
* Unshaded material now supports HW skinning
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10553
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 03:02:12 +0000 (03:02 +0000)]
HW Skinning
* Added check in shader for number of bones
* Fix crash when Skinning.glsllib is imported by shader
* Fix incorrect transform of tangent vector in shader
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10552
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 03:00:58 +0000 (03:00 +0000)]
* Set AndroidHarness contentView to a TextView (not GLSurfaceView) onDestroy(), perhaps it will help with OOM issues
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10551
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 03:00:08 +0000 (03:00 +0000)]
* Fix various issues with HW skinning state in SkeletonControl. setHardwareSkinningPreferred(boolean) can be used to request HW skinning, and isHardwareSkinningUsed() to see if its actually being used or not.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10550
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 02:56:54 +0000 (02:56 +0000)]
* List of native objects in NativeObjectManager is now a HashSet instead of an ArrayList, for faster add/remove calls
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10549
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Thu, 18 Apr 2013 02:55:32 +0000 (02:55 +0000)]
* Fix use of deprecated Box constructor in TestBox
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10548
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Wed, 17 Apr 2013 17:17:58 +0000 (17:17 +0000)]
Fixed HWSkinning initialization that was not properly falling back to software when HW skinning was not available
Still not a functional implementation
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10547
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Wed, 17 Apr 2013 03:50:28 +0000 (03:50 +0000)]
* Added joystick mappings for wireless Xbox 360 controller. Back shoulder buttons are not supported because its not possible to convert axis into button at the moment.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10546
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Wed, 17 Apr 2013 01:50:37 +0000 (01:50 +0000)]
* Added test to demonstrate what happens to a deleted texture when trying to use it with OpenGL
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10545
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShadowIsLord@gmail.com [Tue, 16 Apr 2013 15:21:41 +0000 (15:21 +0000)]
* Fixed issue 590 (Uniform.setVector4Length() re-allocating buffer even when not needed)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10544
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShadowIsLord@gmail.com [Tue, 16 Apr 2013 15:15:24 +0000 (15:15 +0000)]
* Fixed issue 583 (Matrix4f.multAcross() not working correctly)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10543
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Tue, 16 Apr 2013 12:07:46 +0000 (12:07 +0000)]
SDK: Android: Removed verbose setting when copying project libs to mobile/libs
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10542
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
iwgeric@gmail.com [Tue, 16 Apr 2013 02:03:58 +0000 (02:03 +0000)]
SDK: Android: Changed mobile-impl.xml to avoid pre-dexing external jar files.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10541
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens@gmail.com [Sun, 14 Apr 2013 18:35:15 +0000 (18:35 +0000)]
removed sysout from AnimChannel
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10540
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 13 Apr 2013 11:31:37 +0000 (11:31 +0000)]
formatting of MeshLoader before an upcomming change
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10538
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 13 Apr 2013 11:17:21 +0000 (11:17 +0000)]
Hardware Skinning first commit, still non functionnal as no material implements it. also it's disabled by default in the skeleton control
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10537
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 13 Apr 2013 09:41:02 +0000 (09:41 +0000)]
Cleaned up SimpleWater uniform and varyings to not systematically use vec4 for no reason.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10536
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sat, 13 Apr 2013 08:38:51 +0000 (08:38 +0000)]
Added missing getters for SimpleWaterProcessors
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10535
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Fri, 12 Apr 2013 21:04:16 +0000 (21:04 +0000)]
Feature: added scale retreive methods to Matrix4f.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10534
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens@gmail.com [Fri, 12 Apr 2013 18:17:24 +0000 (18:17 +0000)]
test case showing soft particle issues, they end up quite hard...
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10533
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Fri, 12 Apr 2013 17:46:09 +0000 (17:46 +0000)]
Modified maxLocal and minLocal to return 'this' to
match other methods.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10532
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 12 Apr 2013 13:06:45 +0000 (13:06 +0000)]
- slightly improve AbstractPhysicsControl flow
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10531
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens@gmail.com [Wed, 10 Apr 2013 16:59:49 +0000 (16:59 +0000)]
reenabled the terrain paint button
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10530
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Wed, 10 Apr 2013 11:52:31 +0000 (11:52 +0000)]
Bugfix: (hopefully) final fixes to armature applying to models without applied transformations (+ removing unused pieces of code)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10529
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 8 Apr 2013 12:06:57 +0000 (12:06 +0000)]
Minor fixes to armature loading.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10528
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Mon, 8 Apr 2013 02:12:33 +0000 (02:12 +0000)]
* Fine, Eric.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10527
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Mon, 8 Apr 2013 01:06:19 +0000 (01:06 +0000)]
* Throw UnsupportedOperationException if multiple FBO color attachments are used on Android (only a single attachment, GL_COLOR_ATTACHMENT0, is supported)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10526
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Mon, 8 Apr 2013 01:01:24 +0000 (01:01 +0000)]
* Added glGetError() checks after every GL call (its ugly, I know, but it helps with debugging). Added option to disable it with constant on RendererUtil.ENABLE_ERROR_CHECKING.
* Set lastFb in OGLESShaderRenderer when context is reset, this is needed otherwise the state tracker would not work correctly.
* Fix issue with Mesh.Mode.Hybrid that wasn't rendering triangle fans correctly (was rendering them as triangle strips instead).
* Remove call to glPointSize in OGLESShaderRenderer (it would most likely crash anyway, since GLES10 calls can't be used in a GLES20 context)
* TestCustomMesh now uses shorts instead of ints for the index buffer. 32-bit indices are not supported on Android and are slower on Desktop, don't use them if you can avoid it.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10525
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Sun, 7 Apr 2013 19:16:44 +0000 (19:16 +0000)]
* Semi-colon.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10524
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Sun, 7 Apr 2013 19:05:34 +0000 (19:05 +0000)]
* If the render buffer storage format is 0 (not supported), throw exception instead of passing invalid enum to a GL call
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10523
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowisLORD [Sun, 7 Apr 2013 19:01:04 +0000 (19:01 +0000)]
* Added proper checks for RGBA8 support. All formats now specify the renderBufferInternalFormat
* Added support for depth24 and depth24stencil8
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10522
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sun, 7 Apr 2013 10:27:10 +0000 (10:27 +0000)]
Changed TestBatchNodeTower so that it doesn't use deprecated stuff anymore
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10521
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sun, 7 Apr 2013 10:05:27 +0000 (10:05 +0000)]
Shadows, enhanced TestShadowsPerf
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10520
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca