Drawing polys using python in realtime?

What I’m asking is:

Is it possible to draw polygons (filled, and with materials) based on positions, in real-time using python?

Many thanks if ye can advise.

You can, but it involves using the newer 2.5 versions of Blender to use OpenGL commands in their postDraw or preDraw (it wouldn’t be in the world, just above or below). What are you trying to do, though? I can’t really think of a reason that you would need to draw polygons in realtime.