84 Commits

Author SHA1 Message Date
nor..67
34863f926e - add some bullet javadoc
- remove deprecated bullet classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7065 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 13:12:33 +00:00
Kae..pl
7aae9615ca Calculation of Bezier curve's length added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 13:07:55 +00:00
Kae..pl
ff5db41a0e A method that returns the length added to curve.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 11:45:00 +00:00
Kae..pl
4c1fd5ddbf The light's name added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7062 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 11:44:33 +00:00
nor..67
974f48a92a - add BrickTower test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7061 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 03:21:20 +00:00
nor..67
e0e539c8bd - fix physics debug view rogue meshes by adding mesh.getFloatBuffer(Type.Position).clear()
- make CollisionShapeFactory use not world translation but translation relative to given parent
- add CollisionShapeFactory test


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 01:48:19 +00:00
mul..va
d758929f15 URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/posterizationfilter-shader-fix-for-mac/
PosterizationFilter compilation error fix for Mac

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-20 12:13:49 +00:00
mul..va
64a404a939 URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/crosspatchfilter-fails-on-mac/
CrossHatchFilter uniform types from int to float

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-20 12:10:39 +00:00
rem..om
b68e56c5bf MeshLoader catch AssetNotFoundException when trying to locate the .material of a model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7056 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-20 08:55:42 +00:00
nor..67
dbc5e11de8 - sont use nightly jme3 target for stable build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7055 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-20 04:48:28 +00:00
sha..rd
de14f87e8b * Ported TestMessages to new SM
* Mesh.deepClone() will no longer keep old collision tree

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 22:47:35 +00:00
PSp..om
b46a09066d Updated the Endpoint interface to define a close() method
that can optionally flush the queued messages.  Modified
DefaultServer to close-with-flush when kicking a client
so that the disconnect message actually gets to them.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 22:07:19 +00:00
PSp..om
0d23903830 More comments on restrictions to future thread pooling
implementations.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7048 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 21:46:52 +00:00
PSp..om
4091a01c91 Modified the default server implementation to enforce my
own threading rules... it's sort of heavy-handed but
given the separation of the reliable and unreliable
implementations (and the inability to really know how
they are threading from here) this is the safest way and
doesn't seem to really affect throughput.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7047 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 21:37:02 +00:00
PSp..om
b1e52b865a Added some comments about the multi-threaded nature
of message event dispatch.  This is one of the reasons
I thought the existing services need to be checked for
'correctness' re: multithreading.  Even in the current
implementations, a message listener may be called by
different threads.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 21:21:06 +00:00
nor..67
0b481135e3 - add wiki page to manual
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 20:26:46 +00:00
PSp..om
382ca44941 Added a count-down latch to keep track of the connecting
state so that if a caller creates a client then immediately
starts sending message, we can block until the connection
is really established.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 17:26:08 +00:00
PSp..om
a14df8a68f added disconnect information to the client state listener
so that clients that care can know why they were booted, etc.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 17:13:58 +00:00
PSp..om
1871d02b7d Fixed a port typo after all the cutting pasting and
fixing last night.  UDP connection now setup with
the proper remote UDP port.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 15:44:42 +00:00
PSp..om
b6b6175866 Send the version information with the client registration
and kick the client if they don't match.  Need to fix some
other things before the reason actually makes it to the
client before the socket is closed... but at least they'll
know something is wrong.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7041 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 07:31:58 +00:00
sha..rd
3087235def * RMI system much more tolerant of bad data now (will display warning in log instead of crashing)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 07:16:21 +00:00
PSp..om
5faa1f08fe Added the rest of the game name and version stuff... still
doesn't validate with it but at least the client and server
can be setup now.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 07:08:34 +00:00
PSp..om
dda3e4c2a0 Real fix for the client UDP problems and removed my long
winded and erroneous comment now that we have point-to-point
connections again.
Also committing the other classes to which I started adding
game name and version... unfinished but needed for the other
fix.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 06:47:46 +00:00
PSp..om
17ecd6f0c9 Committing something for testing... may revert.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7037 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 06:42:33 +00:00
PSp..om
b73f71aeff Updated to use localhost instead of my hard-coded host
and modified to be able to test unreliable throughput.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 06:31:37 +00:00
PSp..om
9b5c1bb4d2 Leave the client UDP connection 'connectionless' and
left a really big comment as to why.  It's sort of
too bad but not that big of a deal.

