Commit Graph

10 Commits

Author SHA1 Message Date
Erwin Coumans
d58a85fec4 export btHeightfieldTerrainShape to PyBullet. Note that tinyrenderer doesn't support rendering it (it would be too slow on CPU)
fix rare getKeyboardEvents threading issue
change texture color to default plane.urdf blue
2019-07-29 20:29:07 -07:00
Erwin Coumans
51fba6f78d export btHeightfieldTerrainShape to PyBullet. Note that tinyrenderer doesn't support rendering it (it would be too slow on CPU)
fix rare getKeyboardEvents threading issue
change texture color to default plane.urdf blue
2019-07-29 20:23:38 -07:00
Erwin Coumans
36f3adc03f copy/move heightfield files around (part of pybullet_data)
prepare for heightfield support in pybullet (first step, needs a bit more)
2019-07-25 13:01:26 -07:00
Erwin Coumans
a42acfbe31 btHeightFieldTerrainShape, init new member
instead height of example terrain
2019-07-23 15:23:11 -07:00
Erwin Coumans
ebde9926a8 add example loading heightfield from image and csv, using assets from DeepLoco (thanks to Jason Peng) and
from this Blender tutorial https://www.beamng.com/threads/tutorial-adding-heightmap-roads-using-blender.16356/
2019-07-23 11:26:31 -07:00
erwincoumans
1e6af4261e
Update HeightfieldExample.cpp 2019-07-19 14:02:08 -07:00
erwincoumans
a8d1c121fd allow Z as up-axis for raycast acceleration in btHeightfieldTerrainShape 2019-04-16 10:34:59 -07:00
Erwin Coumans
6912290080 fix one more warning in HeightfieldExample 2019-04-16 09:26:33 -07:00
Erwin Coumans
a7e1c5b681 fix warnings in HeightfieldExample 2019-04-16 09:14:00 -07:00
erwincoumans
f28fd91e4f add raycast accelerator for btHeightfieldTerrainShape, thanks to Marc Zylann, see https://github.com/bulletphysics/bullet3/pull/2062
it can be disabled by setting the flag cb.m_flags |= btTriangleRaycastCallback::kF_DisableHeightfieldAccelerator;
acceleration is disabled for z axis up.
add btHeightfieldTerrainShape example to example browser
2019-04-15 21:55:29 -07:00