erwin coumans
ec4292ad75
add basic test texture
2014-01-17 22:19:12 -08:00
erwin coumans
2e55d03fd9
more fixes towards working convex-convex, in case of (too) many edge-edge cases:
...
1) sample directions over a unit sphere and
2) add a contact, using mpr
add missing bullet.pc.cmake file (for old Bullet 2.x)
2014-01-09 16:22:34 -08:00
erwincoumans
271f458837
Ported Minkowski Portal Refinement mpr.c from libccd to OpenCL, for bettwe edge-edge performance (and additional contact point for degenerate/high detailed convex shapes)
...
Removed b3RigidBodyCL, replace by b3RigidBodyData and b3RigidBodyData_t shared between C++ host and OpenCL,
Same for b3InertiaCL -> b3InertiaData
2014-01-04 20:54:27 -08:00
erwin coumans
9ebef9552b
implement 'new contact reduction' kernel on CPU , for debugging
2013-12-14 10:54:25 -08:00
erwin coumans
c155e126d0
move parts of collision pipeline to shared header files (work-in-progress)
2013-12-12 11:03:55 -08:00
erwincoumans
b0c43520e3
more work towards re-enabling grid broadphase.
2013-11-10 22:00:35 -08:00
erwincoumans
ad8585f184
prepare for btGpuGridBroadphase
2013-11-10 14:15:23 -08:00
erwincoumans
677722bba3
support compound versus compound collision shape acceleration on GPU, using aabb tree versus aabb tree.
...
Remove constructor from b3Vector3, to make it a POD type, so it can go into a union (and more compatible with OpenCL float4)
Use b3MakeVector3 instead of constructor
Share some code between C++ and GPU in a shared file: see b3TransformAabb2 in src/Bullet3Collision/BroadPhaseCollision/shared/b3Aabb.h
Improve PairBench a bit, show timings and #overlapping pairs.
Increase shadowmap default size to 8192x8192 (hope the GPU supports it)
2013-08-20 03:19:59 -07:00
erwincoumans
906415429c
added (and stripped) a simple C/C++ preprocessor (written in Lua), so the stringifier can handle the #include directive,
...
and embed the included files directly in the stringified files.
We need this, because we start sharing struct definitions and code between C/C++ and OpenCL (and potentially other languages)
preprocessor is from http://github.com/willsteel/lcpp
2013-08-01 21:05:19 -07:00
Erwin Coumans
0399b55e1c
add modifier support for Mac
2013-07-18 17:29:27 -07:00
erwincoumans
a5b73e7c76
use Syoyo Fujita's Wavefront obj loader. made some performance improvements in debug mode for Visual Studio
...
use Maya style controls under Windows (need to fix Linux/OSX) use ALT+mouse to rotate, and mouse pick to pick objects
2013-07-18 15:55:38 -07:00
erwin coumans
061f7173b8
compute best axis on host and OpenCL for 1-axis SAP, based on best variance
2013-07-12 20:46:43 -07:00
erwin coumans
2aad8419b7
add support for picking, using point 2 point constraint
...
allow to remove constraints by unique id
added tiny wavefront loader, plan to use this instead of existing slow wavefront loader
2013-07-10 00:21:23 -07:00
erwin coumans
100449d76f
faster scene construction when not using instancing (avoid copy individual vertices/shapes to GPU, but do it afterwards in a batch), copy GPU data in 'writeAllBodiesToGpu' method
...
add option --no_instanced_collision_shapes, this only applies to the 2 benchmark screnes at the moment
always use the user specified b3Config file, so the settings can be set at runtime, not just at compile time
adjust default constants in b3Config (needs more tweaking, ideally at run-time)
2013-06-08 11:08:44 -07:00
Erwin Coumans
f55473d586
GpuRaytraceScene work-in-progress, CPU only at the moment.
2013-05-27 00:42:28 -07:00
Erwin Coumans
a3559b3c92
add preliminary ray tracing test (ray-sphere placeholder on CPU)
2013-05-25 01:45:43 -07:00
Erwin Coumans
084bc4ec32
improve the benchmark mode, with 2 files (csv and details)
2013-05-23 18:34:39 -07:00
erwincoumans
25fe5f4a77
prepare for GPU cloth/softbody
2013-05-06 18:35:34 -07:00
erwincoumans
3ac332f3a7
reorder files, in preparation for Bullet 3 -> Bullet 2 merge
2013-04-29 19:04:08 -07:00