474 Commits

Author SHA1 Message Date
nor..67
23867c866d - re-enable download of current platform version from jmonkeyengine.com
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7262 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-19 20:03:49 +00:00
rem..om
cdba72d2b7 Ragdoll, some enhancements
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7261 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-18 21:47:09 +00:00
PSp..om
d0a5ce55b9 Moved some exception handling to terminate connections
that throw low level exceptions.  The specific case I
saw for this was "An existing connection was forcibly
closed by the remote host" IOException.  Without this
new handling, SM continually tried to send the connection
its data.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7260 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-18 17:27:11 +00:00
PSp..om
9073820361 Reuse one big buffer per thread and copy the outbound
smaller buffers.  Way faster and way cheaper overall.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7259 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-18 05:56:52 +00:00
PSp..om
85b4eea8d7 Name the executor threads based on something that might
be useful to someone debugging thread dumps. ;)


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7258 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-18 03:48:41 +00:00
PSp..om
7d6d513fa5 Modified the DefaultClient (really its ConnectionAdapters)
to send their outbound data on a background thread.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7257 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-18 03:17:18 +00:00
PSp..om
e298a4357e Modified the toString() for UdpEndpoint to include
the address instead of the socket... since they all share
the same socket anyway and the datagram sockets don't 
have useful toString()s.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 21:14:41 +00:00
PSp..om
5225599ee2 Fixed a case where an exception would kill the kernel
adapter thread.  Also improved the details of the error
logging.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 21:04:09 +00:00
rem..om
bfd49c43e3 Fixed a typo in the com.jme3.bullet.control.ragdoll package and refactored the change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7254 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 20:57:29 +00:00
nor..67
c701645668 - enable target
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7253 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 19:23:51 +00:00
nor..67
5d90627942 - create separate hudson platform install target, copying the file instead of downloading from googlecode
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 19:23:19 +00:00
nor..67
45ae22e356 - add googlecode ant library
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7251 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 16:08:40 +00:00
nor..67
bfdffb1ffb - improve ragdoll test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7250 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 11:52:28 +00:00
rem..om
0539f1971a - ChaseCamera's attributes are now protected
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7249 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 08:18:04 +00:00
rem..om
9b5aa824fd - Ragdolled model position now updates when ragdoll has control
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7248 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-16 15:36:38 +00:00
rem..om
3824676354 - RagdollControl now supports initial transformation of the model
- Scaling the model after the ragdoll init does not work yet

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7247 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-16 08:56:02 +00:00
rem..om
062861beea ChaseCamera : added a setUpVector method.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7246 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-16 07:45:26 +00:00
PSp..om
593d9bf35a UDP-based kernel now does its writes on a background
thread.  Most of the time UDP packets go right out
but not always... depending on the network layer it can
take a couple of milliseconds.  And that's alot when
you're blasting packets out to a dozen users 20 times
a second.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7245 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-16 03:51:43 +00:00
PSp..om
1f1c2ac15b Tightened up the DefaultServer connection close code
to make sure that the connection closed change event
only goes out once.
Added some additional logging to the endpoint closings.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7244 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-16 01:54:51 +00:00
PSp..om
189a787d36 Added some warning for some odd state issues that can happen
in real life.
Fixed a subtle bug with the UDP endpoints where they weren't
getting propery closed.  This manifested as the endpoints
still getting broadcasts even after Server no longer knew
about them.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7243 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-16 00:13:25 +00:00
PSp..om
255fe9f9c9 Turned the magic input mapping strings into constants to
make it easier to unbind them if desired.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7242 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-14 03:43:02 +00:00
sha..rd
d729da9e78 * @SuppressWarnings("fallthrough") to prevent warnings
* Fixed rest of the warnings

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-14 03:37:05 +00:00
sha..rd
7dd3d52e9e * Removed many deprecated methods and classes
* Fixed various small issues detected by code analyzer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7240 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-14 03:19:11 +00:00
sha..rd
0d8a4b8dd4 * Fixed some luminance/alpha formats failing due to missing break statement under switch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-13 22:43:15 +00:00
sha..rd
efb9792c95 * Better toString() methods for Image and Texture
* OGGLoader no longer fails if file length less than number of expected samples

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-13 04:55:43 +00:00
rem..om
3378222dfa Ragdoll :
- New test with sinbad
- Added bone selection for building the collision shapes
- Moved Radoll classes to proper package

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-12 12:35:10 +00:00
rem..om
14e4b79170 Changed Camera.setViewPort(float,float,float,float) to not call onViewPortChage 4 times.
thanks to Lutherion http://jmonkeyengine.org/groups/development-discussion-jme3/forum/topic/possible-bug-with-viewport-on-camera/#post-124630

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7235 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-12 11:29:56 +00:00
nor..67
7d09cafa71 - fix dependency issues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7233 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 23:43:15 +00:00
nor..67
e22c3f0349 - make remys life easier
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7232 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 21:40:39 +00:00
nor..67
c5efd0b06e - move ragdoll classes to separate package
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7231 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 21:35:23 +00:00
rem..om
1f286f424f - RagdollControl now has automagic joint setup via RagdollPreset and HumanoidRagdollPreset
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7230 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 19:18:47 +00:00
sha..rd
3b9cf4cd35 * Updated Particle.j3md so it works on pre GLSL 1.2 graphics cards
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7229 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 19:11:02 +00:00
nor..67
666a800ecd - set kinematic mode to ragdoll parts when control is disabled
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7228 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 12:31:33 +00:00
nor..67
75d0c560bf - enable animation for ragdoll test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7227 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 12:24:08 +00:00
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
eef7e8299b - fix SceneExplorer OptimizeGeometry entry
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7215 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-07 12:07:19 +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