currently bullet physics solution runs on CPU.In this case,collision is very slow.I want to make the collision faster.This can be achieved only by running the solution on GPU.
Asked
Active
Viewed 812 times
0
-
1What efforts have you done to optimize the collision detection? – Markus Kull Oct 21 '15 at 07:17
1 Answers
2
Don't forget to optimize your code and improve your algorithms. Perhaps consider some Monte Carlo method...
(studying the underlying mathematics is definitely going to be useful; you might make a PhD on your topic)
Learn OpenCL or CUDA and code your physics code with it (it would take you several weeks, and is platform specific). See also this & that. Consider also multi-threaded (e.g. POSIX threads or C++11 std::thread) and OpenMP approaches.

Community
- 1
- 1

Basile Starynkevitch
- 223,805
- 18
- 296
- 547
-
3I would also consider first if the original code is decently optimized in first place before drawing the "big guns"... – Matteo Italia Oct 21 '15 at 07:17