Data¶
- class pystk.RenderData¶
SuperTuxKart rendering output
- property depth numpy.ndarray¶
Depth image of the kart (memoryview[float] screen_height x screen_width)
- property image numpy.ndarray¶
Color image of the kart (memoryview[uint8] screen_height x screen_width x 3)
- property instance numpy.ndarray¶
Instance labels (memoryview[uint32] screen_height x screen_width)
Each instance label is spit into an ObjectType and instance label.
Right shift (>>) the instance label by ObjectType.object_type_shift to retrieve the object type.