def add_display_region(self, display_region, keep_height=True):
        """
        Add a display region to show the rendering result
        """
        if self.engine.mode != "none" and self.display_region is None:
            if keep_height:
                ratio = self.BUFFER_H / self.BUFFER_W
                h = 0.333 * ratio
                display_region[-2] = 1 - h

            cm = CardMaker("filter-base-quad")
            cm.setFrameFullscreenQuad()
            self.quad = quad = NodePath(cm.generate())
            quad.setDepthTest(0)
            quad.setDepthWrite(0)
            quad.setTexture(self.depth_tex)

            quadcamnode = Camera("depth_result_cam")
            lens = OrthographicLens()
            lens.setFilmSize(2, 2)
            lens.setFilmOffset(0, 0)
            lens.setNearFar(-1000, 1000)
            quadcamnode.setLens(lens)
            self.quadcam = quad.attachNewNode(quadcamnode)

            # only show them when onscreen
            self.display_region = self.engine.win.makeDisplayRegion(*display_region)
            self.display_region.setCamera(self.quadcam)
            self.draw_border(display_region)

        Add a display region to show the rendering result
        
metadrive/component/sensors/depth_camera.py