Nehon
789daa6295
Fixed warning that were coming out of the particle.j3md. Also fixed the preshadow technique
2017-01-24 20:17:19 +01:00
Stephen Gold
f3e2925bd8
fix errors in how vector projection is calculated
2017-01-20 13:08:28 -08:00
Nehon
aae6170cc5
Fixed MikktSpaceTangentGenerator that was not replacing existing Tangent buffers on the mesh. That could cause crashes when the old tangent buffer did not have the same amount of components
2016-12-30 16:53:09 +01:00
Paul Speed
63e8c9c485
Convert Skeleton and Bone over to use the JME cloner system for cloning...
...
this should do automatic fix-up and hopefully make bones attachments work
properly again in clones.
2016-12-13 06:03:43 -05:00
empirephoenix
975954fb17
Merge pull request #575 from Fadorico/upstream3.1
...
Write/read the width and height of a quad (3.1)
2016-12-07 13:01:26 +01:00
Paul Speed
92b5d40003
Modified BitmapTextPage to always deep clone its mesh since otherwise
...
BitmapText objects end up sharing them and that's bad.
2016-12-04 20:35:49 -05:00
Paul Speed
a13a3a7f09
Another bitmap text clone fix. The text pages array (the list of the actual geometry of
...
the bitmap text) wasn't really being cloned... only the elements were. This meant that
that a cloned BitmapText object would continue to share the meshes from the original.
2016-12-04 15:49:51 -05:00
Paul Speed
735397f16e
Another fix for BitmapText cloning where the regular clone() was
...
completely bypassing the JME cloner framework... and making a bad
clone.
2016-12-04 15:31:30 -05:00
Paul Speed
c1764bc425
Fixed the cloned Letters to use the cloned StringBlock instead of the
...
original reference.
2016-12-04 14:24:34 -05:00
Paul Speed
e879a0e142
Fix for issue #577 StringBlock cannot be cloned with the cloner because
...
it is package private and the cloner cannot instantiate one directly.
Since it is extremely unlikely (read: impossible) that there would ever
be shared StringBlock references between BitmapText objects then it is safe
to just clone it directly.
It is important to note that BitmapText never really did support clone
before and only pretended to... so this wasn't really a regression.
2016-12-04 04:20:55 -05:00
Fadorico
e3bd122519
Write/read the width and height of the quad
2016-11-24 18:16:48 -05:00
Kirill Vainer
8c4b44941e
Fix #550
2016-11-23 22:04:56 -05:00
Nehon
a71fb286f4
Fixed shadow fade and zfar computation as it was breaking shadow border filtering.
2016-11-20 23:55:47 +01:00
Nehon
69d8e5d13e
Fixed an issue where some occluders were wrongly culled out from the shadow map at very steep light angle, and when the view cam was almost align with light direction.
2016-11-20 19:04:53 +01:00
Paul Speed
4919620e61
Improved the "compare result changed" error message to include the most
...
likely cause of the error.
2016-11-20 07:14:24 -05:00
Nehon
1315af8d52
Changed the minimum value of a float when converting it to half float. It was 5.96046E-8f and it's now 3.054738E-5f. This values seems to be the lowest one before 0 when converting back half to float.
...
This issue has been revealed in this post https://hub.jmonkeyengine.org/t/pbr-nan-to-half-conversion-errors/37219
The bad minimum was causing erratic data being wrote to the texture when the value was very close to 0, and causing the glitches and even crashes when color values were given as Float.Infinity or Float.NaN.
2016-11-04 20:09:27 +01:00
Nehon
efd47c4347
fixed some javadoc in AbstractShadowRenderer
2016-11-04 17:00:15 +01:00
Nehon
142b006ad6
Fixed post shadow filter for glsl1.5
2016-11-02 09:59:02 +01:00
Nehon
9500227ca7
Defaulted the render back faces shadows in the AbstractShadowRenderer to true to keep the same behavior as in 3.0
2016-11-02 09:26:55 +01:00
Nehon
5495b7d064
Fixed the link to the paper for convertHalfToFloat
2016-10-31 10:02:59 +01:00
Nehon
da5e4a18c7
ShaderNodes now move all the declared extensions at the top of the generated shader source
2016-10-09 20:13:07 +02:00
Nehon
dd8271e8b3
Fixed SpotLight constructor to properly compute the invSpotRange see https://github.com/jMonkeyEngine/jmonkeyengine/issues/563
2016-10-09 10:01:17 +02:00
jjYBdx4IL
cfd491e270
fixes issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/506 : Material->toString() does not prevent/check for possible NPEs
2016-10-06 09:07:40 +02:00
Nehon
95bf9efe9b
MikktSpace tangent generator now properly generates the BindPoseTangent buffer when necessary
2016-10-03 23:33:39 +02:00
Kirill Vainer
09e9c1efa0
Merge pull request #555 from JavaSaBr/master-original
...
fixed missing Cloneable in the Triangle.
2016-09-11 20:32:17 -04:00
Kirill Vainer
2440fc5a74
Merge pull request #554 from TehLeo/patch-2
...
Fix for MTR Framebuffers
2016-09-11 15:05:08 -04:00
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