Hi folks, for a seminar I had the task to review different sorting algorithms on the GPU with OpenCL.
Normally, I would implement this in C++, but hey, I’ve written a wrapper for jME3, so let’s do it with jME3.
I’d like to share it with you for three reasons:
- To see that the OpenCL wrapper works
- jME is not only useful for games, you can do a lot more with it, including real science
- Sorting is useful in various places. For example the correct z-ordering of transparent particles.
This is the source code:
(How can I upload arbitrary files (not only images) to the forum?)
Here are the results:
Have fun with it, if you find it useful.