tiatin
8e8186de0a
Changed overrides from ArrayList to SafeArrayList for GC and iteration performance reasons. Fixed bug in SafeArrayList.equals().
9 years ago
tiatin
b524dcd66d
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
9c669547ab
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
NemesisMate
ce82a8a7b9
improved the setUserData method.
9 years ago
Rémy Bouquet
664ea53cc6
Merge pull request #513 from riccardobl/PBRisComing
...
Fix npe
9 years ago
Riccardo Balbo
f3319d3fd6
Fix npe
9 years ago
NemesisMate
cdc708dcda
userdata to null again once all data is removed.
9 years ago
empirephoenix
e2b6c51730
Merge pull request #511 from empirephoenix/master
...
Finally fixing this
9 years ago
empirephoenix
e4840e2e9f
Merge pull request #512 from riccardobl/pr200616
...
Removed warning if scale=1,1,1 in CylinderCollisionShape
9 years ago
Riccardo Balbo
56558841e7
CylinderCollisionShape: don't print warning if scale = 1,1,1
9 years ago
shamanDevel
a8d77a7cd1
OpenCLObject.register() now returns this.
...
This allows to chain the register method like kernel=program.createKernel("ScaleKernel").register(); or testBuffer=clContext.createBuffer(1024).register();
9 years ago
shamanDevel
46db6d95f8
Added getter method for the device associated with a command queue
9 years ago
shamanDevel
eb07d69cd8
missing toString() methods added
9 years ago
Kai Boernert
22db3212e1
Finally fixing this
...
https://hub.jmonkeyengine.org/t/jmonkey-3-1-native-bullet-bug/33595/3
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=12158&f=9&t=
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
9 years ago
Albert Santos
03318a6766
Fixed Point2PointJoint.createJoint() incorrectly creating btHingeConstraint
...
Replaced it with btPoint2PointConstraint.
9 years ago
empirephoenix
65164e2075
Merge pull request #507 from jjYBdx4IL/master
...
fixes issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/506 …
9 years ago
jjYBdx4IL
a20a84cf42
fixes issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/506 : Material->toString() does not prevent/check for possible NPEs
9 years ago
empirephoenix
6e8ba0f877
Merge pull request #500 from shamanDevel/PreOrderTraversal
...
added a pre-order traversal of the scene graph
9 years ago
Nehon
619a323b9d
Fixed an issue when resizing the viewport, with a FPP and antialiasing would stop rendering
9 years ago
empirephoenix
fbf2dd4497
Merge pull request #494 from shamanDevel/OpenCL
...
OpenCL for jME3
9 years ago
shamanDevel
a834a4dad6
added test for multiple parallel applications: multiple OpenCL contexts do not work
9 years ago
shamanDevel
dcdcbc3a97
added test for context switching.
...
Changing the OpenCL platform and device by restarting the application works.
9 years ago
MeFisto94
9e187647d0
Fix Hardware Skinning in 3.1 by implementing proper Array Serialization for MatParams and making the Shared Materials Check only a warning (it would pop up once each time you load the j3o and if you really use Shared Materials you have weird animations and some log spamming)
9 years ago
shamanDevel
66b8447caa
Added pre-order traversal as an alternative to the default post-order depth first search traversal
9 years ago
shamanDevel
e5e5128a65
Fixed Program.getBinary() for LWJGL3
9 years ago
shamanDevel
dd22ebefdd
Implemented Program.getBinary() with Jocl.
...
The program cache now also works with Jocl.
Thanks to @gouessej for his help.
9 years ago
empirephoenix
65fd7425fa
Merge pull request #497 from NemesisMate/patch-7
...
Ordering + raw methods instead of reversing.
9 years ago
William Linna
c85fd3fe26
Add/remove all PhysicsControls even when a RigidBodyControl is present
9 years ago
NemesisMate
8a058c61f1
Changed LinkedList for ArrayList in rayTests
9 years ago
Nehon
60a031dc02
Fixed an issue in the fog filter's shader that was preventing it to run on android
9 years ago
NemesisMate
3b0e0766c5
Oops!
9 years ago
NemesisMate
4cd424ad03
Ordering physics rayTest returned list instead of reversing it.
...
Added raw results ray tests too.
9 years ago
Julien Gouesse
5a5ffdc2ae
First attempt of fix for the issue #490
9 years ago
empirephoenix
2c1fd47a67
Merge pull request #477 from riccardobl/fix_topic35663_issue
...
Ogre importer: Fix for material sharing
9 years ago
jmekaelthas
93080f506a
Bugfix: fixed a bug that caused some models to be half-transparent when
...
it was not needed.
9 years ago
Rémy Bouquet
334cad4657
proper equal and hashcode for ShaderNodesVariables.
9 years ago
Rémy Bouquet
ba92462521
Merge pull request #495 from Dokthar/typo_fix
...
That's not those typos you're looking for....
9 years ago
Dokthar
63fb53f6e4
more typo ... ytpo ytop opyt ;)
9 years ago
Dokthar
a52a51cb27
typo fix in materials & shaders, also fix some javadoc
9 years ago
shamanDevel
bd491dc416
removed fixmes
9 years ago
shamanDevel
e32ebe11bb
fixed context creation for LWJGL3
9 years ago
shamanDevel
732e75fba6
fixed unmapping of buffer objects and an error in setArg in Lwjgl3's Kernel
9 years ago
shamanDevel
250c871cab
Added a library for Matrix4f
9 years ago
iwgeric
898079eded
Android-Examples: update doc
9 years ago
iwgeric
5117d108e6
Android-Examples: Fix doc for test case
9 years ago
Nehon
5de286e291
Better j3md export test
9 years ago
shamanDevel
4e55e0e5a0
added library for Matrix3f, fixed some bugs
9 years ago
Nehon
8d01c5a26f
MatDef is not Savable anymore. Kind of reverted previous commit and implemented and very straight forward exporter for J3mds that doesn't use the Savable process of jme3 since it's designed to save the whole graph and not only subparts of it like materials and material defs. The API stays the same though
9 years ago
shamanDevel
c162d474c7
added matrix support for kernel arguments (mapped to float16)
9 years ago
shamanDevel
44899098e2
added dependency resolving and a random number library
9 years ago