Erwin Coumans
70221aeb3e
add RenderInstancingDemo
...
allow to use OpenGL2 or OpenGL3 in same binary (will add command-line switch)
2015-02-04 16:56:30 -08:00
Erwin Coumans
a164245915
link against pthreads using cmake when building under Linux, shared libs
...
(linking against pthreads is just a workaround for buggy NVidia drivers that require it)
2015-01-27 13:52:10 -08:00
=
2a1ac61c4d
fix cmake build
2015-01-27 13:09:39 -08:00
erwincoumans
bd16df8dd6
add basic debug drawing interface for btMultiBodyPoint2Point constraint
...
add basic debug drawing drawText3D in SimpleOpenGL3App
remove a few warnings
add drawTexturedRect3D to GLPrimitiveRenderer to support debug drawing
2015-01-27 10:45:56 -08:00
erwincoumans
a159fbac69
Improved URDF support for btMultiBody and separate graphics/collision/inertial frames and shapes
...
Fix WinXP GetTickCount64 with a typedef
Expose debug drawing mode/flags in UI (hot keys A,D,L,W for now, buttons later)
GLInstancingRenderer: tweak near/far planes to allow closer approach of camera
btDiscreteDynamicsWorld: enable debug drawing for btGeneric6DofSpring2Constraint
btMultiBodyDynamicsWorld: enable basic debug drawing for btMultiBody
btMultibody: allow center-of-mass shift for prismatic and fixed constraint
2015-01-22 17:56:24 -08:00
erwin coumans
5eb2c01957
fix double precision build
2014-12-16 14:58:50 -08:00
erwin coumans
548fe5b04e
fix crash in BasicDemo
...
add small experiments to distribute points on a sphere
prepare for coordinate frame demo (incomplete)
fix/hack around gwen update of scroll bars and Focu
2014-12-16 14:27:38 -08:00
Erwin Coumans
5757de14d7
Merge remote-tracking branch 'bp/master'
...
Conflicts:
btgui/Bullet3AppSupport/CommonParameterInterface.h
2014-11-02 13:12:16 -08:00
Erwin Coumans
65225575ed
render the tetrahedral mesh (no mesh normals)
2014-10-31 15:24:07 -07:00
erwincoumans
1d78b1aef9
Merge pull request #271 from erwincoumans/master
...
btHingeConstraint to set/get ERP, refactor gfx backends (work-in-progress)
2014-10-17 13:48:02 -07:00
erwin coumans
5f61473229
fix double precision build
2014-10-17 13:39:34 -07:00
Kevin Watts
2733f21d5f
Adding virtual destructor for RenderCallbacks struct
2014-10-16 11:39:54 -07:00
Erwin Coumans
eda1ff77db
add alpha blendering option (disabled by default) using w component of color
...
add low-level support function demo (test)
2014-10-15 18:05:11 -07:00
Erwin Coumans
e314f56f9d
refactor to allow various gfx backends (work-in-progress)
2014-09-23 18:27:16 -07:00
Erwin Coumans
6406519108
allow to compile using gcc-4.x on Mac OSX
2014-09-10 20:50:12 -07:00
Erwin Coumans
a26f9c1871
premake: use *.cpp insteadl of **.cpp
2014-09-05 11:22:25 -07:00
Erwin Coumans
61808844de
escape quits SimpleOpenGLApp
2014-09-04 17:54:33 -07:00
Erwin Coumans
0125324bd6
consolidate files into btgui/OpenGLWindow (from FontFiles/OpenGLTrueTypeFont)
...
consolidate stringify_linux/_osx into stringify.sh
2014-09-03 09:52:31 -07:00
Erwin Coumans (Google)
58d7a7b9d5
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2014-09-01 09:21:26 -07:00
Erwin Coumans (Google)
e20c240178
make stringify_linux.sh compatible with mac osx (testing)
2014-09-01 09:17:21 -07:00
Erwin Coumans
da8abf443e
fix support for dynamic loading of X11 functions, after adding XRaiseWindow
...
./premake4_linux64 --force_dlopen_x11 gmake
2014-08-31 12:51:11 -07:00
Erwin Coumans
f199a4a972
add fileOpenDialog and enable loading of urdf from GUI
...
(will add .bullet file support soon)
Uses native Windows (getFileOpenFileName) and Mac OSX NSOpenPanel,
on Linux using pipe popen to zenity)
2014-08-31 11:53:44 -07:00
Erwin Coumans
2b35911f2a
X11OpenGLWindow: create stencil buffer for shadows in OpenGL2 mode (OpenGL3 uses shadow maps)
...
Add 'createCollisionObjectGraphicsObject' API for CommonPhysicsSetup
Add 'pthread' dependency as workaround for NVIDIA graphics driver issue
(see //See https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642
)
2014-08-26 11:28:44 -07:00
Erwin Coumans
8e64ee57c9
fix a few warnings, and matching class/struct in forward declaration
2014-08-22 18:15:17 -07:00
Erwin Coumans
af5883c6e8
remove a lot of warnings (more todo in demos and serialization code)
2014-08-22 10:29:05 -07:00
Erwin Coumans
37aa4dc4f8
fix more warnings, implement missing X11 function for dynamic loading
2014-08-21 17:27:14 -07:00
Erwin Coumans
5834547368
fix more warnings in BulletCollision, and fix CMakeLists for Linux
2014-08-21 15:54:50 -07:00
Erwin Coumans
4af9c5a4c9
remove some warnings
2014-08-21 13:32:32 -07:00
Erwin Coumans
ed637a6942
fix mac build
2014-08-20 17:24:12 -07:00
Erwin Coumans
7b28e86c7b
add improved btGeneric6DofSpring2Constraint, thanks to Puhr Gabor and Tamas Umenhoffer!
...
improved the new demo testbed (work-in-progress)
add basic Lua demo, import URDF test, STL import, obj import
2014-08-20 16:28:16 -07:00
Erwin Coumans
bf1bd07636
premake4 build: allow to dynamically load X11 if X11 system headers/library is missing
...
premake4 build: allow to dynamically load OpenGL/GLEW/glx if system headers are missing
2014-08-18 21:43:08 -07:00
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
Erwin Coumans
4b8c8e7910
expose basic parameters in SimpleOpenGL3App, test with accumulated hinge angle, GUI is still preliminary
2014-07-31 11:47:04 -07:00
Erwin Coumans
a817b0bb24
support Retina for movie generation in SimpleOpenGL3App
2014-07-29 23:06:36 -07:00
Erwin Coumans
0c39cda57b
enable png and mp4 output in SimpleOpenGL3App, see
...
Demos3/SimpleOpenGL3 use commandline parameter
--png_file="pngname" or
--mp4_file="video.mp4"
Thanks to http://blog.mmacklin.com/2013/06/11/real-time-video-capture-with-ffmpeg/
2014-07-29 16:58:22 -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)
433d349369
add option for newer Linux demos to dynamically load X11, glX and OpenGL 1 functions
...
(and avoid having to link against X, glx and GL)
-DGLEW_INIT_OPENGL11_FUNCTIONS
-DGLEW_DYNAMIC_LOAD_ALL_GLX_FUNCTIONS
-DDYNAMIC_LOAD_X11_FUNCTIONS
and link against libdl (for example usingi -ldl)
2014-07-11 14:25:32 -07:00
Erwin Coumans
9b9fa7509f
Add option to let glew initialize the OpenGL 1.1 function pointers (not just all OpenGL 1.2 and above function pointers)
...
so you can avoid linking against OpenGL / libGL library at link-time.
See also http://sourceforge.net/p/glew/mailman/message/22729161/ and
http://portal.nersc.gov/svn/visit/branches/2.6RC/src/third_party_builtin/glew/glew/
Thanks to Tom Fogal for the help.
2014-07-10 11:45:35 -07:00
Erwin Coumans (Google)
27b0e4d1e6
experiments with params in AllBullet2Demos (quick hack for testing, will clean this up soon)
...
yet another workaround to make Intel GPU work with glDrawBuffers on Ubuntu
2014-07-08 16:42:57 -07:00
Erwin Coumans
b438b91009
fix Mac build
2014-07-03 22:30:50 -07:00
Erwin Coumans
bae303c5da
add preliminary glut replacement test for Bullet 2.x demos
2014-07-03 16:42:50 -07:00
Erwin Coumans
87d44cbb74
Merge branch 'master' of https://github.com/bulletphysics/bullet3
2014-07-02 09:40:39 -07:00
Erwin Coumans
6598d1fdde
update Windows glew source
2014-07-01 12:57:32 -07:00
Erwin Coumans
6d62a318ae
only apply the Intel glDrawBuffers fix on Linux (not Win/Mac)
2014-07-01 10:26:45 -07:00
Erwin Coumans (Google)
b7402df015
more X11/Linux debug-graphics fixes
2014-06-30 16:03:36 -07:00
Erwin Coumans
8e2a4f8171
dynamically switch between OpenGL 2 and OpenGL 3 (test gwen)
2014-06-30 14:42:11 -07:00
Erwin Coumans
05baa69fa9
Merge branch 'master' of https://github.com/bulletphysics/bullet3
2014-06-30 12:16:47 -07:00