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
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
Kirill Vainer
500f57a64f
AssetManager: set locator path only once per thread
9 years ago
Kirill Vainer
7659a7b986
TestCustomAnim: fix crash when enabling HW skinning
9 years ago
Kirill Vainer
1aaf806c65
test: fix crash due to deprecated material
9 years ago
Julien Gouesse
2677ff31b9
Adds the JogAmp backend into the Gradle dependencies
9 years ago
Kirill Vainer
88663b0bc3
dist build: ensure native bullet is included in dist package
9 years ago
Nehon
6d1ab7af65
Redesign of the frag part of unshadedNodes so it's more modular, and can be properly used as GLSL 1.5 shader.
...
Added a stress test for unshadedNodes.
Changed the name of the texture parameter to textureMap in TextureFetch shaderNode as it was conflicting with the texture function used to fetch a texel from a a texture in glsl 1.5
10 years ago
Nehon
6d3377a2a8
Fixed Parallax without normal map in lighting.j3md
10 years ago
Nehon
ec7432c90c
Added a graddle.properties to je jme-examples project with an override of buildJavaDoc to false, to not generate the javadoc when building from jme-examples
...
Also added a parameter to enable assertion as executable classes are only in this project anyway.
Removed the global assertion setting as it's only needed in jme-examples.
10 years ago
Kirill Vainer
0178029782
Example to show character model cloning / export
10 years ago
Kirill Vainer
55d3a5dd15
UnshadedArray: does not require gpu shader extension
10 years ago
iwgeric
a52bc0a82c
Bullet (and jBullet): Update Test Classes to use BulletAppState.setDebugEnabled instead of PhysicsSpace.enableDebug.
10 years ago
Alrik
cdf614d3ad
- revert commit to master
10 years ago
Alrik
73c3f39e46
- add test case
10 years ago
shadowislord
87b6c117f2
TestSweepTest: ignore collisions against ourselves (needed for native bullet)
10 years ago
shadowislord
38e4580857
TestSweepTest: fix crash on native bullet (natives not loaded when shapes are created)
10 years ago
shadowislord
83ddf9d7c3
TestCartoonEdge: more reliable way to detect lighting material
10 years ago
Nehon
96502e9061
Fixed crash in TestFilterCompositing.
...
Something is till odd though
10 years ago
Nehon
39515c52c7
Relocated the character in TestWalkingChar so that it doesn't fall under the ground
10 years ago
Nehon
a6a2059ef8
Removed deprecated methods calls in TestPointDirectinalAndSpotLightShadows
10 years ago
Nehon
a78d8a7bd0
Test for parallel tangent generation
10 years ago
Nehon
3d720e164e
Changed the keys in tessellation test case so that it doesn't step on movement keys
10 years ago
shadowislord
a374e73376
AssetManager: adjust usage according to latest changes
10 years ago
michael
1cce72cd0a
Allow modifing of the tess factor with keys a and y
10 years ago
michael
690dd7bf28
Added Geometry and Tessellation Shader Tests
10 years ago
michael
cae4e1996a
GL4ShaderSupport
10 years ago
shadowislord
2f86e0c17b
Delete TestTriangleStrip
...
- since triangle stripper was removed, this test was not compiling
10 years ago
shadowislord
14ff6e4f29
SinglePass Lighting: support two sided lighting
...
- also added test case with both regular per pixel lighting and bump mapping
- NOTE: two sided lighting is not supported with vertex lighting
10 years ago
Nehon
21179dc132
Changed standard lighting to blinn phong instead of phong only
10 years ago
void
d4ade2473f
feature: Update Nifty GUI to version 1.4.1
...
This commit updates Nifty to version 1.4.1 and makes all
the necessary changes to the JME-Nifty integration to be
compatible with this version of Nifty (manily support of multiple
texture atlases in the batch renderer and some minor changes
like the removal of some *Null classes).
Most User code should still be able to compile with this change.
However, the NiftyJmeDisplay constructor that requires the
width and height of the texture atlas has been deprecated in
favour of the newly added static factory methods:
NiftyJmeDisplay.newNiftyJmeDisplay(). The new methods
add support for the Nifty BatchRenderConfiguration class that
allow further configuration of some rendering details.
The testcase jme3test.niftygui.TestNiftyGui has been modified
to use the new methods and seems to render fine for me.
Most of Nifty 1.4.1 should be compatible with old versions of
Nifty. However some compile-time incompatibilities might
exists to old 1.3.x code. Additionally some internal mechanism
have been modified with 1.4 so there might be additional runtime
incompatibilities as well.
10 years ago
shadowislord
809092c236
Allow application to be a resizable window.
...
Also allow buffer swapping to be disabled, e.g. for Oculus Rift.
10 years ago
shadowislord
e19be328a7
Add simple test case for the "scene not updated" crash in the SDK
10 years ago
iwgeric
661f4c6d2e
Copy jme3-android-native and jme3-bullet-native-android to the dist/opt folder as part of build
10 years ago
shadowislord
10ccc570e1
Copy jme3-android.jar to the dist/opt folder as part of build
10 years ago
shadowislord
7bd07d144e
TestRenderToMemory to use the same read-back method as AwtPanels
10 years ago
shadowislord
a676c51a50
* Test the RGB565 format in TestImageRaster (since it is supported on all platforms)
10 years ago
shadowislord
fb6fb73239
* Fix incorrect class name in TestTextureArrayCompressed
10 years ago
AlrikG
799d8d9ef2
- add test case for compressed dds array textures
10 years ago
Normen Hansen
00f12cfec7
- change behavior of "buildNativeProjects" setting to not exclude native subprojects from build but instead copy precompiled binaries
...
- disable unnecessary build of static bullet libraries
10 years ago
Normen Hansen
6ff69cccf6
- add run task to jme3-examples
...
- use run task of jme3-examples in main project run task
10 years ago
Nehon
50ec3023d4
Fixed ScreenshotAppState, VideoRecorderAppSate, AwtPanel and TestRenderToMemory so the frameBuffer is read with an BGRA8 format
10 years ago
Nehon
fea3faf9af
Minor fix in TestRenderToCubeMap
10 years ago
Paul Speed
1f148fc3d7
Added a large scene stress test. Defaults to:
...
Total nodes:4681 Total Geometry:32768 Total controls:314
...the split depth can be increased for even more ridiculous
scenes.
10 years ago
shadowislord
62cfbc8a3e
Remove usage of all deprecated image formats
10 years ago