erwin coumans
f9762d63ab
Removed many memoryleaks in Example Browser, reducing some technical debt.
...
When running the Example Browser with Basic Example, 'visual leak detector' show no leak.
Many other individual examples still leak, so it is work-in-progress.
Disabled the profiler window (too many leaks)
2016-07-16 00:55:56 -07:00
erwin coumans
797680a535
Remove memory leak in SimpleOpenGL3 example code
2016-07-14 20:42:00 -07:00
erwincoumans
4cbc741f66
Merge pull request #693 from hujiajie/master
...
[WIP] Suppress compiler warnings.
2016-07-14 10:52:59 -07:00
erwincoumans
93e98ddbd0
Merge pull request #698 from matpalm/linkIdFix
...
pybullet_applyExternalForce linkId bug
2016-07-14 10:51:49 -07:00
erwincoumans
824c721710
Merge pull request #699 from erwincoumans/master
...
Add kiva_shelf to prepare for picking/grasping task
2016-07-14 10:51:34 -07:00
Erwin Coumans
34187fba1c
fix camera update issue in previous commit
...
fix Mac OSX build issue
2016-07-14 09:49:49 -07:00
erwin coumans
4a705d1e03
Add kiva_shelf to prepare for picking/grasping task
...
Fix uninitialized variable jointDamping/jointFriction in SDF importer
Add SDF <pose> parsing in visual, inertial, collision elements.
Slight improvement in TinyRender loading performance of largish meshes (30k vertices)
Reduce #define MAX_SDF_BODIES to 500, due to some issue in client code, todo: figure out what the issue is.
b3RobotSimAPI support SDF file loading
Tiny improvement in OpenGL hardware renderer lighting, to distinguish faces without textures
2016-07-14 00:05:57 -07:00
Mat Kelcey
588bd007e7
bug fix for pybullet_applyExternalForce where linkId wasn't actually being used in b3ApplyExternalForce call
2016-07-13 21:20:41 -07:00
erwincoumans
31e7f2e309
Merge pull request #697 from matpalm/addFovToRenderImage
...
pybullet renderimage with projection matrix calculated using field of view
2016-07-13 18:46:42 -07:00
erwincoumans
6c856d9fa3
Merge pull request #694 from matpalm/flipDepthImage
...
fix for vertically flipped depth buffer in TinyRenderer::render
2016-07-13 15:56:33 -07:00
erwincoumans
513ba9d035
Merge pull request #696 from erwincoumans/master
...
add option to use hardware OpenGL renderer for synthetic camera
2016-07-13 15:56:05 -07:00
Erwin Coumans
10cc6f14cb
add option to use hardware OpenGL renderer for synthetic camera
2016-07-12 18:16:13 -07:00
Mat Kelcey
048c01d7c4
Merge branch 'master' of git://github.com/bulletphysics/bullet3 into addFovToRenderImage
2016-07-12 13:52:25 -07:00
Mat Kelcey
ad18cbafe8
Merge branch 'master' of git://github.com/bulletphysics/bullet3 into flipDepthImage
2016-07-12 13:51:48 -07:00
Mat Kelcey
2466dc155d
fix for vertically flipped depth buffer in TinyRendererVisualShapeConverter::render
2016-07-12 13:46:48 -07:00
hujiajie
23868ebfb6
[WIP] Suppress compiler warnings.
...
Disable a few Visual Studio warnings:
C4244: conversion from 'type1' to 'type2', possible loss of data
C4267: conversion from 'size_t' to 'type', possible loss of data
Considering the GCC/Clang counterpart '-Wconversion'
(https://gcc.gnu.org/wiki/NewWconversion ) is not covered by '-Wall', it
seems to make more sense to disable these two warnings in Visual Studio,
rather than fixing these warnings with hundreds of static_cast<> in the
source code.
2016-07-12 21:16:55 +08:00
erwincoumans
787cb0cb17
Merge pull request #648 from benelot/master
...
Create Inclined Plane, Newton's Cradle and Multi-Pendulum examples for the Bullet Example Browser
2016-07-11 22:17:31 -07:00
erwincoumans
5249ca7ceb
Merge pull request #690 from hujiajie/master
...
[WIP] Suppress compiler warnings.
2016-07-11 18:13:58 -07:00
Benjamin Ellenberger
b73bcead4b
Merge remote-tracking branch 'upstream/master
2016-07-11 23:31:49 +02:00
Benjamin Ellenberger
5f03b039a5
Change btVector3/btQuaternion to const btVector3&/btQuaternion&.
...
------------------------------------------------------------------
Parameters such as btVector3/btQuaternion need to be passed as const reference, not by value (it causes SIMD alignnment errors on Windows).
2016-07-11 23:22:17 +02:00
Benjamin Ellenberger
ed13cc6c26
Add a slider to displace pendula via GUI.
...
------------------------------------------------
The slider applies the selected displacement force according to the chosen scalar and falls back to zero when moved below an absolute value of 0.2.
2016-07-11 23:07:48 +02:00
Benjamin Ellenberger
5112de3e3f
Fix premake.lua missing includes.
...
---------------------------------------------------------------------
Due to using Cmake for the creation of the example, the premake.lua file was not correctly updated. This commit adds the missing includes by including all files using a wildcard.
2016-07-11 21:50:32 +02:00
erwincoumans
e2e750efb2
Merge pull request #689 from erwincoumans/master
...
prepare robotics learning examples, see examples/RoboticsLearning/b3R…
2016-07-11 10:38:38 -07:00
hujiajie
d776f06815
[WIP] Suppress compiler warnings.
...
Visual Studio C4099: 'CommonExampleInterface': type name first seen using 'class' now seen using 'struct'.
2016-07-11 18:02:42 +08:00
erwin coumans
7633cfb800
prepare robotics learning examples, see examples/RoboticsLearning/b3RobotSimAPI.h
...
prepare compliant contact work, urdf loading of parameters (see data/cube.urdf)
2016-07-11 00:26:40 -07:00
erwincoumans
9a99d18ca6
Merge pull request #688 from hujiajie/master
...
Suppress compiler warnings
2016-07-11 00:17:38 -07:00
hujiajie
8c573177eb
[Working In Progress] Suppress compiler warnings.
...
Suppress several warnings about unused variables.
2016-07-10 23:18:03 +08:00
erwincoumans
81ae53e3a4
Merge pull request #683 from erwincoumans/master
...
VR support in PhysicsServerExample, physics runs in its own thread.
2016-07-09 15:24:40 -07:00
erwin coumans
02582e3a78
shrink down cube size of BasicDemo 10 times (it looked ginormous in VR) from 2x2x2 meter to 0.2
...
add test for VR HUD/sub-titles
fix issue in previous commit, partial string use %.8s not %8.s
use long long int in b3Clock
fix warning/error in pointer alignment in serialization
Fix pybullet Windows compilation.
(thanks to bkeys/https://github.com/bulletphysics/bullet3/pull/687 )
2016-07-09 15:09:09 -07:00
erwincoumans
647774f8e4
Merge pull request #685 from ComradeKeys/master
...
There was a typo I came across when cross compiling
2016-07-08 17:23:41 -07:00
Mat Kelcey
54979a0f89
pybullet renderimage with projection matrix calculated using field of view
2016-07-08 15:47:50 -07:00
Brigham Keys, Esq
06d6c9fc3a
There was a typo I came across when cross compiling
...
TLDR; I fixed a typo for the windows build.
- bkeys
2016-07-08 16:30:01 -05:00
Erwin Coumans
35b260b252
Merge remote-tracking branch 'bp/master'
2016-07-08 08:20:16 -07:00
erwin coumans
60d2b99151
Physics runs in a separate thread from rendering in PhysicsServerExample (preliminary)
...
Improve rendering performance. OpenVR experience is smooth now.
commit needs a bit more testing before pushing in main repo.
2016-07-07 19:24:44 -07:00
erwincoumans
e918e5a44e
Merge pull request #682 from hellojas/renderImagefix
...
fix minor issues
2016-07-07 14:47:01 -07:00
Jasmine Hsu
993bd52fe2
fix minor issues - arg parse size, spelling, duplicate function definition
2016-07-07 13:56:32 -07:00
erwincoumans
9d629bdcd7
Merge pull request #672 from hellojas/renderImage
...
Render image with camera_pos, target_pos, camera_up vector as arguments
2016-07-07 12:42:41 -07:00
Erwin Coumans
bc5a756c36
Merge remote-tracking branch 'bp/master'
2016-07-05 08:55:41 -07:00
erwin coumans
d0f20eafd1
Allow to build PhysicsServer in VR mode, to see the URDF/SDF robots in proper scale in VR.
...
Add option to have Z as up-axis for VR examples.
Add OpenVR LICENSE + README file
Don't crash VR app when no HMD is detected, just exit.
For now, don't request debug lines in client, it slows down physics server in VR mode too much.
2016-07-02 18:53:19 -07:00
erwincoumans
0cba24b637
Merge pull request #680 from erwincoumans/master
...
Add preliminary support for VR/OpenVR for HTC Vive and Oculus Rift,
2016-07-02 11:07:43 -07:00
Erwin Coumans
471d3652e4
(finally) applied patch to fix 'setLocalScaling' of btMultiSphereShape
...
See https://code.google.com/archive/p/bullet/issues/636
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=8237 and
https://github.com/bulletphysics/bullet3/issues/125
2016-07-02 10:07:13 -07:00
erwincoumans
67cfaa45fa
Merge pull request #679 from jbohren/patch-1
...
pkg-config: Fixing regression introduced by e46b7b2
2016-07-02 10:03:20 -07:00
erwin coumans
58206b7962
Add preliminary support for VR/OpenVR for HTC Vive and Oculus Rift,
...
(Windows-only first, later Linux and OSX)
Use premake to build, use --enable_openvr flag
2016-06-30 16:03:38 -07:00
Jonathan Bohren
83543ec76b
pkg-config: Fixing regression introduced by e46b7b2
2016-06-30 14:02:19 -04:00
erwincoumans
eae90eb201
Merge pull request #675 from erwincoumans/master
...
remove debug printf's, fix an issue introduced in a previous commit to btMultiJointMotor etc.
2016-06-27 16:22:59 -07:00
Erwin Coumans
178dd54ca5
remove printf's and fix an issue in btMultiJointMotor in previous commit
2016-06-27 16:10:13 -07:00
Erwin Coumans
3966e0cc55
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2016-06-27 13:53:55 -07:00
Jasmine Hsu
43011bdb3b
merge upstream/master to latest commit ed9be25
2016-06-27 13:53:43 -07:00
Jasmine Hsu
f6bead7152
edit method definitions (docstring) for calling renderImage()
2016-06-27 13:51:28 -07:00
Jasmine Hsu
e24ec9e8c0
nearVal and farVal as params
2016-06-27 13:18:12 -07:00