“Hey the unification guy still isn’t bored to post rubbish useless threads :o :o”
OK just kidding ;D
This is not a project proposal as my project has been approved, here it is : OpenMali (https://openmali.dev.java.net)
There is really little content in the CVS.
The thing that pushed me to create this project is the following facts :
- Not everyone is a Math guru. And finding Math libraries that does “just the job you want” is sometimes useful
- Sometimes you find code that do “nearly what you want”, in which case you can just copy/paste and modify it to fit your need. Anyway, you’re glad you didn’t have to do the initial implementation
- Even if you have interest for Maths, some algorithms/technics/formulaes are just HARD to find. Spending 3 hours on Google may be a pleasure for some guys but not for me. If it’s clearly documented in my favorite lib, then it’s just easier
- Even if you find a paper on the algorithm you want, that does not mean you’re able to implement it… and yet you may be a fine AI/gfx programmer, but you just need some physics/to know how to detect objects in a cone/anything else
This is the FIRST GOAL of this library : Provide a set of reliable, clear, and documented open-source algorithms. The license should be compatible with commercial projects, and should permit modification of the code, too. (LGPL or BSD may be fine, or maybe both).
Now for the second goal here’s :
- The widespread vecmath.jar from sun has been reported to create much, much garbage and to slow down things that could be implemented in a better performance-wise way.
- Dave Lloyd once reported on his blog (talking about Fuze3D progress) that there was a bug in Quaternions that prevented his Cal3D port to work. He just did a workaround but if vecmath.jar was maintained that would have many headaches avoided for others programmers
- JOODE had problems and a discussion about how to support both jME and Xith3D cause they use different vector math library… And interfaces or factory solutions just can’t fit the job : too slow
- theKman and me have the same problem with Cal3Dj : he does jME support and I ported the whole to Xith3D and most of the work was renaming com.jme packages to javax.vecmath ones… And if he updates his code I’ll be obliged to work from diffs… not cool
So the SECOND GOAL would be, IF AND ONLY IF there is interest for that in the jME, JOODE and Xith3D communities, to “provide an open vector/matrix math library which is fast, generates as little garbage as possible, and which contains enough functionalities for the three libs I talked about”.