1441 Commits

Author SHA1 Message Date
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
sha..rd
56554d970d * Forgot this one ..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7158 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 01:51:54 +00:00
sha..rd
12fae01a80 * OBJLoader will no longer crash when it cannot find materials in MTL file
* Fixed bug where calling any of the Listener methods would have no effect 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 01:50:01 +00:00
PSp..om
ee7ba81ee3 Remove the line that puts all bitmap text into the
Gui bucket by default because it's confusing and in
most cases the bitmap text would have inherited that
bucket from its parent if it were appropriate.  Unless
someone educates me as to the error of my ways.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 23:35:57 +00:00
PSp..om
858925182e Added a log INFO message for when messages are dispatched
and no listeners are registered to receive it.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7154 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 21:42:13 +00:00
PSp..om
d3364b4622 Fixed an NPE (apparently harmless) for a certain connection
teardown ordering and added some logging just to be sure
the channels are getting closed.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7153 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 21:33:13 +00:00
PSp..om
50465e37b3 Fixed a getConnection() bug caused by a silent autoboxing
issue left over from when the long -> int client ID 
conversion was made.  Now connection lookups work again.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 21:23:48 +00:00
rem..om
50d55b7e59 RagdollControl ---WIP----
- Automatic creation of the ragdoll collisions shapes
- Changed TestBoneRagdoll (press space to activate physics, left click to shoot bombs)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7151 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 17:51:54 +00:00
mul..va
4877b17cab Missing Search Textfield in TestChooser
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7150 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 04:45:49 +00:00
nor..67
2267d5ff1f - fix Ray vars unlocking
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7149 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 23:34:53 +00:00
nor..67
3c10d7c16b - fix use of tempVars
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7148 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 22:49:58 +00:00
nor..67
d80616ef89 - add rotation fix for SimpleWater plane , thanks to @batkid
http://jmonkeyengine.org/groups/effects/forum/topic/changing-the-rotation-of-simplewaterprocessor/

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 22:42:13 +00:00
mul..va
e280c27adf URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/checking-gui-culling/
Check Culling of Gui Node on Screen Space
Now Gui node can have Bucket.Dynamic

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7145 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 08:45:49 +00:00
mul..va
fbc980152e TestChooser multi-run fix.
Not all TestXXX class extends Application class.
If test doesn't extend Application, call main() instead of start() method.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7144 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 08:40:53 +00:00
mul..va
16fc60c8a0 URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/renaming-appstate-setactive-setenabled/
Renaming AppState.setActive()/isActive() to setEnabled()/isEnabled() for consistency

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7143 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 00:26:13 +00:00
rem..om
2762ba3b27 Bone Animation : fixed scale on user transform
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7142 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-30 04:31:59 +00:00
mul..va
df8680bf17 URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/add-double-click-enter-support-for-testchooser/
Add double click, enter, multiple selection support for TestChooser

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7141 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-30 02:04:12 +00:00
PSp..om
228a207aaf Had this one hanging around from like a month ago...
Added the ability to set the geometry comparators
for the buckets for those cases where the app may
know better.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-29 04:31:53 +00:00
PSp..om
37cc6e581d Deprecated registerPackage() and added a log INFO to
log all classes that are registered.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7136 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-28 19:33:41 +00:00
sha..rd
e4cc9d1482 * Fixed bug with dual UV channel loading, forgot to do it in the previous revision..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7133 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-28 04:02:29 +00:00
sha..rd
8adc704bcc * Fixed bug with OgreXML loader not actually supporting 2nd UV channel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7132 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-28 02:33:57 +00:00
sha..rd
e15b26b0ed * Fixed issue where Nifty GUI would consume all mouse button events
* Made video player deprecated


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 19:44:51 +00:00
PSp..om
f7f47a13e4 Modified to log and continue when the message/event
dispatch throws exceptions.  This protects the server
from dying just because of a bad listener.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7125 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 07:17:54 +00:00
PSp..om
6465dbd516 Removing an errant println.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7124 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:47:29 +00:00
PSp..om
e58ec4b8a0 Added code that will wake up the blocked kernel-caller
if there are events to deal with.  This wasn't a big
deal for connects because there's always an accompanying
message but for disconnects we wouldn't get events until
the next message came through.  Always meant to go back
and fix it and now I have.  Note: this is because our
adapters use a single thread for pulling envelopes off
and for dispatching connection events.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7123 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:39:00 +00:00
PSp..om
3fc0d506f4 Added some info logging for connection close events...
we log connect, might as well log disconnect.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7122 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:37:06 +00:00
PSp..om
99a21a8c1d This would have saved me soooo much time. Serializer's
single-arg registerClass() method now throws an exception
if the object is not marked Serializable.  Internally,
the package-load stuff uses the new alternate method that
allows safe non-exception throwing registration since it's
hitting it with every class in a package.
Interestingly enough, messages will still get written out 
because of some questionable code in writeClassAndObject()...
but it won't be read as anything but null despite its
40+ bytes of data.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7121 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:31:21 +00:00
nor..67
0a369b96d8 - add check for negative force to BombControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7120 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 00:35:54 +00:00
PSp..om
5012b2d3dd Use an extra byte per final-typed field to handle
the case of nulls.  Note: this is specific to
serialized objects and is therefore not adding
a byte to things like Strings or arrays... those
will have to be reviewed separately.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-26 22:44:09 +00:00
PSp..om
3e5973793e A better exception for errors that really should have a root
cause.  It's possible to set it right on IOException but not
at all convenient.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7118 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-26 21:32:49 +00:00
rac..om
5ae44319ea Turns out I did things a bit wrong with respect to the new nifty mouse even queue....
I called stuff that was meant to be internal to nifty. That's fixed now. Also had to replace the nifty examples jar with a new version. This version os BIG (15Mb). Void is working on a smaller one, but at least with this big one, things work as expected.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7117 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 23:56:43 +00:00
rac..om
76ff6bb99f Mouse wheel and the other two mouse buttons should now also be fixed. Since this is not tested in the NiftyGUI test there's no real of know till a test has been created though. To fix it I just tweaked the appropriate if statements a bit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7115 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 22:56:51 +00:00
rac..om
8cdef21af6 upgraded nifty and nifty-default-controls to nightly build of 2011-03-24. Also fixed the AwtMouseInput and removed some ununsed imports. The com.jme3.niftygui.InputSystem has been changed as well to correspond with the new Nifty way of working with mouse events. It now uses the new MouseInputEventQueue and the new NiftyMouseInputEvent.
There is still an issue with the mouse buttons besides the first mouse button. These should be picked up by nifty, but for some reason are not triggering a MouseButtonEvent. This is something Kirril will need to take a look at.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7114 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 21:59:52 +00:00
PSp..om
5439dbc2a9 Made the UDP port constant separate from TCP to allow
for more interesting testing with fewer code changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7108 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 19:34:07 +00:00
PSp..om
7e3020fd07 Forgot to actually check the udp port for server
creation... now it properly disables UDP for -1.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7107 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 19:31:30 +00:00