This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2.7 | |
"""Quick hack of 'modern' OpenGL example using pysdl2 and pyopengl | |
that shows a textured triangle; assumes there is a 'hazard.png' image | |
file in working directory. | |
Based on: | |
pysdl2 OpenGL example | |
http://www.tomdalling.com/blog/modern-opengl/02-textures/ | |
http://www.arcsynthesis.org/gltut/Basics/Tut02%20Vertex%20Attributes.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2.7 | |
"""Quick hack of 'modern' OpenGL example using pysdl2 and pyopengl | |
Based on | |
pysdl2 OpenGL example | |
http://www.arcsynthesis.org/gltut/Basics/Tut02%20Vertex%20Attributes.html | |
http://schi.iteye.com/blog/1969710 | |
""" | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(These notes are written assuming I've forgotten everything and are intended for | |
those not used to Windows development, so please don't take offence at the | |
seemingly obvious.) | |
Steps I used to compile gzdoom (current master branch) on Windows 8.1 Pro (this | |
assumes you've already downloaded and installed Visual Studio; I used Visual | |
Studio 2013 Express Desktop): | |
1) Download and install DirectX June 2010 SDK (use your own version at your | |
own risk, it may cause build failures) to default location: |