Erwin Coumans
ae98ffe218
add Obj and STL import demo, work on URDF import
2014-08-03 13:45:05 -07:00
Erwin Coumans
86f793a6ae
start of URDF parsing (extremely preliminary)
2014-08-01 13:01:31 -07:00
=
cac50c1a8e
remove a few warnings, fix GLInstancingRenderer::drawLines
2014-07-29 11:08:09 -07:00
=
c487170196
remove OpenGL/glu.h from gl3 headers (warning), replace some OpenGL definitions ARB/non-ARB
2014-07-27 11:19:11 -07:00
Erwin Coumans
0b40e1a899
add upAxis option for Y or Z up
...
remove some warnings
2014-07-27 10:29:10 -07:00
Erwin Coumans (Google)
4189a9a67f
fix issue with Intel OpenGL 3.x driver under Ubuntu, render to texture cannot handle glDrawBuffer(GL_NONE)
2014-06-24 20:12:05 -07:00
Erwin Coumans (Google)
8f94ced88a
improve Linux OpenGL 3.x context creation handling, don't crash if the shadowmap shader fails
...
add cursor-key support for Linux
2014-06-24 15:43:04 -07:00
erwin coumans
eb74688c18
Add setUserIndex/getUserIndex (int index) to btCollisionShape
...
Share physics setup of BasicDemo between different graphics frameworks, see Demos\BasicDemo\BasicDemoPhysicsSetup.*
Plan is to do this for all Bullet demos.
Improve gwen performance and cursor navigation for tree control.
tweak shadowmap size
SimpleOpenGL3App::registerCubeShape accepts half extents
2014-05-20 12:02:01 -07:00
Erwin Coumans
3dd759c463
fix BT_USE_DOUBLE_PRECISION build, address Issue 177
...
https://github.com/bulletphysics/bullet3/issues/177
2014-05-19 14:53:11 -07:00
erwin coumans
01ce7a0288
remove a few unused variable, and add casts to avoid warnings
2014-05-16 08:59:34 -07:00
Erwin Coumans
dc491936a2
rename ObsoleteDemos back to Demos
...
fix some relative path issues for loading assets
2014-05-12 16:12:01 -07:00
Erwin Coumans
a3369e2d14
minor fix in GL3+ rendering
2014-04-12 19:53:44 -07:00
erwincoumans
5dafea7c06
avoid allocations in renderer (messes up AMD buggy OpenGL driver)
...
add missing file in cmake build system (BroadphaseCollision/b3GpuParallelLinearBvhBroadphase.cpp and BroadphaseCollision/b3GpuParallelLinearBvh.cpp)
2014-04-09 21:23:22 -07:00
Erwin Coumans
183901dc57
remove OpenGL 2.x call, it breaks Mac OSX
2014-01-29 15:47:02 -08:00
erwin coumans
ec4292ad75
add basic test texture
2014-01-17 22:19:12 -08:00
Erwin Coumans
1a507cca52
remove redundant/wrong glClear
...
always initialize mpr OpenCL kernels
add a second ragdoll to the demo
2014-01-16 19:18:06 -08:00
Erwin Coumans
e1a412454f
fixes to improve demos a bit
2014-01-07 16:06:13 -08:00
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