271 Commits

Author SHA1 Message Date
sha..rd
7f7fc50ab5 * Increased buffering for streaming audio from ~250 ms to 1000 ms.
* Reduced audio thread update from 100 fps to 20 fps (why was it 100 anyway??)

Result: Music stuttering dramatically reduced.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 00:57:18 +00:00
sha..rd
2979a26984 * Added support for up to 8 texture coordinates
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7225 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 21:15:33 +00:00
sha..rd
53da7c4de4 * Added CCD threshold to BoneRagdoll test so that balls collide more often
* Reduced BoneRagdoll constraints to PI/8
 * Added an ambient light so the ragdoll is more visible
 * Fixed bug with Unshaded.j3md failing with glow map

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7224 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 21:03:55 +00:00
rem..om
6417263674 - RagdollControl now uses SixDofJoints instead of ConeJoints.
- Ragdoll joints are now fully tweakable by user
- Changed controls in TestBoneRagdoll : keep left click pressed longer to throw bigger bullets.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7223 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 16:07:26 +00:00
PSp..om
c5ac1c8bfe Modified to throw an exception if the class of the object
being written hasn't been registered yet and does not
have an explicit ID set.  The old way would try to send
it anyway and then it would fail to get received on the
other end.
A setStrictRegistration(false) method can be used to get the
old behavior if needed.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7222 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-09 08:07:25 +00:00
rem..om
77acf77428 Fixed NPE in setBoneAttachement in SkeletonControl.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7221 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-08 20:54:53 +00:00
PSp..om
f9c321e6e9 Reduced the scope of the synchronized block to something
more reasonable (rather than essentially encompassing the
entire application if you build your app around AppStates)
but the realy benefit is now the app states can add/remove
other app states without random oddness happening.
...and it's ever so slightly more efficient now, too.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7220 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-08 03:55:57 +00:00
PSp..om
0f1b05b405 Fixed the few uncheck warnings that I could... suppressed
the rest.  Added an UnsupportedOperationException to 
SerializableSerializer so that it doesn't silently fail
to do anything at all.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7219 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-08 02:55:21 +00:00
PSp..om
49f65bd7aa At least fixing the type-check warnings in the code I added.
Serializer is a little harder...


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7218 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-08 02:01:52 +00:00
PSp..om
4deb4d46e7 Improved the exception handling when objects fail
to instantiate.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7217 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-07 22:40:53 +00:00
nor..67
c036d36c96 - throw error on dynamic mesh collision shape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7216 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-07 17:41:47 +00:00
nor..67
dd749a699b - simplify GeometryBatchFactory.optimize() by expecting a Node as parameter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7214 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-07 12:05:04 +00:00
nor..67
0dacbb77e1 - add JavaDoc to GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7213 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-07 11:48:28 +00:00
nor..67
345986fb70 - make GeometryBatchFactory.optimize() replace the optimized spatial
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7212 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-07 11:41:59 +00:00
sha..rd
7c7afb677f * Add check for GL_ARB_texture_multisample before setting up the texture to see if its supported
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 22:51:41 +00:00
sha..rd
adfead7ee3 * Replaced Beep.ogg with a better one
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7208 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:40:29 +00:00
sha..rd
2f7e51cef2 * Deleted beach terrain model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7207 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:39:18 +00:00
sha..rd
2effd8cc25 * SceneLoader will no longer crash on missing material
* Compressed ManyLights texture 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7206 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:33:21 +00:00
sha..rd
36c51e12c6 * Compressed buggy textures
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7205 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:27:48 +00:00
sha..rd
643eebb4bd * Deleted useless TestYCoCgDds test and related textures
* Actually replaced tree textures this time. Not compressing the leaves texture because it leads to artifacts. 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7204 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:06:04 +00:00
sha..rd
3778400635 * More errors sent to Application.handleError()
* Application.handleError now stops by default to prevent process from lingering on
 * Made sleeps in LwjglCanvas slightly longer to prevent hogging 100% cpu
 * Renamed elephant skeletonxml to skeleton.xml
 * Compressed HoverTank textures and removed high-res versions
 * Compressed Tree textures

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7203 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 19:58:16 +00:00
sha..rd
6c776e7bb3 * Got rid of ADPCM stuff that didn't even work
* Fixed bug in WAVLoader causing it to fail if the file had extra bytes at the end

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7201 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 03:22:51 +00:00
sha..rd
ff344c6a96 * Added MatParam.getValueAsString() to print out the material param value as it would appear in a J3M file.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7199 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 02:49:15 +00:00
sha..rd
bb238c3c99 * Fixed bug with OGG audio having incorrect length
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7198 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 02:06:29 +00:00
sha..rd
c3b060be6d * Fixed bug with WAV audio getting truncated on import
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7197 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 01:23:35 +00:00
nor..67
b24b3f78d4 - add suppress warnings for Spatial.getUserData()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7196 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 23:13:02 +00:00
nor..67
6407e5617d - use paul's awesome generics magic in Spatial.getUserData
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7193 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 20:08:55 +00:00
rem..om
23e17164da Fixed ogreComplexAnim scale
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7190 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 05:26:25 +00:00
rem..om
9c996bfc6d Ragdoll :
- forgot the RagdollControl....doh

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 05:21:08 +00:00
sha..rd
cbbb261828 * Made sync system deprecated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7188 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 02:28:49 +00:00
rem..om
916f4f203c Ragdoll :
- added ragdollCollisionListener
 - Switch between animControl and ragDollControl
 - TestBoneRagdoll : Shoot with left click, reset Oto with spacebar. Added bullet time on first impact :D have fun!

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7186 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 22:11:28 +00:00
rem..om
0a82e1ee11 Lolilol the ragdoll
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7185 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 19:02:12 +00:00
nor..67
33596cb88f - serialize light&camera name
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7182 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 13:09:53 +00:00
nor..67
d5db0aef1f - add name to camera and light (not being part of the scenegraph is no reason to be nameless)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7181 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 13:00:12 +00:00
PSp..om
041f47157d Modified serializer to throw an exception if it tries
to read from a buffer and doesn't understand what class
it's reading.  Error messages... it's the little things
that matter.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7180 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 01:01:17 +00:00
nor..67
0e10f7bdc3 - fix logging to only replace logger for jme3 packages
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7178 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 22:34:50 +00:00
sha..rd
90bf137894 * Added new renderer capability: NonPowerOfTwoTextures
* LwjglRenderer will show warnings when NPOT textures are used and the graphics card doesn't support them
 * LwjglGL1Renderer will scale textures to POT sizes if NPOT is not supported
 * Enable simple logging

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 21:45:29 +00:00
sha..rd
86a4ad3718 * J3O files will now automatically load J3M files if they were loaded via assetManager.loadMaterial()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 21:04:47 +00:00
sha..rd
b774630160 * TextureKey.equals() now takes into account flip Y flag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7174 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 19:54:26 +00:00
rem..om
db8034d894 Node : fixed setTransformRefresh to properly set the transform refresh to all the node's children.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 10:33:59 +00:00
rem..om
c63c4a3e2b - Used TempVars for transform calculation in getOffsetTransform
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 09:13:47 +00:00
PSp..om
70c1db322f Fixed an indexing bug introduced by the last change.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7169 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 06:29:03 +00:00
sha..rd
636339a432 * Proper TempVars lock/unlock usage in SkeletonControl ... Although it shouldn't really break anything since that class is the only one using the skinning arrays.
* Deprecated Transform.Identity since it does not follow conventions. Added IDENTITY to replace it.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 05:04:14 +00:00
sha..rd
2611139702 * Fixed a possible issue where updateLogicalState could cause an IndexOutOfBoundsException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7167 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 04:46:03 +00:00
sha..rd
548eb26428 * Made Bone.getAttachmentsNode() private, instead the method in AnimControl should be used
* Lights do not have names because they are not part of the scene graph
 * Fixed compiler warnings with IntMap iteration

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 03:56:39 +00:00
PSp..om
8858ccf2ef Getting rid of a couple of compiler warnings.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 03:09:08 +00:00
rem..om
109c6b4ef7 Unreverted back change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 because change is so fun :D, and it's more logical...i guess
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 22:58:13 +00:00
rem..om
dc030c897f Bone animation :
- Split of the AnimControl in two parts : 
	- The AnimControl that handles skeleton transformation via tha animation data
	- The SkeletonControl that handles the skinning of the mesh using skeleton transformations
- Ensured backward compatibility with old j3o files, and changed the ogre mesh loader to create the controls properly
- Reverted change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 transforms passed to the setUserTransform methods must be considered as increments to current transform
- Fixed some issues in the ragdollControl and test case (still WIP don't use it)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 22:41:47 +00:00
nor..67
cdd44058d8 - remove isActive from AppState interface
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7161 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 20:50:00 +00:00
rem..om
6d27155e86 Fixed tests that use wildHouse.zip so that the loading append in the simple init and not in the main, because it fails since the testChooser change
On a side note the wildhouse.zip in the download section is not the same as the one in the test package, and fails to load due to bad file naming (meshxml instead of mesh.xml)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7159 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 08:45:55 +00:00