Hi all,

I am trying to use PyOpenGL for off-screen rendering (generating pictures), AFAIK, OSMesa is the easy (only?) way for this.

I tried to access OSMesa from python via ctypes, the functions in OSMesa can be called, but PyOpenGL can not use OSMesaContext, I guess the problem is my PyOpenGL (from ubuntu rep) was not build on mesa.

So, my question is how to build PyOpenGL on OSMesa, since I didn't find any instruction for configuring building.

Thanks in advance!

Best Regards,

Xu, Yuan