[PyOpenGL-Users] Problems with simple pyopengl program
Brought to you by:
mcfletch
From: James G. <ja...@ja...> - 2012-02-23 00:48:26
|
Hi everyone, I'm trying to get a very very simple pass-through shader to work in pyopengl. I compiled and tested a simple C program, available here: http://pastebin.com/FGVxUUXH This program works exactly as expected -- a red plane is drawn, completely covering the screen. I tried to make the *exact* duplicate of this C program here: http://pastebin.com/dYbbXTY1 This apparently does not work. Only the gray glClear color is displayed, and the two triangles are never drawn. Any insight into why this isn't working? -James |