erwincoumans
ab125fbb6d
implement GPU breakable constraints
...
add GPU fixed constraint
fix performance issue with concave meshes (didn't clear the number of concave-convex pairs, so it increased every frame)
2013-07-17 16:11:54 -07:00
erwincoumans
3beae80a73
prepare for GPU fixed constraint (not done yet)
2013-07-16 19:05:07 -07:00
erwincoumans
20f9e41ff0
remove some debug printf's from kernel (stringify doesn't handle it properly)
2013-07-15 10:36:02 -07:00
erwincoumans
a5d00c8219
add some clFinish for better profile timings
...
improved parallel batching, don't try to write for static objects,
this fixed a bug, when the hash of a static object was identical with hash of dynamic objects, causing it to be assigned a bogus 100+i batching number
The parallel batching is still not enabled, because we need to measure the batching size (todo)
2013-07-15 10:22:40 -07:00
erwin coumans
1e31073f4b
made the simulation deterministic
...
disable 'simdwidth' optimization for determinism (need to double-check)
made the spatial batching 3D
2013-07-14 19:16:33 -07:00
erwincoumans
282e19171f
fix Linux version of ConstraintDemo
2013-07-09 14:41:56 -07:00
erwin coumans
c4375a09e4
added GPU joint solver for non-contact constraints. Only point 2 point version for now, will add some other constraints soon (changes are very local)
2013-07-09 10:46:47 -07:00
erwin coumans
b8d5cecfe3
joint (non-contact constraint) solver iterations is now working on GPU, but overall slower because of data copy.
...
Will move joint setup to GPU, and then some benefit should be visible.
Don't use 64 alignment, it causes data structures size mismatch between cpu and gpu
2013-07-06 14:11:32 -07:00
erwin coumans
3ca4d68f3e
added jointSolver.cl/h (not working yet)
2013-07-06 13:20:34 -07:00
erwin coumans
26873328cf
gridtable needs to be in the __constant memory space
2013-05-03 11:38:23 -07:00
erwin coumans
1185de51d5
experiment with first-level batching using object index instead of spatial hash in uniform grid (to avoid tuning average object size for uniform grid)
2013-05-03 01:14:34 -07:00
erwin coumans
6ee9eb9bb5
fix bug in assignment of contact constraints to solver grid (always use dynamic body to determine constraint assignment, otherwise write conflicts can occur)
...
implement CPU version of narrowphase convex collision, for comparison/debug purposes
start towards cpu/gpu sync, for adding/removing bodies (work in progress)
2013-05-02 09:49:16 -07:00
erwincoumans
92f0938af3
add bitonic sort, as comparison.
...
fix stringify.bat for Windows (need to fix Mac/Linux version too)
2013-04-30 11:40:09 -07:00
erwincoumans
3ac332f3a7
reorder files, in preparation for Bullet 3 -> Bullet 2 merge
2013-04-29 19:04:08 -07:00