6713 Commits

Author SHA1 Message Date
Julien Seinturier
835fbd7957 Jme3 vr (#828)
* Updated OpenVR implementation to 1.0.9

User can specify external OpenVR library to load with
openvr.library.path system property.
Usage: java -Dopenvr.library.name=my_path_to_library MyApp

Removed reference to OCCULUS VR and OpenVR from VRAppstate as this class
is generic and does not have to be linked to specific implementation.

VRMouseManager can be buggous using OSVR or Occulus VR. 

Refactored VR implementation packages in order to separate all available
implementation. Modifying or adding implementation should no more impact
other ones. 

Renamed some classes in order to be uniform

* Sample and VR mouse manager update

Adding sample for VR AppState

Added OSVRMouseManager in order to handle VRMouseManager for OSVR
environment

Added OcculusMouseManager in order to handle VRMouseManager for Oculus
environment

Changed OpenVRMouseManager reference within VRAppState and VREnvironment
into VRMouseManager

* Revert previous commit as jme3-examples does not handle java8 and lwjgl3

* Adding AWT component rendering within app state

Adding AWT component rendering capabilities for any JMonkeyEngine
renderer (works with LWJGL 3.1.x and compatible with other
implementations)

This implementation differs from the previous one as it's relies on
AppState (compatible with all JME application) and as it use only
produces framebuffer.

With this implementation, it is possible to use AWT component ad
rendering target and so to integrate JMonkey rendering within AWT /
Swing application. This capability was not available with LWJGL3 as the
version 3.1.x does not provide anymore AWT link.

* AWTComponentAppState update

Added Update within AWTComponentAppState and added getter and setter for
transfer mode within AWTFramePRocessor

* Removing Java 8 related stuff
2019-02-08 15:44:33 +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
NemesisMate
304550a0f4 Fix #324. Blender importer now respects the lightNode pos in the graph
The light is still being added, however, to the scene root node as this is the blender behavior and a wysiwyg is desired.
2019-01-27 15:37:32 -08:00
Paul Speed
7b0471c43a
Merge pull request #980 from fba-rio/patch-2
Fixed call to onJoyButtonEvent()
2019-01-27 02:28:55 -05:00
Paul Speed
d415cbb66b
Merge pull request #1010 from boonto/bugfix-float
Fix Billboard ShaderNode cannot compile on Android
2019-01-22 07:30:43 -05: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
Ali-RS
7b346d2760 Bump LWJGL3 version to '3.2.1' 2019-01-15 01:34:47 -08:00
Stephen Gold
9d6d31d685 GuiEvent: add JavaDoc (comments only) 2019-01-14 09:16:51 -08:00
Stephen Gold
34b32bf29b fix for issue #1003 (Loading multiple GLB files with animations fails) 2019-01-11 14:30:29 -08:00
Stephen Gold
d17376e713 PhysicsTestHelper: fix JavaDoc warnings (comments only) 2019-01-11 11:56:04 -08:00
Stephen Gold
51b12e1b9e test&fix for issue #1004 (RagdollUtils can't handle 16-bit bone indices) 2019-01-10 13:29:15 -08: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
b9ea661391 fix for issue #993 (TestGltfLoading throws AssetNotFoundException) 2019-01-08 08:40:20 -08:00
Stephen Gold
fceee58546 fix issue #997 (cloning UpdateControl throws IllegalArgumentException) 2019-01-07 21:22:36 -08:00
Stephen Gold
000ac95fd4 fix for issue #982: add town.zip file to repo, load different HTTP image 2019-01-06 19:05:51 -08:00
Stephen Gold
e5fb5bfefe fix for issue #985: use a MaterialKey in TestAssetLinkNode 2019-01-06 18:38:32 -08:00
Stephen Gold
0e9ff83996 fix for issue #998: add ZIP file, remove "Jumps" and HttpZipLocator 2019-01-06 11:48:56 -08:00
Stephen Gold
7c6d828cb5
README.md: latest stable version is 3.2.2 2018-12-31 13:58:39 -08:00
Stephen Gold
8cd5894f55 TerrainTestTile: T key had to be pressed 2x before effect (see PR #827) 2018-12-31 10:59:06 -08:00
Stephen Gold
3c3e3f4af2 fixes for issue #994 (wildhouse.zip not found) 2018-12-31 09:56:56 -08:00
Stephen Gold
64d0e00a49 LwjglContext: correct a typo in a log message 2018-12-31 09:32:46 -08:00
Stephen Gold
bbf1f73a89 fix for issue #983 (TestMusicStreaming crashes due to missing asset) 2018-12-30 23:37:04 -08:00
Stephen Gold
2a904034c2 fix for issue #992 (HelloCollision throws an AssetLoadException) 2018-12-30 23:14:53 -08:00
Toni Helenius
55d5cd7381 Updated Nifty to 1.4.3 and cleaned up the build 2018-12-30 22:51:18 -08:00
Stephen Gold
1bb388d793 fix for issue #989 (RollingTheMonkey works with JBullet but not native) 2018-12-30 22:40:37 -08:00
Stephen Gold
44801da706 fix for issue #988 (assertion failure in jme3test.games.CubeField) 2018-12-30 22:39:28 -08:00
Paul Speed
1f02567739
Merge pull request #987 from grizeldi/patch-2
More XBOX controller remappings
2018-12-30 12:21:42 -05:00
grizeldi
a88fdf99f0
More XBOX controller remappings 2018-12-30 17:59:48 +01:00
Francivan Bezerra
467af4fff5
Fixed call to onJoyButtonEvent()
The method onJoyButtonEvent() was being called on every update(). Now it is called only when the state of a button changes (from not pressed to pressed and vice-versa).
2018-12-28 00:11:28 -02:00
Paul Speed
f73d10bb9c
Merge pull request #979 from mitm001/master
Fixed how AppSetting mergeFrom checks for key mapping.
2018-12-27 16:56:31 -05: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
mitm001
d785caa5ca
Merge pull request #2 from jMonkeyEngine/master
merge
2018-12-27 14:13:12 -07:00
Stephen Gold
06d9194ddf
Update .travis.yml 2018-12-22 20:01:26 -08:00
Stephen Gold
627f4726e5
README.md: latest stable version is 3.2.1 2018-12-21 22:26:41 -08:00
mitm001
8a10738097
Merge pull request #1 from jMonkeyEngine/master
merge
2018-12-21 18:33:06 -07:00
appveyor
c22fac2dce [ci skip] bullet: update windows natives 2018-12-20 17:29:32 +00:00
Stephen Gold
2d621ce24e
enable AppVeyor CI for v3.2 branch 2018-12-20 09:25:36 -08:00
Stephen Gold
b525d6c00d
correct branch name, no longer need CI for v3.1 2018-12-20 09:19:27 -08: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
552f4a069c fix part B of issue #632 2018-12-16 13:51:02 -08:00
Stephen Gold
c2337e823e fix part A of issue #632 2018-12-16 13:44:01 -08:00
Stephen Gold
c4e1e7f1f8 test and fix issue #358 (Centered BitmapText is rendered blurry) 2018-12-15 23:49:14 -08:00
Stephen Gold
cf7725a56e fix issue #240 (TestBlenderObjectAnim fails with NPE) 2018-12-15 23:12:11 -08:00
Stephen Gold
53d7052301
test and fix for issue #970 (#973) 2018-12-14 18:26:06 -08:00
Ali-RS
a47b4a46ba Added a (hacky) fix for a Java Swing/AWT + GLFW interaction issue… (#968)
* Added a (hacky) fix for a Java Swing/AWT + GLFW interaction issue… 

… on Linux.

* Added a proper comment

* Added an extra call to System.gc() as recommendation from lwjgl’s @Spasi

"Run System.gc(), at least two times. Not sure how AWT handles native
resources, maybe there’s a finalizable/PhantomRef-ed resource that is not
released immediately, but a subsequent GC triggers a (too late) free. "
2018-12-14 09:19:25 +01:00
Stephen Gold
d8acd30a27
implement setContactResponse(boolean) for PhysicsCharacter (issue #964) (#971) 2018-12-12 08:29:08 -08:00