also enable depth and segmentation mask preview window in example browser/pybullet

You can disable/enable all preview windows using:

p.configureDebugVisualizer(p.COV_ENABLE_RGB_BUFFER_PREVIEW,0/1)
p.configureDebugVisualizer(p.COV_ENABLE_DEPTH_BUFFER_PREVIEW,0/1)
p.configureDebugVisualizer(p.COV_ENABLE_SEGMENTATION_MASK_PREVIEW,0/1)
This commit is contained in:
erwincoumans
2017-11-17 13:33:27 -08:00
parent e35b0c5643
commit e2d29d4048
3 changed files with 63 additions and 2 deletions

View File

@@ -600,6 +600,10 @@ enum b3ConfigureDebugVisualizerEnum
COV_ENABLE_MOUSE_PICKING,
COV_ENABLE_Y_AXIS_UP,
COV_ENABLE_TINY_RENDERER,
COV_ENABLE_RGB_BUFFER_PREVIEW,
COV_ENABLE_DEPTH_BUFFER_PREVIEW,
COV_ENABLE_SEGMENTATION_MARK_PREVIEW,
};
enum b3AddUserDebugItemEnum