672 Commits

Author SHA1 Message Date
nor..67
714d0263fe - fix bug in character.setJumpSpeed (thanks to lyfox)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-25 18:54:25 +00:00
nor..67
3287a9fc01 - merge control changes to native bullet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-24 17:03:08 +00:00
kim..ng
f93b95b3a4 Android: Fixed app lifecycle. If you leave your activity with the back key the app will be destroyed, if you use the home key the app gets frozen in the background. You can return to it and it will be in the same state as when you left it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-24 14:57:50 +00:00
Sha..rd
8b8e84ac6a * Added hack to allow loading of non-spec-compliant dotScene files from Blender 2.57
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 23:52:31 +00:00
Sha..rd
e91fe8f541 * Converted terrain textures to JPG to reduce filesize
* Updated to latest nifty gui
 * Music player now uses duration property
 * TestSerialization ported to new SM

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7520 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 17:46:14 +00:00
Sha..rd
c91d1d264a * Added new constructor for AudioNode that accepts stream-cache parameter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 17:17:52 +00:00
Sha..rd
873c656e23 * Fixed crash when changing number of samples/bpp and then calling app.restart()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 17:02:46 +00:00
rem..om
620e339b7c SettingDialog :
- Image url does not need an additionnal "/" at the start of the path (still work with it though). It to be consistent with the paths used for the asset manager.
- If the image is not found an AssetNotFound exception is thrown.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 08:39:39 +00:00
Sha..rd
f1361cc9e6 * OGG loader now supports stream-cache feature
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 01:21:02 +00:00
Sha..rd
3a938b7dc9 * Mesh.getTriangle() now supports 32bit index buffers and no index buffers
* Fix small logging issue in InputManager
 * Added stream-cache feature to streaming audio
 * Additional javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 01:19:40 +00:00
Sha..rd
cbefb99eed * OBJ loader will warn you if you're using lit meshes without normals
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 00:28:34 +00:00
Sha..rd
b428d8ac48 * MTL loader now supports Blender shadeless materials
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7513 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 00:25:20 +00:00
rem..om
698c50d8fd KinematicRagdollControl now correctly apply inverse world transforms of the parent of the model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7512 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-20 19:17:51 +00:00
Kae..pl
b6d7b78a70 Added shape emitters that uste the meshes' shapes to emit particles (used by Blender Loader).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7511 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-19 20:30:08 +00:00
Sha..om
f2bba9e7a7 * Deprecated AndroidApplication in favor of AndroidHarness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7510 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-19 17:10:38 +00:00
kim..ng
46ca84e835 AndroidHarness integration
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-18 19:12:25 +00:00
nor..67
dafc2afecb - fix PhysicsSpace.removeAll() cast bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7507 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-17 13:42:17 +00:00
PSp..om
c75f157cbb Sort of fixed a streaming related memory leak. Well,
streams won't leak anymore but the buffered case
technically will if you create them and drop them because
that's a different level of fix.
Also made the deleteAudioData synchronized since it can
be called from another thread pretty trivially.
And fixed a race condition that caused an IndexOutOfBounds
exception if you happen to try adjusting an AudioNode's
parameters right as it was finishing playing.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7506 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-16 22:59:49 +00:00
rem..om
e73e97f753 BillboardControl :
- applied a patch from Abies to fix align to axis behaviour. 
http://jmonkeyengine.org/groups/graphics/forum/topic/billboard-control-having-issues-when-parent-node-is-being-rotated/#post-127586

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-16 17:35:09 +00:00
rem..om
bc8162104f Camera :
- fixed worldPlane init to avoid NPE when camera is loaded from a saved file.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7504 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-16 17:13:52 +00:00
rem..om
ab10b457b0 KinematicRagdollControl :
- added support for getting RigidBodies associated with each bone


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7503 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-16 16:46:10 +00:00
kim..ng
a8e9d803dc src/android patchset: changes AndroidAssetManager, AndroidInput, OGLESContext, JmeSystem, TextureLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7502 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 19:17:34 +00:00
kim..ng
0ec3bb6dba src/android patchset: changes AndroidAssetManager, AndroidInput, OGLESContext, JmeSystem, TextureLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7501 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 19:14:53 +00:00
rem..om
fb28b20660 KinematicRagdollControl :
- Added possibility to tweak ccd motion threshold for the ragdoll, or for specific bones.
- Added possibility to tweak ccd swept sphereradius for the ragdoll, or for specific bones.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7500 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 16:08:56 +00:00
rem..om
eb63ad11de Animations :
- Created a nlerp function in quaternion (thanks to Lyzards)
- Used it for rotation interpolation when blending animations (fixed the testAnimBlendBug thanks again to Lyzard)
see related post http://jmonkeyengine.org/groups/graphics/forum/topic/ogrexml-model-and-animation-blending/?topic_page=2&num=15#post-127813

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7499 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 15:46:39 +00:00
rem..om
5468dfe927 KinematicRagdollControl : the ragdoll can now be moved using setLocalTranslation on the model while in ragdoll mode.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7498 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 11:38:29 +00:00
rem..om
1c76575ef7 Added empty constructor for Camera for serialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 08:14:00 +00:00
PSp..om
743ecf650e Fixed a comment to be more accurate. Max distance
is not the maximum distance for the sound to be
heard but the maximum distance that it will be
attenuated.  In other words, setting max distance
to a small value has the opposite effect of cutting
off the sound early.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 05:42:54 +00:00
PSp..om
2f415f3919 Fix an index out of bounds exception when moving an
audio node that hasn't been played yet.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 05:06:34 +00:00
PSp..om
945683f432 Fixed positional audio to actually be positional.
Prior to this change, all positional audio was relative
to the listener.  So no amount of moving around or
turning of the head was going to make the sound any
different.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 04:57:54 +00:00
sha..rd
3678d4d4a3 * Attempt to fix some ATI driver crash on PostShadowPSSM15
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-14 21:58:12 +00:00
rem..om
cacfc6b71a Properly use bitmasks on camera for checking culling ( to avoid checking against a plane if the parent node is already on the positive side of it) making culling faster
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-14 14:05:50 +00:00
sha..rd
3430cd93d1 * Prevent UnsupportedOperationException when using LightMode SinglePass
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-13 22:52:04 +00:00
nor..67
bfe76ba56a Update windows bullet native
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-12 19:38:08 +00:00
nor..67
3829bcf2c7 Bullet Native:
- throw java NPE's on all native NPE cases

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-12 19:33:02 +00:00
ant..om
0bfd5aa2a3 fixed a bug calculating camera cell
Test is updated to not use LOD and physics for testing purposes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-12 18:20:23 +00:00
sha..rd
e55e17ba4b * Fix issue with MTL map_** statements provided with arguments
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7487 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-11 18:48:14 +00:00
rem..om
db62445d7e Post process filters :
- Fixed Apsect ratio issue with multiviews

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-11 17:24:21 +00:00
PSp..om
e6c9cbac12 Modified the setAttribute() method to remove the attribute
if the value is null instead of throwin an NPE.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-11 17:12:01 +00:00
nor..67
842260bf9c - remove jMP project assets stuff from project.properties
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-11 08:32:52 +00:00
ant..om
34a47debb9 TerrainGrid added to terrain package, test included
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-11 04:42:57 +00:00
PSp..om
9489d43098 If reverb was enabled then the effect channel association
needs to be cleared, regardless of whether there was a 
filter or not.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7482 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-10 20:43:41 +00:00
nor..67
aa2c4333f4 - merge changes to native bullet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-10 16:17:13 +00:00
nor..67
9853bd266d - add option to make heightfield collision shape for TerrainPatch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7480 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-10 16:15:49 +00:00
nor..67
d1fb15579a Update windows bullet native
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7479 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-10 16:03:48 +00:00
nor..67
65dec26927 Bullet Native:
- add -static to windows build

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7478 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-10 15:26:28 +00:00
nor..67
1541b2b4df - add jvm args in linux distribution start script
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7477 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-10 15:18:42 +00:00
rem..om
792f44cf9f Post process filters :
- re-implemented multiview filters another way (filters are now correctly rendered to the size of the viewport, and that's much faster)
- fixed an issue the was messing the filter render when using setEnabled on a filter prior FilterProcessor init
- fixed a deprecated m_ mat in WaterFilter

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-09 17:00:17 +00:00
nor..67
55e6eb57f3 Bullet Native:
- flag private project folder "ignore"

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7475 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-09 16:16:15 +00:00
nor..67
070ddd23f0 Bullet Native:
- avoid use of pointers for math primitives globally

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7474 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-09 16:15:34 +00:00