Re: Graph Type Rendering Updates (Graph UI)
Posted by
Sven Gothel on
Apr 05, 2023; 9:51pm
URL: https://forum.jogamp.org/Graph-Type-Rendering-Updates-Graph-UI-tp4042173p4042390.html
General invert hack using scaling w/ 1f/determinante gives +10%,
I would have thought this would have been optimized these days already on OpenJDK 17+
Additional Matrix4f perf improvement over FloatUtils
- invert (..) +14% faster for aarch64, 2% amd64
- mul(..) +14% faster for aarch64, 10% amd64
.. sure, these are all synthetic and only used for 'per object' affine stuff
like PMV matrix calculus when traversing through the world (picking, draw preparation ..).
But it was interesting to see where we are.
Now since this also at least demonstrates the 'new' code works and is not slower,
while exposing a nice OO math API - I probably will see how to replace FloatUtil in PMVMatrix
as well.
2nd edit:
- 1st math
commit 15e60161787224e85172685f74dc0ac195969b51- update
commit (this post) 10b60e10ece3cbc3e0b8a68ac73229371530e0ba