James Khan
4f47e5602b
Add support for fog in materials.
2019-05-23 20:49:18 +01:00
James Khan
b9b4a2d75b
Reference the joystick that changed state instead of the ID.
...
Use separate connection methods (onConnected/onDisconnected).
2019-05-13 09:59:49 +01:00
James Khan
2f6185b5cf
Remove JoystickState enum and replace with boolean value.
2019-05-12 08:31:14 +01:00
James Khan
d3be2f332f
Use enum constants instead of integer ID's
2019-05-11 20:19:44 +01:00
James Khan
76fcc2c497
Remove magic number translations and remove uppercase names.
2019-05-11 20:18:56 +01:00
James Khan
318d6d0e89
Add support for listening to joystick connection/disconnection.
...
Fixes bug causing NullPointerException when removing joysticks.
Allows adding joysticks after the application has started.
2019-05-11 15:25:11 +01:00
Ali-RS
c4d2de1656
AnimComposer: updated to save globalSpeed on export and fixed issue with Layer cloning ( #1080 )
...
* AnimComposer: save globalSpeed on export
* Updated TestModelExportingCloning to test AnimComposer.globalSpeed
* Fixed issue with AnimComposer.Layer cloning
2019-04-30 08:22:09 +04:30
Ali-RS
36ddb5b0ce
Added ambient light support in PBR shader ( #1077 )
...
* Added ambient light support in PBR shader
* Updated to auto inject the define value if ambient light found
2019-04-27 14:56:45 +04:30
Remy
8d3980bbe9
Refactor collection to set in anim composer ( #1076 )
...
* returns an unmodifiable set when retrieving the available animation names and available animation clips instead of an unmodifiable collection. fixes : #1070
* remove unnecessary set wrapper.
* Remove the unnecessary creation of a new hashset everytime getAnimClips() is called.
2019-04-24 16:11:51 -07:00
Stephen Gold
0bf931bf79
revert integration of PR #1071 which wasn't ready
2019-04-22 03:15:04 -07:00
Greg Hoffman
0bc060d474
Added an easy way to add sub steps to the profiler ( #1067 )
...
* Added an easy way to add sub steps to the profiler and enhanced the App State Manager to profile the update method of each app state
* Added the profiler step to the android profiler
* Fixed missing profiler extensions
2019-04-22 01:41:40 -07:00
Remy
ffa1df2aff
returns unmodifiable sets ( #1071 )
...
* returns an unmodifiable set when retrieving the available animation names and available animation clips instead of an unmodifiable collection. fixes : #1070
* remove unnecessary set wrapper.
2019-04-22 01:39:43 -07:00
Remy Van Doosselaer
988537987a
calculate the total line height before aligning the letters, calculate the total line height from the font line height and total line count. Include a test case with alignment examples. fixes : #363
2019-04-15 18:42:03 +02:00
Remy Van Doosselaer
9a80f013fc
fixed wrong reference check
2019-04-09 19:24:10 +02:00
Riccardo Balbo
3b24067a3c
Add RGTC format
2019-04-07 10:22:18 -07:00
Stephen Gold
235b9db2ca
publicize Joint.applyBindPose(), add DynamicAnimControl & related stuff
2019-04-03 08:07:52 -07:00
Paul Speed
54b812ca71
Standardized the XBox controller mappings to one XBOX set of entries
...
and remapped all .*xbox.* names to it. All of the specific XBOX remappings
have been commented out for now. They can be removed once it is confirmed
that old working functionality is not newly broken.
2019-03-31 20:33:32 -04:00
Paul Speed
5901a95363
Added new JoystickAxis.LEFT_TRIGGER/RIGHT_TRIGGER.
...
Updated JoystickCompatibilityMappings to support normalizing joystick names
based on a regex. For example:
XBOX.regex=(?i).*xbox.*
...will allow configuring all joysticks with xbox in the name with one
XBOX configuration.
2019-03-31 20:18:11 -04:00
Stephen Gold
27bd16979c
Armature.java: correct a typo in the javadoc
2019-03-29 18:32:31 -07:00
Riccardo Balbo
51cadb260c
Merge pull request #1050 from Diffblue-benchmarks/virtual-buffer-tests
...
Add tests for com.jme3.scene.mesh.VirtualIndexBuffer
2019-03-29 13:00:58 +01:00
Riccardo Balbo
cf7b15bc23
j3md Fix for default textures ( #1052 )
2019-03-27 10:19:37 -07:00
James Adam
7c2a401c28
Add tests for com.jme3/scene.mesh.VirtualIndexBuffer
2019-03-22 12:51:28 +00:00
Stephen Gold
b9c13a209a
JavaDoc correction to AnimComposer (comments only)
2019-03-16 19:15:44 -07:00
James Adam
fe03a9b6a3
Add tests for com.jme3.math.Vector3f
2019-03-16 10:46:16 -07:00
James Adam
eba9ef6d58
Add tests for com.jme3.math.FastMath
2019-03-13 14:10:45 -07:00
Ali-RS
6dd737d378
Added AnimComposer.getAction() and AnimComposer.addAction() and improved
...
JavaDoc.
2019-03-11 00:08:21 -07:00
Stephen Gold
ffa58be3d7
remove more unused imports
2019-03-09 12:37:12 -08:00
Stephen Gold
75112201db
more corrections in diagnostic messages
2019-03-09 12:04:43 -08:00
Stephen Gold
2356320d30
more comment-only correction
2019-03-09 11:57:23 -08:00
Riccardo Balbo
3851c35f08
Add blend mode that sums alphas and does alpha blending for colors
2019-03-09 11:07:40 -08:00
Stephen Gold
f33252f4d0
spelling corrections in diagnostic messages
2019-03-02 17:41:21 -08:00
Stephen Gold
c11fbe4dd8
jme3-core JavaDoc corrections (comments only)
2019-02-25 23:27:52 -08:00
Ali-RS
dae85e1598
Removed unused imports. ( #1020 )
2019-02-11 21:40:32 -08:00
Ali-RS
6679873c9b
Added removeAction(), removeLayer() and removeCurrentAction() to AnimComposer ( #1016 )
...
* Added AnimComposer.removeAction() and AnimComposer.removeLayer()
* Added javadoc for AnimComposer.setCurrentAction()
* Moved removing of current action to a separate method.
* Added javadoc for new methods.
2019-02-10 20:50:44 -08:00
Ali-RS
9ded31cf1c
Added TestUserData. ( #1017 )
2019-02-08 15:47:40 +01:00
Riccardo Balbo
626af3123a
Add double short and byte support to UserData ( #946 )
2019-02-08 15:47:23 +01:00
Ali-RS
7363662f21
Added isSimilar() to Quaternion, Vector2f, Vector3f and Vector4f ( #1015 )
...
* Added isSimilar() to Quaternion.
* Added isSimilar() to Vector2f.
* Added isSimilar() to Vector3f.
* Added isSimilar() to Vector4f.
* Modified isSimilar() to consider NaN.
2019-02-07 10:01:07 -08:00
Ali-RS
637162e484
Added AnimComposer.hasAction() method
2019-02-04 08:21:38 -08:00
FennelFetish
254a5839c1
Added tests for traversal order when using SceneGraphVisitor.
2019-02-02 10:14:24 -08:00
FennelFetish
0f9cf090e7
Fixes depth-first-traversal order in Node.
...
DFSMode needs to be passed to the recursive calls so the selected order is also applied further down the scenegraph.
2019-02-02 10:14:24 -08:00
Patrick Werner
c7f6aa9ae6
fixed billboard shader bug on android where int is used instead of float
2019-01-22 12:57:56 +01:00
Davis Rollman
c6158bba68
Added getter and setter for LegacyApplication's speed ( #986 )
2019-01-10 13:23:26 -08:00
Stephen Gold
13d00e0df3
fix for issue #972 (TestModelExportingCloning fails)
2019-01-09 09:25:17 -08:00
Stephen Gold
fceee58546
fix issue #997 (cloning UpdateControl throws IllegalArgumentException)
2019-01-07 21:22:36 -08:00
grizeldi
a88fdf99f0
More XBOX controller remappings
2018-12-30 17:59:48 +01:00
mitm
416b866c78
Fixed a problem with mergeFrom() where a key that was explicitly mapped to null was taken to mean it had no mapping. Checking that the key has a mapping instead fixes problem.
2018-12-27 14:52:40 -07:00
Stephen Gold
017800251b
Revert "test and fix issue #358 (Centered BitmapText is rendered blurry)"
...
This reverts commit c4e1e7f1f8b8cd5a2c18e52919f059ba97698d7e.
2018-12-16 18:01:53 -08:00
Stephen Gold
c4e1e7f1f8
test and fix issue #358 (Centered BitmapText is rendered blurry)
2018-12-15 23:49:14 -08:00
Ali-RS
a61813ebd8
Added AppStateManager.getState(class, failOnMiss)
...
that can optionally throw an exception if the state does not exist.
2018-12-03 12:47:01 +03:30
Ali-RS
c0823bb903
Added a getState() method that will optionally fail on state misses.
2018-12-03 12:35:02 +03:30