5429 Commits

Author SHA1 Message Date
Dokthar
00c687b4d8 fix #383 : in PhysicsRigidBody the old statement in read() (l.741) was always false 2015-11-21 13:06:30 +01:00
Nehon
022899c199 Changed the way texture previews are done in the SDK.
All texture loading is now done on JME's thread and not on the awt thread anymore to avoid to stall the UI when loading big textures.
2015-11-20 16:29:08 +01:00
Julien Gouesse
361cb0893a Merge pull request #379 from davidB/fix_opengl3
jogl: use pixel unit for window's dimension (fix issue on MaxOS X)
2015-11-20 14:04:32 +01:00
Nehon
50a9a8636b HDRLoader, reverted the change that loaded the HDR files in sRGB space, since the specs says that data is in linear space for this format. 2015-11-20 08:59:42 +01:00
Nehon
822d327236 Image now properly save it's colorSpace when saved 2015-11-18 15:06:58 +01:00
Nehon
ad4634ce04 .hdr files are now loaded in sRGB color space as there is no reason it should be loaded in linear space. 2015-11-17 14:54:59 +01:00
Paul Speed
d57147e392 A small optimization. The BitmapTextPage does not
require custom updates so it now signifies that.
2015-11-17 02:39:46 -05:00
Paul Speed
cde35a005a Just fixing an indent. 2015-11-17 01:46:38 -05:00
Paul Speed
31cab674b3 Removing the dodgy 'optimization' that broke some people and caused other 'makeup' changes to better support the dodginess.
(And I do realize I have the benefit of analyzing the aftermath, hindsight is 20/20, etc.)  Included a big long comment about the right way to implement this optimization.
2015-11-16 03:03:53 -05:00
Paul Speed
3a4624a5fe Added a bunch of javadoc and changed the names of one of the
method sets to be a little less confusing.
2015-11-16 02:38:45 -05:00
Paul Speed
95aa2d72d0 Added a basic RMI service that uses the RPC service.
I'll add some more javadoc in a sec.
2015-11-16 02:04:31 -05:00
Paul Speed
95603c46c4 Added a better check. The old one had the side-effect
of registering the class if it wasn't already registered.
2015-11-16 02:03:27 -05:00
Paul Speed
dfe4b083f0 Added a check to try and detect the case where a server and
a client are running on the same instance.  This should cover
99% of the cases where this would come up... and the others
can't really use this service anyway and so must disable it.
2015-11-15 02:24:18 -05:00
Paul Speed
4b2f361026 Modified to skip registering the message classes if they are
already registered.  This avoids one of the issues of a client
running in the same JVM as a server that already registered these
classes.  This was the easy fix.
2015-11-15 02:22:53 -05:00
Paul Speed
2c337123a9 Added a test/example of running a client and a server in the
same JVM.  a) this makes a good example of self-hosted style
LAN multiplayer games, and b) it causes the serialization bug
to show up so I can fix it.  (Already fixed it and that commit
will be next... it's almost like TDD.)
2015-11-15 02:15:30 -05:00
Paul Speed
e832ad5c94 Added an isRunning() method so that other classes can
check if the server is still running.
2015-11-15 02:14:26 -05:00
Paul Speed
17df399f68 Commented out the message class serialization and left
a comment as to why: in 3.1 there is a default service
that automatically does this on clients.
2015-11-15 02:13:58 -05:00
Paul Speed
cea36ffc47 Added some more client-side error and connection handling
to make a more complete example.  It should now be relatively
well behaved through all normal shutdown paths.
Modified the server to gracefully close the client connections
when shutting down rather than just letting the sockets die.
2015-11-15 01:53:32 -05:00
Paul Speed
38fe771ed8 Modified the client state messages to include the chat
instance in case we add a multi-client test.
2015-11-15 01:22:17 -05:00
Paul Speed
9e80d8a7aa Beefing up the client server tests a little to add
some listeners and to better report what's going on to the
console.  This is in prep for making a combined test.
2015-11-15 01:20:28 -05:00
William Linna
c8a16c940f Only interpolate if particles are in world space 2015-11-14 16:32:44 +02:00
William Linna
6075e4639d Interpolate particle positions
NOTE: This change is not invented by me. All credit goes to methusalah.
See this thread:
http://hub.jmonkeyengine.org/t/interpolation-of-particle-spawning-point/30385/7
2015-11-14 16:19:54 +02:00
Daniel Johansson
dc0bcb5d13 Resolves #378, adding support for detecting ARMv8 on Android. 2015-11-12 15:11:41 +00:00
David Bernard
0f140370ed jogl: flip y for mouse click 2015-11-11 22:48:00 +01:00
David Bernard
3e71198610 jogl: use pixel unit for window's dimension (fix issue on MaxOS X) 2015-11-11 19:58:23 +01:00
Nehon
cbe87cf41f checkGLError in LwjglOffscreenBuffer is now called only if assertions are on, as it is done in LwjglAbstractDisplay 2015-11-11 19:02:23 +01:00
Nehon
5cb72c6582 Updated the create skybox gui in the SDK so that it fits the new API and supports loading equirect Skybox maps. 2015-11-11 18:57:42 +01:00
Nehon
40177c1524 Added jme3-lwjgl3/build/ to the gitignore file.... again.. 2015-11-11 18:56:30 +01:00
Daniel Johansson
00e2717c7c Fixed an issue where on linux using jme-lwjgl3 module would cause the windows dll to be loaded instead of the linux so native library. 2015-11-10 17:03:30 +00:00
Kirill Vainer
79638b7434 Merge pull request #377 from davidB/fix_opengl3
opengl3: add GLSLCompat into Gui.j3md
2015-11-09 20:44:50 -05:00
Paul Speed
69297af414 Merge pull request #376 from Pesegato/master
Added support to Logitech F310
2015-11-09 17:34:42 -05:00
jmekaelthas
a80051c1ce Bugfix: very small wight values caused severe animation artifacts. 2015-11-09 22:17:39 +01:00
David Bernard
2938acec51 opengl3: add GLSLCompat into Gui.j3md 2015-11-09 21:19:59 +01:00
Pesegato
539e49e109 Added support to Logitech F310
For both DirectInput and XInput mode. Also tentatively added support of alternate version of xbox360 controller.
2015-11-09 14:31:52 +01:00
Julien Gouesse
8752c42aa6 Merge pull request #375 from davidB/wip_jogl
jogl: some fixes about mouse handler
2015-11-07 15:29:45 +01:00
David Bernard
836bf85630 jogl: some fixes about mouse handler
* Y hotspot is top in jogl, and bottom in jme
* in jme when mouse is invisible it should be confined into the window (on mac it could go out of the window)
* when window doesn't has the focus the mouse should not behave like when has the focus like 
  * trying to re-center
  * stay invisible
2015-11-07 15:22:04 +01:00
Julien Gouesse
ea28e8a449 First attempt to fix a bug reported by david_bernard_31, the size of the strings in the shader code was wrongly computed for the JOGL backend 2015-10-31 11:00:17 +01:00
Julien Gouesse
ce86a3e555 Allows to choose between the forward compatible profile and the backward compatible profile in the JOGL backend 2015-10-30 21:47:52 +01:00
Julien Gouesse
f38ea1e3e2 Displays the JOGL version instead of the NEWT version 2015-10-30 21:46:25 +01:00
Julien Gouesse
1559dacdca Updates JOGL (2.3.2) 2015-10-30 21:12:25 +01:00
jmekaelthas
b34649d399 Bugfix: fix to importing blend files with linked content. 2015-10-27 21:05:32 +01:00
Kirill Vainer
edaf49c00c Merge pull request #364 from Dokthar/light
Lights : added light v. sphere intersection
2015-10-23 22:28:06 -04:00
Kirill Vainer
810c7b6fa6 native loader: set lwjgl library path for lwjgl3 2015-10-21 16:43:13 -04:00
Daniel Johansson
5e8f5e6a1f Updated lwjgl3 module to use LWJGL 3.0.0b #35 which is the current stable build. 2015-10-21 17:05:16 +01:00
Kirill Vainer
2a1addd2da Merge pull request #350 from alexVengrovsk/master
Delete close() of ByteArrayOutputStream type objecs
2015-10-19 14:24:22 -04:00
Kirill Vainer
b312ba3f48 Merge pull request #368 from bdero/fix/bdero/flybycam-unregister-docstring
Change duplicated docstring in FlyByCamera.unregisterInput
2015-10-19 14:23:36 -04:00
Brandon DeRosier
1bb3ee089a Change duplicated docstring in FlyByCamera.unregisterInput 2015-10-17 22:34:22 -04:00
Dokthar
071ad5c618 light : fixed pointLight v. bounding sphere unit test 2015-10-16 20:17:57 +02:00
Dokthar
4be09e3505 light : replaced duplicated code by methods from Intersection 2015-10-15 19:27:50 +02:00
Daniel Johansson
d48a1bb998 Removed native library jemalloc.dll for LWJGL3 as this will not be needed until 3.0.0b and after. 2015-10-15 09:46:35 +01:00