2365 Commits

Author SHA1 Message Date
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
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
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
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