Now clients can connect to 'localhost' and still 
receive UDP packets.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7035 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 06:24:28 +00:00
PSp..om
f00c13dfba Added a comment about the "magic number" used in the
connect message from the client.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7034 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 05:22:47 +00:00
PSp..om
5d525edc59 More graceful shutdown of client-initiated close of
the Client.  Way easier to take care of this stuff with
working code... thanks, MonkeyZone.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7033 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 03:21:24 +00:00
PSp..om
312e26aeca Fixed an NPE in the filter code... oops. A null filter
is the same as always true.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 03:04:30 +00:00
PSp..om
8fc15d2ecf Basic useful filter implementations.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7031 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 03:00:06 +00:00
PSp..om
fd62579bf3 Added a String getAddress() to the server-side connection
stuff... this will be useful for certain types of filtering
and is good for informational logging.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 02:34:48 +00:00
PSp..om
c21ae83fc1 Basic connection filtering support. Standard filter implementations
to come next.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 02:22:26 +00:00
PSp..om
2a33404814 Fixed some more cases where I missed the long -> int
client id conversion.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7028 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 01:17:26 +00:00
sha..rd
a83216731e * AssetManager will now throw an exception when there are issues with loading/locating an asset
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7027 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 00:56:41 +00:00
sha..rd
0df414d2f0 * Fix Lighting.frag compile error
* Replaced nondescript NullPointerException in OBJLoader with proper exception for missing material in MTL

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 23:54:06 +00:00
PSp..om
8da5e751dd Client ID is now just an int. If users connect once
a millisecond for almost 25 days straight then it will
eventually wrap.  I think that's ok.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 19:36:29 +00:00
nor..67
e511caa64f - up the version of the jme3 libraries in trunk to avoid a higher stable version number
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7022 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 16:54:44 +00:00
PSp..om
2825885560 Log the client registration steps.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 04:12:19 +00:00
PSp..om
90c01777ae Added some logging for when the kernels are actually
hosting.  The old SM did similar and it's useful.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 04:04:51 +00:00
PSp..om
f9976ec817 Added server-side client-specific session attributes
for tucking player data, etc..


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7018 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 02:10:45 +00:00
PSp..om
43cb19c934 Deprecated some more things, fixed some javadoc links,
and added some more package.html files.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7017 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 00:21:45 +00:00
PSp..om
d1c8626419 Better address binding.
Deprecated the methods on the old Message class
that are truly dangerous in the new version since
they always return null.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7016 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 23:34:04 +00:00
PSp..om
24b65c4914 Added a form of client that allows delayed connection
using the standard network stack.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7015 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 22:01:48 +00:00
PSp..om
6718c7d892 Added the disconnect message which kicking a client
from the new server... haven't actually tested it.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7014 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 20:54:08 +00:00
PSp..om
5adecf2aa3 Centralize the logic for accumulating and converting
non-aligned ByteBuffers into messages and messages into
ByteBuffers.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7013 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 20:31:49 +00:00
PSp..om
b8788ad7e5 Update a javadoc for clarity.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7012 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 20:16:46 +00:00
PSp..om
8a3ae8ea04 My not cleaned up throughput test showing the basic
calling of the new SM API.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 18:01:32 +00:00
PSp..om
c551a29022 Still a work in progress. The new API and base implementations
of the new interfaces.  Still exists entirely in parallel with
the old code.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 17:57:07 +00:00
PSp..om
f18fb0b287 Still a work in progress. This is the new 'heart' of
the SM module that simply routes raw bytes over
transports, hiding the particular transport implementation 
and threading model.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7009 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 17:55:46 +00:00
rem..om
d9f39f6b0b SimpleApplication has now built in methods to display or not fps tex and stat view.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 17:27:07 +00:00