3379 Commits

Author SHA1 Message Date
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
rem..om
6470f44c97 Added a test case for Hardware Skinning
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 09:25:20 +00:00
bre..om
ff4c38e20a TerrainLodControl now refreshes when first added to the scene
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 15:19:43 +00:00
phr00t
8cb1a8ed9e 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: https://jmonkeyengine.googlecode.com/svn/trunk@10556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 13:27:51 +00:00
sha..RD
0f21f19735 * 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: https://jmonkeyengine.googlecode.com/svn/trunk@10555 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 04:14:55 +00:00
sha..RD
b6afd61ef0 * Lighting shader now supports HW skinning
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:03:55 +00:00
sha..RD
d9e3af1795 * Unshaded material now supports HW skinning
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10553 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:02:55 +00:00
sha..RD
c21b60fbe7 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: https://jmonkeyengine.googlecode.com/svn/trunk@10552 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:02:12 +00:00
sha..RD
8c1e5c9cf9 * Set AndroidHarness contentView to a TextView (not GLSurfaceView) onDestroy(), perhaps it will help with OOM issues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:00:58 +00:00
sha..RD
281f9b6c20 * 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: https://jmonkeyengine.googlecode.com/svn/trunk@10550 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:00:08 +00:00
sha..RD
b0f2e17db2 * List of native objects in NativeObjectManager is now a HashSet instead of an ArrayList, for faster add/remove calls
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10549 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 02:56:54 +00:00
sha..RD
5e6b9a3746 * Fix use of deprecated Box constructor in TestBox
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 02:55:32 +00:00
rem..om
44a77537ce 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: https://jmonkeyengine.googlecode.com/svn/trunk@10547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-17 17:17:58 +00:00
sha..RD
bd9f389108 * 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: https://jmonkeyengine.googlecode.com/svn/trunk@10546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-17 03:50:28 +00:00
sha..RD
07a459555d * Added test to demonstrate what happens to a deleted texture when trying to use it with OpenGL
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-17 01:50:37 +00:00
Sha..om
3195940994 * Fixed issue 590 (Uniform.setVector4Length() re-allocating buffer even when not needed)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-16 15:21:41 +00:00
Sha..om
c972861331 * Fixed issue 583 (Matrix4f.multAcross() not working correctly)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-16 15:15:24 +00:00
iwg..om
8bc322e651 SDK: Android: Removed verbose setting when copying project libs to mobile/libs
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-16 12:07:46 +00:00
iwg..om
086b241ea4 SDK: Android: Changed mobile-impl.xml to avoid pre-dexing external jar files.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10541 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-16 02:03:58 +00:00
bre..om
2b9f2dc7b3 removed sysout from AnimChannel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-14 18:35:15 +00:00
rem..om
1e2dc1486b formatting of MeshLoader before an upcomming change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10538 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-13 11:31:37 +00:00
rem..om
eb5525e581 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: https://jmonkeyengine.googlecode.com/svn/trunk@10537 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-13 11:17:21 +00:00
rem..om
e34d483973 Cleaned up SimpleWater uniform and varyings to not systematically use vec4 for no reason.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10536 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-13 09:41:02 +00:00
rem..om
761fe60388 Added missing getters for SimpleWaterProcessors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10535 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-13 08:38:51 +00:00
Kae..pl
f8c256d127 Feature: added scale retreive methods to Matrix4f.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10534 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-12 21:04:16 +00:00
bre..om
0ffe547d5a test case showing soft particle issues, they end up quite hard...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10533 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-12 18:17:24 +00:00
PSp..om
e7aa7eb627 Modified maxLocal and minLocal to return 'this' to
match other methods.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10532 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-12 17:46:09 +00:00
nor..67
ffd8c72c66 - slightly improve AbstractPhysicsControl flow
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10531 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-12 13:06:45 +00:00
bre..om
61641eaaf5 reenabled the terrain paint button
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10530 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-10 16:59:49 +00:00
Kae..pl
4f104e4200 Bugfix: (hopefully) final fixes to armature applying to models without applied transformations (+ removing unused pieces of code)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-10 11:52:31 +00:00
Kae..pl
e282db0f7f Minor fixes to armature loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10528 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 12:06:57 +00:00
sha..RD
a725516f00 * Fine, Eric.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10527 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 02:12:33 +00:00
sha..RD
cb0a2ed1cd * Throw UnsupportedOperationException if multiple FBO color attachments are used on Android (only a single attachment, GL_COLOR_ATTACHMENT0, is supported)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10526 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 01:06:19 +00:00
sha..RD
27bf244729 * 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: https://jmonkeyengine.googlecode.com/svn/trunk@10525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 01:01:24 +00:00
sha..RD
9f4f321098 * Semi-colon.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:16:44 +00:00
sha..RD
30c7347cdf * If the render buffer storage format is 0 (not supported), throw exception instead of passing invalid enum to a GL call
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:05:34 +00:00
sha..RD
bcf3b7e7b6 * Added proper checks for RGBA8 support. All formats now specify the renderBufferInternalFormat
* Added support for depth24 and depth24stencil8 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:01:04 +00:00
rem..om
01e2403f6c Changed TestBatchNodeTower so that it doesn't use deprecated stuff anymore
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 10:27:10 +00:00
rem..om
ecc35e84c5 Shadows, enhanced TestShadowsPerf
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10520 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 10:05:27 +00:00
rem..om
74a91559aa Shadows Fixed issue where the new stabilization code was making black bandings when no object was in a split.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 10:04:46 +00:00
rem..om
85b4605229 Shadows Fixed issue where Edge filtereing was not properly initialized and was causing a crash when compiling the shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 09:34:26 +00:00
iwg..om
ba8f8db23c 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: https://jmonkeyengine.googlecode.com/svn/trunk@10517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 01:17:56 +00:00
Zer..om
9c91d8c8e1 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: https://jmonkeyengine.googlecode.com/svn/trunk@10516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-06 16:31:19 +00:00
rem..om
b5014c5fbc Implemented stable shadows for DirectionalLightShadowRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-06 09:21:11 +00:00
iwg..om
107b3f2b88 Modify normal map to use png instead of dds to enable running on Android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-06 04:20:00 +00:00
iwg..om
e26c86c794 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: https://jmonkeyengine.googlecode.com/svn/trunk@10513 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-06 04:18:43 +00:00