Simple Test Program issues
Gerald Escobar <[email protected]>
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CANdj3e+jgu_HSFZT19ppzf9FZBKm4XAHE7=h=ijQtjVYtiWahg@mail.gmail.com> |
Hello, I'm trying to learn to use pyopengl in a more modern context (not relying on fixed function/deprecated functionality INCLUDING built-in vertex shader attributes) Here is my source: http://pastebin.com/fd7KQthA When I run the program I simply get a black screen instead of a white triangle. I'm not entirely sure what I am doing wrong however there I encountered quite a few problems whilst writing this code snippet 1) When trying to bind the buffer to an attribute I kept getting some sort of type error. So instead I resorted to passing the matrix straight 2) I'm not entirely sure about whether I'm multiplying the matricies correctly. I apologize if this question seems very broad, ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users