509 Commits

Author SHA1 Message Date
rem..om
23c992b05b curve : fixed wrong index buffer allocation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-08 20:49:12 +00:00
Kae..pl
3806ab1fe6 Support to loading specified layers of the scene added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-08 20:30:44 +00:00
Kae..pl
c50055645f Initial import of blender loader test classes and assets.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-08 18:53:46 +00:00
nor..67
36d041fae6 - add blender loader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-07 11:43:34 +00:00
sha..rd
39e3e2d11f * Fix spelling error in Unshaded material Seperate => Separate, hopefully no-one was using it as otherwise it would break a lot of things
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7553 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-07 01:48:35 +00:00
kim..ng
2768e68c3a Android: getTouchInput() interface add
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-04 20:34:43 +00:00
kim..ng
384cdcff85 Android: getTouchInput() interface add
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7550 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-04 20:34:20 +00:00
kim..ng
a697b6efa4 Android: getTouchInput() interface add
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7549 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-04 20:33:55 +00:00
kim..ng
d472a16f7f Touch event core files integration
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-04 20:31:09 +00:00
kim..ng
dd100bed74 Android: preparation of android tree for jme input integration
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-04 20:28:36 +00:00
PSp..om
85d711ccd2 Converted the raw input listener loop to use a
cached array copy of the raw input listener list.
This prevents the whole thing from blowing up if
a RawInputListener is removed as the result of a
raw input event.  It's also ever so slightly faster.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-02 07:23:54 +00:00
ant..om
0248e92e3c Added a terrain material that uses height and slope information to map textures instead of alphamap.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-31 17:14:39 +00:00
rem..om
2d4896942d TranslucentBucket :
- Added a translucent bucket that is rendered after the processors (usefull for shadows)
- For filters, rendering this bucket is a bit particular, so you can use the TranslucentBucketFilter to render the translucent bucket in the middle of the fillter stack (doc is comming up in the wiki)
- renamed Filter's preRender method to postQueue for consistancy with processors
- added translucent objects in TestPostWater, added a fire (particles) in test transparent shadows

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-31 06:51:51 +00:00
rem..om
29a4e7e01c Fixed shader compilation failure when using glow map and unshaded material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7539 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-31 06:30:14 +00:00
rem..om
5491f0b749 Fixed NPE in KinematicRagdollControl when removing the ragdoll from the scene (thanks Teique)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7538 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-31 06:11:19 +00:00
sha..rd
c9a5e0953a * Fix colors reference issue in MTL loader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7537 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-30 18:04:02 +00:00
kim..ng
8cefea550e Android: Fixed race-condition on GLSurfaceView destroy, fixed MouseEvents for flyCam rotation bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7536 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-29 20:55:28 +00:00
kim..ng
e5478faae0 Android: added support for cube maps, Sky works now, use AndroidSkyFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7531 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-29 17:46:25 +00:00
ant..om
4fa5522c8e Added a terrain material that uses height and slope information to map textures instead of alphamap.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7530 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-29 09:30:47 +00:00
ant..om
58ede837c6 Added my own noise library as jar (noise-0.0.1-SNAPSHOT.jar), hope I didn't break any build stuff
TerrainGridTest is running smooth now using 257x257 sized TerrainQuads with fractal based heightmaps calculated on the fly.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-28 18:48:27 +00:00
nor..67
1fbd05a3ca - update netbeans project libraries
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7526 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-26 21:23:03 +00:00
PSp..om
71df4f9acd Client will log the exception that causes it to disconnect
just in case the caller has not registered any listeners.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-25 20:33:59 +00:00
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