OSDN Git Service

mikumikustudio/MikuMikuStudio.git
11 years agoCode refactoring:
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

11 years agoBugfix: fixed a bug that caused a bone constraint to be properly validated even thoug...
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

11 years agoRefactoring: large changes in constraints system (see the proper topic on the forum...
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

11 years agoShadows, SSAO and CartoonEdge now works with HardWareSkinning
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

11 years agoSkeletonControl made some cleanup, removed old comments
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

11 years agoSkeletonControl gatheres target on render instead of on update
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

11 years agoFix for issue 592 : SkeletonControl does not track changes to materials or spatials
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

11 years agoShaderNodes SDK : fix for build
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

11 years agoShaderNodes : generated shaders are now cached by the assetManager to avoid generatin...
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

11 years agoShaderNodes : registered shader node definition locator to the android asset manager...
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

11 years ago * Fix PerspectiveLodCalculator by not caching entropies in object (since they vary...
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

11 years ago- update lwjgl to 2.9.0, fixing various issues:
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

11 years agoShaderNodes : Array types are now properly supported and array size can be driven...
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

11 years ago * Fix issue 574 (by extending JFrame instead of JDialog)
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

11 years ago * Fix issue 584 and issue 562 (minor typos)
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

11 years ago * Fix issue 570
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

11 years ago * Fix issue 569 by using googlecode server instead of jme website which blocks...
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

11 years ago * Ogre Importer: No longer crashes if submesh name index is out of bounds. Fix issue...
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

11 years ago * AppState documentation improvements according to issue 589
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

11 years ago * UnshadedArray shader will attempt to enable the relevant texture array extensions...
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

11 years ago * LwjglRenderer adds capability for texture array support if OpenGL 3 is available
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

11 years ago * TextureArray constructor ensures all images passed to it have the same format...
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

11 years ago * Fix issue where lighting shader would not compile when vertex lighting is used...
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

11 years agoFixed NPE in water filter when setting the reflection mapsize before the filter has...
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

11 years agoRemoved debugging system out from animChannel
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

11 years agoAdded a test case for Hardware Skinning
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

11 years agoTerrainLodControl now refreshes when first added to the scene
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

11 years agoUpdated native bullet builds to v2.81 for Linux & Windows (both 32 & 64 bit). MacOSX...
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

11 years ago * Mesh.prepareForAnim() is now much smarter about what to do. It won't convert the...
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

11 years ago * Lighting shader now supports HW skinning
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

11 years ago * Unshaded material now supports HW skinning
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

11 years agoHW Skinning
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

11 years ago * Set AndroidHarness contentView to a TextView (not GLSurfaceView) onDestroy(),...
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

11 years ago * Fix various issues with HW skinning state in SkeletonControl. setHardwareSkinningP...
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

11 years ago * List of native objects in NativeObjectManager is now a HashSet instead of an Array...
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

11 years ago * Fix use of deprecated Box constructor in TestBox
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

11 years agoFixed HWSkinning initialization that was not properly falling back to software when...
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

11 years ago * Added joystick mappings for wireless Xbox 360 controller. Back shoulder buttons...
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

11 years ago * Added test to demonstrate what happens to a deleted texture when trying to use...
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

11 years ago * Fixed issue 590 (Uniform.setVector4Length() re-allocating buffer even when not...
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

11 years ago * Fixed issue 583 (Matrix4f.multAcross() not working correctly)
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

11 years agoSDK: Android: Removed verbose setting when copying project libs to mobile/libs
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

11 years agoSDK: Android: Changed mobile-impl.xml to avoid pre-dexing external jar files.
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

11 years agoremoved sysout from AnimChannel
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

11 years agoformatting of MeshLoader before an upcomming change
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

11 years agoHardware Skinning first commit, still non functionnal as no material implements it...
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

11 years agoCleaned up SimpleWater uniform and varyings to not systematically use vec4 for no...
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

11 years agoAdded missing getters for SimpleWaterProcessors
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

11 years agoFeature: added scale retreive methods to Matrix4f.
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

11 years agotest case showing soft particle issues, they end up quite hard...
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

11 years agoModified maxLocal and minLocal to return 'this' to
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

11 years ago- slightly improve AbstractPhysicsControl flow
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

11 years agoreenabled the terrain paint button
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

11 years agoBugfix: (hopefully) final fixes to armature applying to models without applied transf...
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

11 years agoMinor fixes to armature loading.
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

11 years ago * Fine, Eric.
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

11 years ago * Throw UnsupportedOperationException if multiple FBO color attachments are used...
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

11 years ago * Added glGetError() checks after every GL call (its ugly, I know, but it helps...
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

11 years ago * Semi-colon.
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

11 years ago * If the render buffer storage format is 0 (not supported), throw exception instead...
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

11 years ago * Added proper checks for RGBA8 support. All formats now specify the renderBufferInt...
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

11 years agoChanged TestBatchNodeTower so that it doesn't use deprecated stuff anymore
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

11 years agoShadows, enhanced TestShadowsPerf
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

11 years agoShadows Fixed issue where the new stabilization code was making black bandings when...
remy.bouquet@gmail.com [Sun, 7 Apr 2013 10:04:46 +0000 (10:04 +0000)]
Shadows Fixed issue where the new stabilization code was making black bandings when no object was in a split.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoShadows Fixed issue where Edge filtereing was not properly initialized and was causin...
remy.bouquet@gmail.com [Sun, 7 Apr 2013 09:34:26 +0000 (09:34 +0000)]
Shadows Fixed issue where Edge filtereing was not properly initialized and was causing a crash when compiling the shader

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAndroid:
iwgeric@gmail.com [Sun, 7 Apr 2013 01:17:56 +0000 (01:17 +0000)]
Android:
Add support for OGLES20 extension "GL_IMG_texture_npot" in addition to the currently used extension "GL_OES_texture_npot" to detect NPOT support.
Added additional Renderbufferstorage formats for RGB8 and RGBA8 image formats

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFixed a bug where if you started a new animation from the animation complete callback...
ZeroSeparation@gmail.com [Sat, 6 Apr 2013 16:31:19 +0000 (16:31 +0000)]
Fixed a bug where if you started a new animation from the animation complete callback of another animation no event was triggered at the end of the new animation.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoImplemented stable shadows for DirectionalLightShadowRenderer
remy.bouquet@gmail.com [Sat, 6 Apr 2013 09:21:11 +0000 (09:21 +0000)]
Implemented stable shadows for DirectionalLightShadowRenderer

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoModify normal map to use png instead of dds to enable running on Android
iwgeric@gmail.com [Sat, 6 Apr 2013 04:20:00 +0000 (04:20 +0000)]
Modify normal map to use png instead of dds to enable running on Android

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAndroid: Initial commit to support FrameBuffers. This is still a work in progress...
iwgeric@gmail.com [Sat, 6 Apr 2013 04:18:43 +0000 (04:18 +0000)]
Android: Initial commit to support FrameBuffers.  This is still a work in progress.  FilterPostProcessors currently don't work on Android devices that do not support NPOT.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10513 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoBugfix: only rotation is used to transform node to its parent armature transformation...
Kaelthas_Spellsinger@o2.pl [Fri, 5 Apr 2013 13:07:59 +0000 (13:07 +0000)]
Bugfix: only rotation is used to transform node to its parent armature transformation when computing bone positions.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10512 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoBugfix: fixed an issue with skeleton loading when the armature was not a parent of...
Kaelthas_Spellsinger@o2.pl [Thu, 4 Apr 2013 19:00:21 +0000 (19:00 +0000)]
Bugfix: fixed an issue with skeleton loading when the armature was not a parent of an object it should animate.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10511 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoadded back the light in testenvmap
remy.bouquet@gmail.com [Thu, 4 Apr 2013 18:43:42 +0000 (18:43 +0000)]
added back the light in testenvmap

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10510 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFixed a bug in AnimChannel which would cause it to keep repeatedly issuing Animation...
ZeroSeparation@gmail.com [Tue, 2 Apr 2013 13:35:16 +0000 (13:35 +0000)]
Fixed a bug in AnimChannel which would cause it to keep repeatedly issuing Animation Complete callbacks every frame once the animation did complete rather than issueing one once each time the animation completed.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoMade soft particles work with MS anti aliasing
remy.bouquet@gmail.com [Mon, 1 Apr 2013 21:09:23 +0000 (21:09 +0000)]
Made soft particles work with MS anti aliasing

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10508 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAdd: ExtractAnimation SceneComposer Animation Action
tsr@strain.at [Mon, 1 Apr 2013 09:44:50 +0000 (09:44 +0000)]
Add: ExtractAnimation SceneComposer Animation Action

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10507 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoSDK : Fixed issue when clicking on an audioNode
remy.bouquet@gmail.com [Fri, 29 Mar 2013 20:04:31 +0000 (20:04 +0000)]
SDK : Fixed issue when clicking on an audioNode

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10506 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoStopped the not editable Userdata warning to show up
remy.bouquet@gmail.com [Fri, 29 Mar 2013 15:02:17 +0000 (15:02 +0000)]
Stopped the not editable Userdata warning to show up

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAdded some methods for bulk-attaching a bunch
PSpeed42@gmail.com [Thu, 28 Mar 2013 10:44:02 +0000 (10:44 +0000)]
Added some methods for bulk-attaching a bunch
of app states at once.  This is useful when
attaching several app states from a different
thread because there is a guarantee that they
all get initialized together before any of their
update() methods are called.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10504 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFixed remaining black artifacts with post waters when using the 1.5 shader and also...
remy.bouquet@gmail.com [Wed, 27 Mar 2013 19:39:41 +0000 (19:39 +0000)]
Fixed remaining black artifacts with post waters when using the 1.5 shader and also clamped refraction tex coordinates for under water in both shader

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10503 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoNifty-1.3.3-SNAPSHOT (build 2013-03-26): new method markBatchRenderImageAsUnloaded...
void65536@googlemail.com [Tue, 26 Mar 2013 00:43:09 +0000 (00:43 +0000)]
Nifty-1.3.3-SNAPSHOT (build 2013-03-26): new method markBatchRenderImageAsUnloaded() available at NiftyImage class

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10502 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoRemoved wierd import of org.bushe.swing.event.Logger; that was causing my build to...
ZeroSeparation@gmail.com [Sun, 24 Mar 2013 23:08:52 +0000 (23:08 +0000)]
Removed wierd import of org.bushe.swing.event.Logger; that was causing my build to fail locally and wasn't used anywhere.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10501 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAdded error logging to SettingsDialogue as requested by toolforger.
ZeroSeparation@gmail.com [Sun, 24 Mar 2013 21:48:44 +0000 (21:48 +0000)]
Added error logging to SettingsDialogue as requested by toolforger.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10500 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoChanged node to spatial in the getChild javadoc to be more correct.
ZeroSeparation@gmail.com [Fri, 22 Mar 2013 22:51:20 +0000 (22:51 +0000)]
Changed node to spatial in the getChild javadoc to be more correct.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10499 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAdded javadoc to getChild to explain that its really getDescendant
ZeroSeparation@gmail.com [Fri, 22 Mar 2013 22:49:23 +0000 (22:49 +0000)]
Added javadoc to getChild to explain that its really getDescendant

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10498 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoCommit patch from abies that drastically reduce the garbage creation when switching...
remy.bouquet@gmail.com [Thu, 21 Mar 2013 19:09:52 +0000 (19:09 +0000)]
Commit patch from abies that drastically reduce the garbage creation when switching techniques. It also reduce grabage collection for the AbdtractShadowRenderer.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFixed issue where the BAtchNode was throwing an ArrayIndexOutOfBound exception when...
remy.bouquet@gmail.com [Wed, 20 Mar 2013 20:38:14 +0000 (20:38 +0000)]
Fixed issue where the BAtchNode was throwing an ArrayIndexOutOfBound exception when batch was called twice in a row

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAdded support for int arrays uniforms. thanks to abies.
remy.bouquet@gmail.com [Wed, 20 Mar 2013 17:53:50 +0000 (17:53 +0000)]
Added support for int arrays uniforms. thanks to abies.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoWaterFilter fixed refraction map artifact that was producing black "waves" on the...
remy.bouquet@gmail.com [Tue, 19 Mar 2013 21:30:32 +0000 (21:30 +0000)]
WaterFilter fixed refraction map artifact that was producing black "waves" on the screen borders.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoEnabled/disable statistics with the view. This
PSpeed42@gmail.com [Sun, 17 Mar 2013 06:28:26 +0000 (06:28 +0000)]
Enabled/disable statistics with the view.  This
prevents stats from being collected unless they
are viewed.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAllow the Statistics collection to be enabled and
PSpeed42@gmail.com [Sun, 17 Mar 2013 06:26:31 +0000 (06:26 +0000)]
Allow the Statistics collection to be enabled and
disabled.  It turns out that this generates a measurable
amount of garbage per frame... partially due to a change
I made elsewhere.  It used to be that the frame values
were never cleared unless the stats were displayed...
thus the HashSets were always populated with the old
frames' values.  When I added a default app state to
clear them every frame the hashsets regrow every time
and generate ~1 meg of garbage every 15 seconds.  Not
a lot but unnecessary.
I think this way is more explicit and we no longer
rely on a side-effect.
A related change will be checked in for the StatsView
to properly enable/disable collection.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFixed issue in BufferUtils where quaternion and verctor4f were initialized with 3...
remy.bouquet@gmail.com [Sat, 16 Mar 2013 12:04:04 +0000 (12:04 +0000)]
Fixed issue in BufferUtils where quaternion and verctor4f were initialized with 3 zeros  in the buffer instead of 4.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFixed zoomSensitivity in chaseCamera, removed the zoomSpeed.
remy.bouquet@gmail.com [Fri, 15 Mar 2013 22:04:27 +0000 (22:04 +0000)]
Fixed zoomSensitivity in chaseCamera, removed the zoomSpeed.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFixed an issue in android config chooser. Some device seems to not have a rgb8 opaque...
remy.bouquet@gmail.com [Fri, 15 Mar 2013 21:56:59 +0000 (21:56 +0000)]
Fixed an issue in android config chooser. Some device seems to not have a rgb8 opaque config (BEST). In this case the config chooser will attempt to find a rgba8 config (BEST_TRANSLUSCENT) before falling back to fastest.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoAndroid texture util now supports uploading a sub texture to the GPU, even as a bitmap.
remy.bouquet@gmail.com [Fri, 15 Mar 2013 20:45:36 +0000 (20:45 +0000)]
Android texture util now supports uploading a sub texture to the GPU, even as a bitmap.
This makes Nifty batch rendering work on android.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoSDK: Add imports for new default setting for logging level in Android MainActivity.
iwgeric@gmail.com [Fri, 15 Mar 2013 02:42:35 +0000 (02:42 +0000)]
SDK: Add imports for new default setting for logging level in Android MainActivity.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10487 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoSDK: Add default setting for logging level in Android MainActivity.
iwgeric@gmail.com [Fri, 15 Mar 2013 02:34:11 +0000 (02:34 +0000)]
SDK: Add default setting for logging level in Android MainActivity.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoFix issue with how Android logging is handled.
iwgeric@gmail.com [Fri, 15 Mar 2013 01:28:07 +0000 (01:28 +0000)]
Fix issue with how Android logging is handled.
- Replaced standard Android logging Handler to avoid Android issue with only logging Level.INFO -> Level.SEVERE log records.
- Moved logging Handler initialization to AndroidHarness instead of in JmeSystem so logging in AndroidHarness and app startup could be logged.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoSDK : removed jme3Data folder that has nothing to do here
remy.bouquet@gmail.com [Sun, 10 Mar 2013 13:22:26 +0000 (13:22 +0000)]
SDK : removed jme3Data folder that has nothing to do here

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

11 years agoSDK : MatDefEditor: fixed compilation warnings
remy.bouquet@gmail.com [Sun, 10 Mar 2013 13:20:41 +0000 (13:20 +0000)]
SDK : MatDefEditor: fixed compilation warnings

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca