Daniel Johansson
69c17d72c8
Reverted statistics code for tracking number of lights in the scene. Not counting correctly. Maybe this can be added back in later on.
9 years ago
Daniel Johansson
0354f976e9
Merge remote-tracking branch 'origin/master'
9 years ago
Daniel Johansson
25b9691e32
Added support for toggling lights on and off via Light.setEnabled(boolean). This implements #393
...
This commit also contains some minor changes to TestManyLightsSingle which now has a key trigger (L) for toggling lights on and off.
9 years ago
Daniel Johansson
67eb998ef4
Added numLights to statistics. This tells us how many lights are left to render after filtering has occurred. Also did some tidy up of javadoc in RenderManager.
9 years ago
Daniel Johansson
e0c24cd73a
Added a guard to ensure setSinglePassLightBatchSize() is set to a minimum of at least 1.
9 years ago
Paul Speed
98194e83aa
Modified the RPC layer to pass exceptions over the wire
...
if they are serializable. They are still wrapped but at
least the original exception is intact if callers want to
peel it out.
9 years ago
normen
fd4f9789cc
Merge pull request #391 from NemesisMate/patch-5
...
Fixed BetterCharacterControl "flickering" when not moving.
9 years ago
NemesisMate
abdd739437
Fixed BetterCharacterControl "flickering" when not moving.
...
Sometimes, when the BetterCharacterControl is not moving, it flickers due it physics being always active. The reason for it being always active is that on the prePhysicsTick method it always set the rigidBody's linear velocity (and the method PhysicsRigidBody.setLinearVelocity(Vector3f) reactivates the physics each time is called).
The fix consist on just comparing if the current velocity and the setting one aren't the same and, thus, not setting it (using ZERO_TOLERANCE instead 0 to best results).
9 years ago
NemesisMate
19577c3288
Fixed a possible bug in TextureAtlas.java
...
It seems that the variable was the wrong one when adding the normal texture to the atlas.
9 years ago
Alrik
f9f3c0185e
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git
9 years ago
Paul Speed
b006204c0f
Various warning-related cleanups. Added @Overrides
...
and removed some manual unboxing.
9 years ago
Paul Speed
3189323c2f
Converted manual array + list management over to just use SafeArrayList.
...
It was a class added after this code.
9 years ago
Paul Speed
46794e251d
Allow the caller to override the axis' default dead
...
zone configured at startup.
9 years ago
Paul Speed
2a2c71dadf
Modified to pay attention to the joystick axis'
...
dead zone if it is larger than the globally defined
dead zone.
9 years ago
Paul Speed
84ccd71873
Added additional information to the range check exception.
9 years ago
Paul Speed
14e84a4dd7
Added a constructor that just takes the service's
...
default channel.
9 years ago
Paul Speed
99742a76f2
Added additional trace logging.
9 years ago
Paul Speed
15afcfb735
Added the error information to the toString() if
...
there is error information to show.
9 years ago
jmekaelthas
8958459ef9
Bugfix: fixed a bug that caused NURB lines did not use their proper
...
resolution.
9 years ago
jmekaelthas
7e185b25df
Bugfix: fixed a bug that caused Bezier objects to use only the vertices
...
of its first bezier line (out of many).
9 years ago
jmekaelthas
153cb27d78
Bugfix: fixed error in Inverse Kinematics constraint (animations with
...
these constraint should look better now, although not yet perfect ;).
9 years ago
Nehon
6b262e56c8
Fixed the javadoc fixes :D
9 years ago
Nehon
2648f67b34
Javadoc in RenderManager : Fixed some typos and added some for light mode methods.
9 years ago
Kirill Vainer
d5ba6b92bd
Merge pull request #384 from Dokthar/fix_physicsRigidBody_read
...
fix #383 : in PhysicsRigidBody the old statement in read() (l.741) was always false
9 years ago
Paul Speed
197ed33c9e
Added some missing @Overrides and finals.
9 years ago
Paul Speed
388a8a8bd7
Added a bunch of lower level logging that can be
...
used to either watch traffic or debug serialization
issues, etc..
Went ahead and instrumented the service manager while
I was at it... and fixed a potential NPE in the AbstractService's
toString() method.
Fixed a bug in the DefaultClient where it couldn't be shutdown
if attempted before the services had been started.
9 years ago
Dokthar
00c687b4d8
fix #383 : in PhysicsRigidBody the old statement in read() (l.741) was always false
9 years ago
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.
9 years ago
Julien Gouesse
361cb0893a
Merge pull request #379 from davidB/fix_opengl3
...
jogl: use pixel unit for window's dimension (fix issue on MaxOS X)
9 years ago
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.
9 years ago
Nehon
822d327236
Image now properly save it's colorSpace when saved
9 years ago
Nehon
ad4634ce04
.hdr files are now loaded in sRGB color space as there is no reason it should be loaded in linear space.
9 years ago
Paul Speed
d57147e392
A small optimization. The BitmapTextPage does not
...
require custom updates so it now signifies that.
9 years ago
Paul Speed
cde35a005a
Just fixing an indent.
9 years ago
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.
9 years ago
Paul Speed
3a4624a5fe
Added a bunch of javadoc and changed the names of one of the
...
method sets to be a little less confusing.
9 years ago
Paul Speed
95aa2d72d0
Added a basic RMI service that uses the RPC service.
...
I'll add some more javadoc in a sec.
9 years ago
Paul Speed
95603c46c4
Added a better check. The old one had the side-effect
...
of registering the class if it wasn't already registered.
9 years ago
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.
9 years ago
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.
9 years ago
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.)
9 years ago
Paul Speed
e832ad5c94
Added an isRunning() method so that other classes can
...
check if the server is still running.
9 years ago
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.
9 years ago
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.
9 years ago
Paul Speed
38fe771ed8
Modified the client state messages to include the chat
...
instance in case we add a multi-client test.
9 years ago
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.
9 years ago
William Linna
c8a16c940f
Only interpolate if particles are in world space
9 years ago
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
9 years ago
Daniel Johansson
dc0bcb5d13
Resolves #378 , adding support for detecting ARMv8 on Android.
9 years ago
David Bernard
0f140370ed
jogl: flip y for mouse click
9 years ago