PyBullet: add planar reflection example,

See examples/pybullet/examples/addPlanarReflection.py
This commit is contained in:
erwincoumans
2018-04-11 01:03:36 -07:00
parent 39edcf699c
commit ffc808784b
11 changed files with 155 additions and 15 deletions

View File

@@ -39,6 +39,8 @@ class GLInstancingRenderer : public CommonRenderInterface
int m_screenHeight;
int m_upAxis;
int m_planeReflectionShapeIndex;
int registerGraphicsInstanceInternal(int shapeIndex, const float* position, const float* quaternion, const float* color, const float* scaling);
@@ -151,6 +153,8 @@ public:
virtual int getTotalNumInstances() const;
virtual void enableShadowMap();
virtual void setPlaneReflectionShapeIndex(int index);
virtual void clearZBuffer();