Nehon
b1727b9772
Fixed InstanceGeomerty not working properly when using the lighting material and a non DirectionalLight
...
see https://hub.jmonkeyengine.org/t/instancednode-doesnt-work-with-light/38316/5
8 years ago
MeFisto94
10b23db94d
TestMipMapGen: Use the non AWT MipMap Generator (Don't depend on jme3-desktop but jme3-core, to run this test on android)
8 years ago
MeFisto94
479392f6fd
TestFancyCar: Remove unused SettingsDialog imports, allowing the Test to also run on android (no jme3-desktop dependency anymore)
8 years ago
Rémy Bouquet
5470abb2b0
Fixed warnings in Terrain shader.
...
Fixed the use of the first diffuse map
Fixed the camera positioning in the TestSpotLightTerrain
8 years ago
empirephoenix
a87db2c117
Revert "Cleanup build scripts (3.1)"
8 years ago
Paul Speed
da1b7da329
Added a test for cloning BitmapText.
8 years ago
Kirill Vainer
c37f0e59d2
build: fix gradle 3.2.1 deprecations
8 years ago
Rémy Bouquet
a7edef3a06
fixed transparent shadows on mac.
8 years ago
Dokthar
5facee58e6
joystick : revert commented out sysout on axis update
9 years ago
Dokthar
a7766c6855
joystick : added a easier way to create custom joystick/gamepad mappings :
...
- push the joystick/gamepad button
- if the wrong button is highlighted, click with the mouse on the correct button (on the gamepad gui)
- this will print the string to be inserted into the joystick-mapping.properties file
9 years ago
MeFisto94
310f4db6ad
Fixed some Reflection Errors due to the Switch from Application to LegacyApplication
9 years ago
Kirill Vainer
f5072cba4a
add better TestDoppler example
9 years ago
Kirill Vainer
2e328fc6e0
test: add TestAnisotropicFilter
9 years ago
Kirill Vainer
112a77fd5d
test: don't use deprecated box constructor
9 years ago
Kirill Vainer
2f26b34bd0
material: refer to default technique via constant
9 years ago
Teencrusher
bffa2191e5
Moved glBlendEquationSeparate from GL2 interface to GL interface. Added an example of the feature. Minors issues.
9 years ago
Kirill Vainer
a2554874d3
run: only set log file path if non-null
9 years ago
Kirill Vainer
d1b866735a
don't use deprecated AudioNode constructor
9 years ago
Kirill Vainer
a82b9a4a3d
TestRenderToMemory: fix fps display
9 years ago
Kirill Vainer
52487041b4
fix crashes in several tests
9 years ago
Kirill Vainer
c6c6b48bda
MPO: clone MPOs instead of sharing references
...
Conflicts:
jme3-core/src/main/java/com/jme3/scene/Spatial.java
9 years ago
Kirill Vainer
8344994328
MPO: use List instead of ArrayList
...
Also rename get*Overrides to get*MatParamOverrides to be more specific.
9 years ago
Kirill Vainer
db691dab99
MPO: add example
9 years ago
Kirill Vainer
47bae5af59
TestShaderNodes: fix build error
9 years ago
Paul Speed
3c56afeae6
Converted Application to an interface and renamed the old Application to
...
LegacyApplication. This is a breaking change for any class extending Application
directly.
And regardless, if you refer to Application then you will need to clean build
your app... and any of your dependencies that also refer to Application. Basically,
anything using an AppState will need to be clean built against the next alpha.
9 years ago
Paul Speed
0a876b04d2
Added a TestCloneSpatial example to do some basic clone testing.
9 years ago
Paul Speed
95d5f58d68
Modified the run task to pass through the log configurion
...
settings system property.
9 years ago
Nehon
07088452ff
Fixed binormal calculation in Single pass lighting
9 years ago
Nehon
493855bac9
LineWidth is now a RenderState parameter, One can change the lineWidth used to render a mesh wireframe or a mesh in Lines mode by using material.getAdditionalRenderState().setLineWidth(value)
9 years ago
Paul Speed
8b1ddbe60f
First round of getting JmeCloneable implemented... added
...
support for Cloner to the controls that implemented cloneForSpatial().
Unused until spatial cloning is implemented.
9 years ago
Nehon
b218f4104e
Forgot to commit the change in the Cornell box model
9 years ago
Nehon
dff4befafb
Added an option to not render backfaces shadows with the shadow renderer and the shadow filter. It's the default for the renderer but not for the filter as it may have some edges artifacts.
9 years ago
Nehon
32be69f3e6
Remove a lot of duplicate code for shadows
9 years ago
Nehon
26719e0047
Fixed sign post material and adjusted ambient lights for the spot lights tests
9 years ago
Dokthar
d9f489d8dd
removed unnecessary changes
9 years ago
Dokthar
3e0b838324
fix NPE when launching the hovering test with native bullet
9 years ago
Paul Speed
eb2e2f4cdc
Adding @Override to cloneForSpatial() methods in examples.
9 years ago
Paul Speed
10947e8b50
Modified the JmeCloneable's clone() method to be jmeClone() so that
...
implementing objects will still be able to keep a regular public
clone() method that may do their own selective deep cloning. This
allows explicit demarcation between the normal 'user' facing clone()
and the two step cloning process used by Cloner.
Specifically, this will let Spatial continue to have a clone() method
that operates as it does today... with its new guts essentially calling
a properly configured Cloner.
9 years ago
Paul Speed
8bc2348046
Removed some commented out code I forgot to remove.
9 years ago
Paul Speed
90af571f76
Added a test/demo showing how to use the cloner with various examples
...
of the kinds of classes it can work with.
9 years ago
Paul Speed
bdc3ff8434
Fixed a bug in server initialization related to serializer registration.
...
Lowered the logging level so that these both spew all of the lowest
level network logging. Useful for seeing what's going on and finding
issues.
9 years ago
Paul Speed
57bcb3967f
Fix the test chooser to not instantiate the class if it's just
...
going to call it's static main method anyway. Also, call the static
main method on the class instead of an instantiated object.
9 years ago
Kirill Vainer
e541a5a147
lwjgl3: start jME3 on main thread (needed for mac)
9 years ago
john01dav
f9a9839228
Added enqueue runnable
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
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