erwincoumans / experiments

testbeds, random bits, snippets mainly for real-time physics/graphics development. The GPU rigid body pipeline is moved to a separate repository at http://github.com/bulletphysics/bullet3
129 stars 26 forks source link

The GpuBoxDemo crashed on Linux #10

Closed joen66 closed 11 years ago

joen66 commented 11 years ago

The GpuBoxDemo will crash on Linux, but the GpuCompoundDemo won't.

joen66 commented 11 years ago

There maybe a bug in the narrow phase during the collision detection because the program can run until the output number of broad phase is not zero.

erwincoumans commented 11 years ago

The GpuDemo has never been tested or implemented on Linux. (only Mac OSX and Windows version is implemented).

Did you implement a Linux version?

joen66 commented 11 years ago

Right, I want to do it :), but the GpuDemo1 does not work now.

joen66 commented 11 years ago

Sorry, I have a misunderstanding, and corrected the fault (Sphere version -> GpuCompoundDemo and GpuDemo1 version -> GpuBoxDemo) now.

erwincoumans commented 11 years ago

The Linux version is not tested or supported yet. Unless you want to help fixing the issue, let's close the issue until we start supporting Linux.

joen66 commented 11 years ago

I want to help fixing the issue, and porting to Linux from Mac version.

joen66 commented 11 years ago

The GpuBoxDemo can work on Linux now, and demo video: http://www.youtube.com/watch?v=CsMGM27zMC0&feature=youtu.be The codes needs some reorganization for commit, and will create a branch and be submitted after the Chinese NEW Year.

erwincoumans commented 11 years ago

latest revision has a working Linux version: https://github.com/erwincoumans/experiments/commit/a29e018d1ba63ff8c1b4a31e8fb71abecbbc2495