Per-frame 2d Drawer

I’m looking for some way to draw simple 2d graphics quickly (on a per-frame basis). I’m particularly interested in being able simple geometry (rectangles and lines) and text.

ie. Something like this.

I’ve tried using PNMImages, but the framerate drops into the twenties.

Does anyone have any suggestions?

You can try MeshDrawer2d:

panda3d.org/manual/index.php/MeshDrawer

I use meshDrawer2d for treeGUI.

I managed to get MeshDrawer2d to display geometry and textures, but the uvw’s are flipped u and v.

EDIT: Nevermind, I forgot to set the clip.