292 Commits

Author SHA1 Message Date
sha..rd
7d6167c0dc * Added Renderer.invalidateState() to reset the render context
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7280 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 20:18:41 +00:00
sha..rd
8019ba2a53 * LwjglRenderer will throw an exception when attempting to set null shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7279 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 18:56:18 +00:00
sha..rd
5ffa3927ea * Fix compile error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7278 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:48:17 +00:00
sha..rd
e9e64c7cb7 * Removed deprecated AnimControl constructor
* Moved bind pose generation to Mesh away from Ogre loader as its a fairly common operation for animation loaders
 * Added TestCustomAnim test which demonstrates how to generate an animated model from scratch

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7277 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:41:47 +00:00
PSp..om
2bc6e27200 Proper fix for the bug where JME's quaternion wasn't
being serialized automatically.
When a class is final and in the field of a class that
is registered, it is safe to register it automatically
because the type can be determined reliably on the
other end of the stream.  So now it allows that.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7276 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:41:15 +00:00
rem..om
75fa331345 - added LightNode
- used tempVars to avoid Vector3f and Quaternion instancing in update method of CameraControl.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7275 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:21:08 +00:00
sha..rd
e990b25822 * TestNiftyGui now uses jme3test/niftygui/hellojme.xml and acts as a ScreenController
* Added TestNiftyExamples that runs the all/intro.xml in the nifty examples jar

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7274 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:52:38 +00:00
sha..rd
8e7d609682 * nifty examples jar much smaller now
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7273 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:47:56 +00:00
sha..rd
0d49c41b38 * Remove messed up logging setup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:35:10 +00:00
sha..rd
9b9fb940a6 * Fixed compile error in nifty
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:06:54 +00:00
sha..rd
6ed32b479c * Updated to latest version of Nifty GUI 1.3
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7270 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 15:35:34 +00:00
nor..67
3e34002525 - hide hudson update target in build.xml
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7269 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 15:12:52 +00:00
sha..rd
9088d6230d * Added Camera.lookAtDirection()
* Added docs for Camera.containsGui()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7268 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 14:00:43 +00:00
nor..67
1203073bd9 - make SM Serializer only display warning instead of throwing an Exception when the class has not been registered, internally supported classes like jME math primitives were not accepted anymore
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 13:58:26 +00:00
sha..rd
67dd48aae7 * Camera.setDirection() now deprecated since it doesn't do the thing most people expect it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7266 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 13:53:16 +00:00
sha..rd
f2f6246e43 * Moved Screenshots to Desktop Source Package since it uses BufferedImage
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7265 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 01:08:25 +00:00
sha..rd
8fb97f1a3a * Call timer.reset() when gaining focus to fix "object speedup after alt-tab" issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7264 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 00:39:51 +00:00
sha..rd
190767e7be * Fixed bug with Spatial.localToWorld() and Spatial.worldToLocal() not using checkDoTransformUpdate()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7263 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 00:18:32 +00:00
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