erwincoumans
ed73bce9da
Move Bullet 2.x demos in a single demo 'AllBullet2Demos', for now only BasicDemo and FeatherstoneDemo is implemented.
2014-01-05 21:58:30 -08:00
erwin coumans
ba2ba28a89
add Bullet 2.x CPU FeatherstoneMultiBodyDemo
2013-12-09 14:16:51 -08:00
erwincoumans
8f3051fdf1
add ImplicitCloth demo, by Stan Melax
...
add SimpleOpenGL3App, used in ImplicitCloth demo. The Bullet 3.x demos should use this as a template, it will clean up some of the mess.
2013-11-09 12:12:33 -08:00
erwincoumans
8faac34801
move ExplititEuler cloth solver to its own file, so it can be replaced by PDB, implicit euler etc
...
add wireframe toggle ('w' key)
add --paused command-line option to start simulation in paused mode
render cloth using drawPoints method
2013-09-06 18:09:35 -07:00
erwincoumans
ef42c17143
add drawPoint/drawLine (both slow) and drawPoints (faster) to GLInstancingRenderer, with GLSL shaders
2013-09-06 12:05:56 -07:00
erwincoumans
181a323631
move b3RaycastInfo.h so it can be used without OpenCL dependency
...
add b3Assert to make sure m_maxShapeCapacityInBytes is not exceeded in GLInstancingRenderer
prepare for CpuSoftClothDemo
2013-09-02 22:31:48 -07:00
erwincoumans
0ccb6922a8
more work towards CPU version
2013-08-30 08:06:46 -07:00
erwin coumans
2c019d579f
reduce memory allocation, lack of GPU memory totally destroys performance on my GTX 650M on the Macbook retina
...
add some keys to toggle gui drawing and shadows
2013-08-22 23:15:37 -07:00
Erwin Coumans
d860e7f51a
fix Mac OSX build (compound-compound still broken on OSX)
...
remove operator= from b3Vector3 to make it POD/Plane Old Data
2013-08-20 12:45:05 -07: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
erwin coumans
2793a174c6
added fracture scene .bullet file (doesn't work well yet)
...
added tetrahedral mesh test scene
expose b3Config as member variable for demos.
move a 'glFlush' out of the innerloop (render performance)
SSE -> SSE2 in premake
fix crash in broadphase (when no aabb's exist)
2013-07-30 12:37:16 -07:00
erwin coumans
310d31f3d5
tweaks to demos, add middle-mouse support,
2013-07-21 00:36:00 -07:00
erwincoumans
392347b202
use Control or Alt under Linux for Maya style mouse control (Ubuntu hijacks Alt)
2013-07-18 16:28:41 -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
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
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
8faf5bca21
fix OSX build
2013-07-02 21:08:52 -07:00
erwin coumans
6d6ef5d3dc
fixed many memory leaks
...
added working shadows, using basic shadow mapping
2013-06-30 23:19:14 -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
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
erwincoumans
227d88f553
fix Linux build
2013-06-17 21:57:04 -07:00
erwincoumans
9a92eecf10
allow larger amount of rigid bodies, dynamically increase b3Config limits
...
avoid crashes in instancing renderer if instance maximum is exceeded.
2013-06-17 17:05:01 -07:00
erwin coumans
ff3c79b900
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2013-06-03 17:58:15 -07:00
Erwin Coumans
a9d4184e2d
fix Mac version of cloth rendering
2013-06-03 17:35:31 -07:00
erwin coumans
76b0d7697a
Added b3Printf, b3Warning and b3Error that can be re-routed to custom handlers.
...
See in src/Bullet3Common/b3Logging.h for details
2013-06-03 13:10:27 -07:00
Erwin Coumans
f55473d586
GpuRaytraceScene work-in-progress, CPU only at the moment.
2013-05-27 00:42:28 -07:00
erwincoumans
25fe5f4a77
prepare for GPU cloth/softbody
2013-05-06 18:35: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
55b69201a9
rename to b3 convention, to avoid naming conflicts when using in combination with Bullet 2.x
2013-04-29 15:19:36 -07:00
erwin coumans
7366e262fd
bt -> b3 and BT -> B3 rename for content and filenames
2013-04-28 23:11:10 -07:00
erwin coumans
626f0cf1e3
bt->b3
2013-04-17 17:52:51 -07:00
erwin coumans
e646754228
more bt* to b3*
2013-04-16 17:08:59 -07:00
erwin coumans
4a93c2e704
x() -> x or getX() or [0]
...
y() -> y or getY() or [1]
z() -> z or getZ() or [2]
w() -> w or getW() or [3]
make sphere-convex and sphere-compound collision work (still issues remaining)
2013-04-03 18:27:36 -07:00
erwin coumans
8cee2e9b23
Merge branch 'master' of https://bitbucket.org/erwincoumans/bullet3_experiments
...
Conflicts:
btgui/OpenGLWindow/GLInstancingRenderer.cpp
2013-04-03 09:24:21 -07:00
erwin coumans
c2eb058e1f
minor fixes
2013-04-03 09:19:39 -07:00
erwin coumans
8797524bd6
add RtMini test/library (works under Windows)
...
minor cleanups
2013-03-30 00:14:46 -07:00
erwin coumans
68062bdfbd
added Samurai Monastry wavefront .obj
...
added alternative batching kernel (slow)
tweaked controls a bit
added command-line options --selected_demo=<int> and --new_batching
started looking into parallel 3d sap
2013-03-23 23:00:50 -07:00
Erwin Coumans
9997e45dcb
add some mouse controls
2013-03-22 12:09:57 -07:00
erwin coumans
b4f9416cdf
add support for BVH acceleration for concave trianglemesh collision against convex hulls
...
bugfix/improvement in batching
2013-03-20 23:37:34 -07:00
erwin coumans
5784d6ce0b
expose number of instances
...
export 'getKeyboardCallback' for chaining
2013-03-14 12:53:03 -07:00
erwin coumans
a6a7a67b61
add another btgui test
2013-03-13 00:22:35 -07:00