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
8 years ago
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.
8 years ago
Paul Speed
92b5d40003
Modified BitmapTextPage to always deep clone its mesh since otherwise
...
BitmapText objects end up sharing them and that's bad.
8 years ago
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.
8 years ago
Paul Speed
735397f16e
Another fix for BitmapText cloning where the regular clone() was
...
completely bypassing the JME cloner framework... and making a bad
clone.
8 years ago
Paul Speed
c1764bc425
Fixed the cloned Letters to use the cloned StringBlock instead of the
...
original reference.
8 years ago
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.
8 years ago
Fadorico
e3bd122519
Write/read the width and height of the quad
8 years ago
Kirill Vainer
8c4b44941e
Fix #550
8 years ago
Nehon
a71fb286f4
Fixed shadow fade and zfar computation as it was breaking shadow border filtering.
8 years ago
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.
8 years ago
Paul Speed
4919620e61
Improved the "compare result changed" error message to include the most
...
likely cause of the error.
8 years ago
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.
8 years ago
Nehon
efd47c4347
fixed some javadoc in AbstractShadowRenderer
8 years ago
Nehon
142b006ad6
Fixed post shadow filter for glsl1.5
8 years ago
Nehon
9500227ca7
Defaulted the render back faces shadows in the AbstractShadowRenderer to true to keep the same behavior as in 3.0
8 years ago
Nehon
5495b7d064
Fixed the link to the paper for convertHalfToFloat
8 years ago
Nehon
da5e4a18c7
ShaderNodes now move all the declared extensions at the top of the generated shader source
8 years ago
Nehon
dd8271e8b3
Fixed SpotLight constructor to properly compute the invSpotRange see https://github.com/jMonkeyEngine/jmonkeyengine/issues/563
8 years ago
jjYBdx4IL
cfd491e270
fixes issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/506 : Material->toString() does not prevent/check for possible NPEs
8 years ago
Nehon
95bf9efe9b
MikktSpace tangent generator now properly generates the BindPoseTangent buffer when necessary
8 years ago
Kirill Vainer
09e9c1efa0
Merge pull request #555 from JavaSaBr/master-original
...
fixed missing Cloneable in the Triangle.
8 years ago
Kirill Vainer
2440fc5a74
Merge pull request #554 from TehLeo/patch-2
...
Fix for MTR Framebuffers
8 years ago
Rémy Bouquet
b42bf7f67e
fixed glsl 1.0 version of the postShadowFilter shader
8 years ago
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.
8 years ago
Rémy Bouquet
a7edef3a06
fixed transparent shadows on mac.
8 years ago
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
8 years ago
Rémy Bouquet
eefc17428c
Merge pull request #501 from MeFisto94/HwSkinningFixV02
...
Fixes #499 : Fix Hardware Skinning in 3.1
9 years ago
tiatin
d8529573e4
Changed overrides from ArrayList to SafeArrayList for GC and iteration performance reasons. Fixed bug in SafeArrayList.equals().
9 years ago
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).
9 years ago
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/
9 years ago
javasabr
be66436745
added warning
9 years ago
javasabr
f354343e47
fixed the NPE with controls
9 years ago
Nehon
3d1a541903
Fixed an issue when resizing the viewport, with a FPP and antialiasing would stop rendering
9 years ago
Rémy Bouquet
29dfff223c
proper equal and hashcode for ShaderNodesVariables.
9 years ago
Kirill Vainer
7d4a34f96f
build: check file exists before getting text
...
Conflicts:
jme3-core/build.gradle
9 years ago
Dokthar
256abb38fa
joystick : added mapping for two gamepads
...
- the "GASIA CORP. PLAYSTATION(R)3 Controller"
- the "DragonRise Inc. Generic USB Joystick"
9 years ago
Dokthar
5e594a87d2
joystick : add trim() to each joystick name input
9 years ago
Kirill Vainer
d044ad13e1
Fix issue #479
9 years ago
Kirill Vainer
3353aea546
fix Uniform issue related to material changes
9 years ago
Kirill Vainer
e71cf81b96
J3M: allow static pass lighting to be selected
9 years ago
Nehon
091b8664ad
Fixed an issue where Vector3f.NAN constant reference was assigned to an attribute instead of being cloned in AudioNode.
9 years ago
Nehon
7bd2feb416
Made a test for shaderNode based j3md loading
9 years ago
Nehon
c859cf375c
Fixed an issue with shaderNodes loading
9 years ago
Kirill Vainer
8d4962d11f
fix failing unit test
9 years ago
Kirill Vainer
9d094b222a
AudioNode: add setVelocityFromTranslation
9 years ago
Kirill Vainer
2dca1a2732
add AudioListenerState
9 years ago
Kirill Vainer
97a53e0c99
material: add unit test
9 years ago
Kirill Vainer
65b7c205f9
StaticPass: fix spot light
9 years ago
Kirill Vainer
3f5cc4963e
FBX: use new loader by default
9 years ago