Expose using projective texture as a flag in pybullet getCameraImage API.

This commit is contained in:
yunfeibai
2018-03-18 17:01:23 -07:00
parent 680ce39e96
commit fd7aa8d0e1
9 changed files with 23 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ if (useRealTimeSimulation):
while 1:
if (useRealTimeSimulation):
p.getCameraImage(300, 300, lightColor=[1.0,0.0,0.0], renderer=p.ER_BULLET_HARDWARE_OPENGL, flags=p.ER_USE_PROJECTIVE_TEXTURE)
p.setGravity(0,0,0)
sleep(0.01) # Time in seconds.
else: