code: def setupRenderModelForTrackedDevice(self, unTrackedDeviceIndex):
          "Purpose: Create/destroy GL a Render Model for a single tracked device"
          if unTrackedDeviceIndex >= openvr.k_unMaxTrackedDeviceCount:
              return
          # try to find a model we've already set up
          sRenderModelName = getTrackedDeviceString( self.m_pHMD, unTrackedDeviceIndex, openvr.Prop_RenderModelName_String )
          pRenderModel = self.findOrLoadRenderModel( sRenderModelName )
          if pRenderModel is None:        
              sTrackingSystemName = getTrackedDeviceString( self.m_pHMD, unTrackedDeviceIndex, openvr.Prop_TrackingSystemName_String )
              dprintf( "Unable to load render model for tracked device %d (%s.%s)" % (
                      unTrackedDeviceIndex, sTrackingSystemName, sRenderModelName) )
          else:
              self.m_rTrackedDeviceToRenderModel[ unTrackedDeviceIndex ] = pRenderModel
              self.m_rbShowTrackedDevice[ unTrackedDeviceIndex ] = Truf setupRenderModelForTrackedDevice(self, unTrackedDeviceIndex):
          "Purpose: Create/destroy GL a Render Model for a single tracked device"
          if unTrackedDeviceIndex >= openvr.k_unMaxTrackedDeviceCount:
              return
          # try to find a model we've already set up
          sRenderModelName = getTrackedDeviceString( self.m_pHMD, unTrackedDeviceIndex, openvr.Prop_RenderModelName_String )
          pRenderModel = self.findOrLoadRenderModel( sRenderModelName )
          if pRenderModel is None:        
              sTrackingSystemName = getTrackedDeviceString( self.m_pHMD, unTrackedDeviceIndex, openvr.Prop_TrackingSystemName_String )
              dprintf( "Unable to load render model for tracked device %d (%s.%s)" % (
                      unTrackedDeviceIndex, sTrackingSystemName, sRenderModelName) )
          else:
              self.m_rTrackedDeviceToRenderModel[ unTrackedDeviceIndex ] = pRenderModel
              self.m_rbShowTrackedDevice[ unTrackedDeviceIndex ] = True
docs: Purpose: Create/destroy GL a Render Model for a single tracked device