4966 Commits

Author SHA1 Message Date
Kirill Vainer
cd1d145005 PhysicsSpace: add method to set solver iterations
Thanks to Seppes (see thread: http://hub.jmonkeyengine.org/t/how-to-access-native-bullets-constraintsolver-numiterations)
2015-04-27 19:03:43 -04:00
Kirill Vainer
f7d544f453 Travis-CI: cache netbeans platform and gradle deps 2015-04-27 13:00:22 -04:00
Kirill Vainer
03cf96bc04 Travis-CI: enable container based infrastructure 2015-04-27 11:56:57 -04:00
Kirill Vainer
ab7a45f66c GLRenderer: forget an end parenthesis 2015-04-27 11:20:01 -04:00
Kirill Vainer
ba3e6917c6 GLRenderer: fix modern extension retrieval method
GL_NUM_EXTENSIONS and glGetStringi is only available in OpenGL3.0+. The gl3 != null check will always be true for LWJGL backend.
2015-04-27 11:00:33 -04:00
normen
fec5764c34 Merge pull request #263 from Dokthar/scenecomposer/master
SDK SceneComposer - 3D scale and rotate tool
2015-04-27 11:29:25 +02:00
iwgeric
da8bd08aa1 Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine 2015-04-26 19:22:28 -04:00
iwgeric
a52bc0a82c Bullet (and jBullet): Update Test Classes to use BulletAppState.setDebugEnabled instead of PhysicsSpace.enableDebug. 2015-04-26 19:21:00 -04:00
iwgeric
70b03ea28a Bullet (and jBullet): Remove deprecated PhysicsSpace.enableDebug method in favor of BulletAppState.setDebugEnabled. 2015-04-26 19:20:06 -04:00
kostyantyn-dev
544bbcda4e Merge pull request #264 from kostyantyn-dev/master
iOS: Fixed incorrect behaviour in J3MLoader. Added ogg loader
2015-04-27 01:46:36 +03:00
Kostyantyn Hushchyn
b35c5e9820 Remove redundand code. Fixed java/lang/IllegalStateException in com/jme3/asset/DesktopAssetManager.registerAndCloneSmartAsset. Added ogg loader 2015-04-27 01:36:15 +03:00
Dokthar
d48c1e0e9d Merge pull request #4 from jMonkeyEngine/master
Merge branch "jmonkeyengine/master" into "scenecomposer/master"
2015-04-26 22:43:56 +02:00
Maselbas
3396f5662d Merge branch 'scenecomposer/master' of https://github.com/Dokthar/jmonkeyengine into scenecomposer/master 2015-04-26 22:29:29 +02:00
Maselbas
f2a92a13b3 GDK SceneComposer :
- add a new file : PickManager that provide severals informations for tools.
- modified the MoveTool, RotateTool and ScaleTool according with the pickManager
- now local/global choice for transformations is just a step away
2015-04-26 22:14:15 +02:00
Maselbas
fc8cebe17d GDK SceneComposer :
- The colorAll option for highlightAxisMarker will now highlight only all quads (without axis)
2015-04-26 21:55:18 +02:00
kostyantyn-dev
e90720de30 Merge pull request #262 from kostyantyn-dev/master
iOS system fixes for 3.1
2015-04-26 11:32:03 +03:00
Kostyantyn Hushchyn
eba4c4e29a Fixed iOS subsystem after transition to common renderer. Added OpenAL audio renderer. Implemented flip y in native iOS image loader 2015-04-26 11:06:26 +03:00
Paul Speed
7bea2cc9c7 Fixed a missing import. 2015-04-26 03:10:47 -04:00
Paul Speed
96dab5f561 Allow remote calls to be made on the default channel
instead of just custom channels.  Custom channels are
0-max channel while -1 indicates the default send().
2015-04-26 02:28:38 -04:00
Paul Speed
dd65580bf3 Pre-register the inner class as well. A cut paste
error from my originals.
2015-04-26 02:27:27 -04:00
Paul Speed
8b34e4890a Fixed a comment to be more accurate with respect
to handler method argument types.
Fixed a small bug in how auto-detect worked.  It
was too greedy in looking for two-argument methods
and would somehow allow methods that took a first
argument that was not a connection type.
2015-04-26 02:26:47 -04:00
Paul Speed
1145f99d03 Added a service that will send the server's serializer
registration set to each new client that connects.  The
client-side version of this service will then register them
all.  This means that serialized classes need only be registered
on the server.
I've modified DefaultClient and DefaultServer to register these
services by default because they make other services easier to
write and because they will save people lots of trouble.
I'm 90% sure there are no bad side-effects for people who choose
to continue doing things the old way but it may depend on when
they register their serializers in relations to creating the
client and server objects.
2015-04-26 01:19:38 -04:00
Paul Speed
35155c6b5b Integrated the new service manager stuff with Client and
Server.  (Untested at the moment but straight forward.)
Also fixed a small but silent bug in DefaultServer when
closing out endpoints that were never fully connected.
Garbage was left around in the "connecting" data structure.
2015-04-26 00:57:02 -04:00
Paul Speed
1eb2ba7276 Adding an initial implementation for a service manager module
with custom subclasses and service interfaces for client 
services and server-side services (HostedServices).
This code is a copy and refactoring of code I developed for
Mythruna... it worked there but I haven't tested it yet in its
new form.  Things may change as I integrate this more closely
with the core Client and Server classes.  I wanted to get it
into source control first.
Also included an RPC service implementation which can serve
as the underpinning for other things.
Coming soon: serializer registration service and a simple
RMI service based on the RPC layer.
2015-04-26 00:24:51 -04:00
Paul Speed
9abedf284e Added a message that can be used to compile and
send the serializer registry... and then register
them on the other end.
2015-04-26 00:09:24 -04:00
Paul Speed
c9eaeeea12 Added some message delegator util classes that
makes it easier to handle network messages.  These
delegators can introspect a delegate type to find
message-type specific handler methods.  This mapping
can be done automatically or performed manually.
2015-04-25 23:47:26 -04:00
Kirill Vainer
1fec72605f SPLighting.frag: fix syntax error with vertex lighting enabled 2015-04-25 23:13:20 -04:00
Kirill Vainer
0c846eaf6a SPLighting: fix syntax errors with vertex lighting + color ramp 2015-04-25 23:11:10 -04:00
Kirill Vainer
5cf6b0c9a6 LwjglContext: add custom handler for GL debug messages 2015-04-25 23:09:58 -04:00
Kirill Vainer
0a3e9a434e Image: treat setMipMapSizes as a request to generate mips 2015-04-25 23:09:11 -04:00
Kirill Vainer
10cde0a4b2 DXTFlipper: fix incorrect flipping of DXT5 images of size 2x2
For DXT1/3 images, the format for color and alpha blocks is the same,
so the bug would not appear. For DXT5 images, the alpha block is formatted
differently. The issue is that it flips the color block and then the alpha
block for 2x2 images, but the correct order is alpha block then color block.
2015-04-25 22:42:20 -04:00
Kirill Vainer
aba48495e1 J3MLoader: enforce MaterialKey requirements based on extension 2015-04-25 18:25:07 -04:00
Kirill Vainer
ed4b70bcad GLTiming: new GL wrapper to profile GL calls 2015-04-25 17:41:50 -04:00
Kirill Vainer
a6c71c4f50 Fix missing glPatchParameter and another syntax error 2015-04-25 17:34:29 -04:00
Kirill Vainer
5b95f8a4b0 GLRenderer: Improve compatibility with OpenGL 3.2 core profile
* Separate GLFbo and GLExt implementations. GLFbo can now be implemented either via vanilla OpenGL3 calls or GL_EXT_framebuffer_*** extensions (OpenGL2.1- only).
 * Use modern way of getting supported extensions in core profile.
 * Luminance and Alpha formats are not available when running in core profile.
 * Bind a dummy vertex array object (VAO) when running in core profile.
 * Point sprite mode is always enabled. Since both OpenGL ES 2.0 and OpenGL 3.2 core require it, jME3 is no longer capable of rendering regular points.
2015-04-25 16:57:24 -04:00
Kirill Vainer
389b117fb6 IosGL: reset buffer position in fromArray() 2015-04-25 12:45:30 -04:00
Kirill Vainer
ca6b492cea SSAOFilter: remove excessive GPU mipmap generation (not needed for filters) 2015-04-24 23:46:56 -04:00
Kirill Vainer
73f53931f0 Image: fix mipmap generation flags not properly being updated 2015-04-24 23:35:30 -04:00
Kirill Vainer
9ba04bed8f GLRenderer: Merge Color and Screen BlendModes as they are they same 2015-04-24 23:31:52 -04:00
Nehon
7e78651ed4 Shader Nodes : fixed an issue in the shader generator that was caussing an error when there was a "//" comment in the declarative section of a node glsl code 2015-04-22 20:57:33 +02:00
Kirill Vainer
9b41b66756 Merge pull request #261 from Turakar/master
Fixed typo #258
2015-04-20 14:34:36 -04:00
Turakar
92b2ec664e Fixed typo #258 2015-04-20 20:01:52 +02:00
normen
a9913e4349 Merge pull request #260 from Dokthar/scenecomposer/master
SDK / scenecomposer : axis pick for move and scale tool
2015-04-20 13:49:57 +02:00
Kirill Vainer
aeb1b547ce FBX: fix build errors (missing functions that need to be added) 2015-04-19 21:03:51 -04:00
Kirill Vainer
ed2be5e542 FBX: new FBX importer (not yet enabled - old importer still used by default)
Still needs work:
 * Skeletal animation (many issues with transform hierarchies)
 * N-gons triangulation (only quads supported at the moment)
 * Light & Camera importing
 * Z-up to Y-up correction
 * Morph animation
2015-04-19 18:08:28 -04:00
Kirill Vainer
6f29772862 FBX: fix build error due to rename 2015-04-19 13:42:25 -04:00
Kirill Vainer
0a5b68983e FBX: Rename FBX -> Fbx. Support FBX 6.x IDs in FbxDump. 2015-04-19 13:33:43 -04:00
shadowislord
ba8349a0cf FBX: ContentTextureKey to disable cache
FBXDump remove useless import
2015-04-19 13:24:44 -04:00
iwgeric
116adbba1f Android: Support JoystickCompatibilityMappings for reassigning joystick axes and buttons.
Also added ability to add new buttons as events come in due to Android not providing a definitive way to determine which buttons are supported on the device.
2015-04-19 12:40:17 -04:00
iwgeric
fecfa8ccd0 Android: add joystick compatibility mapping for XBOX 360 controller connected to Android device using USB dongle 2015-04-19 12:38:43 -04:00