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
f2cc840c31
move shaders to .glsl files and stringify to .h file.
...
add crude screenshot facility (using F1 key), it can also be used for debugging
start with shadows using shadowmap, not working yet
add experimental 'ignore' body index in raycast, using b3HitInfo.m_m_hitResult2
2013-06-28 14:10:23 -07:00
erwincoumans
e39af46403
fix ray-convex header file
2013-06-20 16:41:11 -07:00
erwincoumans
d935eb2520
fixes in ray-convex for GPU
2013-06-20 16:27:36 -07:00
erwin coumans
92f2f330df
fix OpenCL kernel: NVIDIA crashes in clBuildProgram and AMD reports an error 'irreducable flow detected" ?!?
...
ray-convex works on GPU
2013-06-20 11:50:19 -07:00
erwin coumans
330bf3ea09
start implementing ray-convex on GPU (work-in-progress)
2013-06-20 11:33:00 -07:00
erwin coumans
531af1b394
add ray-convex CPU implementation, make CPU raytest default for now
...
tweak/increase the b3Config values again, so it works better on the Macbook Retina GPU.
2013-06-20 00:29:09 -07:00
erwin coumans
a69ba48de4
Move b3Quickprof.* from Bullet 3.x src folder to btgui/Timing
...
The Bullet 3.x B3_PROFILE can be customized using b3SetCustomEnterProfileZoneFunc/b3SetCustomLeaveProfileZoneFunc defined in Bullet3Common/b3Logging,
so you can hook Bullet 3.x up to your profiler of choice.
The Demos3/BasicGpuDemo will show the Bullet 3.x timings inside the Bullet 2.x btQuickprof profiler.
2013-06-19 22:08:03 -07:00
erwin coumans
f10eb86f55
enable the GPU ray test in BasicGpuDemo, only for spheres at the moment
2013-06-19 00:12:06 -07:00
erwin coumans
481d54967f
Fixes in raycast (against sphere), point 2 point constraint
...
Picking test works, holding shift in App_BasicGpuDemo_*
2013-06-18 19:33:45 -07:00
erwincoumans
161c48d331
work-in-progress Bullet 3.x GPU raytest
...
work-in-progress P2P constraint for b3GpuDynamicsWorld
2013-06-17 13:47:35 -07:00
erwin coumans
3f10082aa3
add missing rayCast kernel
2013-06-07 20:47:47 -07:00
erwin coumans
a886a978b7
add preliminary GPU ray cast (brute-force slow, only against sphere, allocates OpenCL buffers at every cast)
2013-05-28 18:39:53 -07:00