689 Commits

Author SHA1 Message Date
empirephoenix
7eb9463496 Merge pull request #505 from JavaSaBr/v3.1
fixed the NPE with controls, thanks to JavaSaBr
2016-09-05 16:05:24 +02:00
Rémy Bouquet
b42bf7f67e fixed glsl 1.0 version of the postShadowFilter shader 2016-08-12 20:52:47 +02:00
Rémy Bouquet
056dbdf981 Changed the int value of EdgeFilteringMode.Nearest from 0 to 10 as it seems a define with a 0 value is now ignored. 2016-08-12 18:29:36 +02:00
Rémy Bouquet
a7edef3a06 fixed transparent shadows on mac. 2016-08-12 18:25:56 +02:00
tiatin
f65f0a7ee8 Added ability to set framebuffer image format used in FilterPostProcessor.
https://hub.jmonkeyengine.org/t/ability-to-change-image-format-for-filterpostprocessor/36379
2016-07-13 22:17:22 +03:00
Rémy Bouquet
eefc17428c Merge pull request #501 from MeFisto94/HwSkinningFixV02
Fixes #499: Fix Hardware Skinning in 3.1
2016-07-04 17:07:29 +02:00
tiatin
d8529573e4 Changed overrides from ArrayList to SafeArrayList for GC and iteration performance reasons. Fixed bug in SafeArrayList.equals(). 2016-06-26 15:08:12 +03:00
tiatin
9b0422fc3c Added iteration using iterator, if List is not ArrayList.
Reason for this is that if List is LinkedList, complexity for get(int i) is O(n/4).
2016-06-26 15:08:09 +03:00
tiatin
93c2fd1989 Changed iteration over List from for-each to manual iteration.
For-Each loop creates Iterator object and uses hasNext and next methods, which are slower, than manual iteration. Also allocating Iterator object increases work for GC.

Forum post: https://hub.jmonkeyengine.org/t/iteration-over-list-performance-improvement/36250

See test 9 for more details: http://www.devahead.com/blog/2011/12/coding-for-performance-and-avoiding-garbage-collection-in-android/
2016-06-26 15:08:06 +03:00
javasabr
be66436745 added warning 2016-06-26 08:52:38 +03:00
javasabr
f354343e47 fixed the NPE with controls 2016-06-05 20:30:21 +03:00
Nehon
3d1a541903 Fixed an issue when resizing the viewport, with a FPP and antialiasing would stop rendering 2016-06-02 18:54:42 +02:00
Rémy Bouquet
29dfff223c proper equal and hashcode for ShaderNodesVariables. 2016-05-14 23:46:21 +02:00
Kirill Vainer
7d4a34f96f build: check file exists before getting text
Conflicts:
	jme3-core/build.gradle
2016-05-03 22:43:55 -04:00
Paul Speed
2fd9da3d50 Merge pull request #487 from Dokthar/joysticks
Joystick detection on linux and more... (v3.1)
2016-04-25 17:51:50 -04:00
Dokthar
256abb38fa joystick : added mapping for two gamepads
- the "GASIA CORP. PLAYSTATION(R)3 Controller"
- the "DragonRise Inc.   Generic   USB  Joystick"
2016-04-25 21:01:00 +02:00
Dokthar
5e594a87d2 joystick : add trim() to each joystick name input 2016-04-25 20:52:04 +02:00
Kirill Vainer
d044ad13e1 Fix issue #479 2016-04-23 15:37:33 -04:00
Kirill Vainer
3353aea546 fix Uniform issue related to material changes 2016-04-20 16:41:01 -04:00
Kirill Vainer
e71cf81b96 J3M: allow static pass lighting to be selected 2016-04-20 16:40:11 -04:00
Nehon
091b8664ad Fixed an issue where Vector3f.NAN constant reference was assigned to an attribute instead of being cloned in AudioNode. 2016-04-17 14:15:48 +02:00
Nehon
7bd2feb416 Made a test for shaderNode based j3md loading 2016-04-11 21:02:16 +02:00
Nehon
c859cf375c Fixed an issue with shaderNodes loading 2016-04-11 20:19:16 +02:00
Kirill Vainer
8d4962d11f fix failing unit test 2016-04-10 23:46:41 -04:00
Kirill Vainer
9d094b222a AudioNode: add setVelocityFromTranslation 2016-04-10 23:25:06 -04:00
Kirill Vainer
2dca1a2732 add AudioListenerState 2016-04-10 23:24:19 -04:00
Kirill Vainer
97a53e0c99 material: add unit test 2016-04-10 23:21:38 -04:00
Kirill Vainer
65b7c205f9 StaticPass: fix spot light 2016-04-10 23:21:05 -04:00
Kirill Vainer
3f5cc4963e FBX: use new loader by default 2016-04-10 23:20:41 -04:00
Kirill Vainer
78b635726a AL: fix crash when device is disconnected 2016-04-10 17:58:36 -04:00
Kirill Vainer
44e568943b fix merge issues 2016-04-10 13:00:15 -04:00
Kirill Vainer
cb61e760ce Merge branch 'master' into BorealFeast-master
Conflicts:
	jme3-core/src/main/java/com/jme3/material/RenderState.java
	jme3-core/src/main/java/com/jme3/renderer/opengl/GL.java
2016-04-10 12:51:19 -04:00
Kirill Vainer
9332a04b18 minor cleanup 2016-04-10 12:38:55 -04:00
Kirill Vainer
f2f748ed7e material: rename PostShadow15 -> PostShadow 2016-04-10 12:26:15 -04:00
Kirill Vainer
5584ca9119 test: add missing test data 2016-04-10 12:23:27 -04:00
Kirill Vainer
d8cda6d23a GL: add missing GL_MAX* constants 2016-04-10 12:22:37 -04:00
Kirill Vainer
33b67a381c Renderer: add setDefaultAnisotropicFilter 2016-04-10 12:21:35 -04:00
Kirill Vainer
eecca5fa0f Renderer: make getLimits() public 2016-04-10 12:19:21 -04:00
Kirill Vainer
ad129ff498 static pass: fix various issues 2016-04-10 12:17:53 -04:00
Kirill Vainer
8bd5b59a0e material: warn / ignore fixed function techniques 2016-04-10 12:16:35 -04:00
Kirill Vainer
b6729c46d4 code / comment cleanup 2016-04-10 12:15:01 -04:00
Kirill Vainer
876015ab47 deprecate alpha test / point sprite 2016-04-10 12:09:36 -04:00
Kirill Vainer
37f8ee91af more deprecation cleanup 2016-04-10 12:04:20 -04:00
Kirill Vainer
112a77fd5d test: don't use deprecated box constructor 2016-04-10 11:59:49 -04:00
Kirill Vainer
a563c6cc7b remove deprecated classes 2016-04-10 11:46:18 -04:00
Kirill Vainer
2f26b34bd0 material: refer to default technique via constant 2016-04-09 12:12:02 -04:00
Kirill Vainer
fbcfbc0484 test: add required file 2016-04-08 23:38:02 -04:00
Kirill Vainer
e4f7916301 Material: allow multiple named techniques 2016-04-08 23:31:39 -04:00
Kirill Vainer
83259061d3 RM: add ability to force mat param 2016-04-08 23:28:02 -04:00
Kirill Vainer
d0035b0bc6 test: fix syntax error 2016-04-08 23:15:49 -04:00