Official opengl is no good, >> i.e. don't do >>pip install pyopengl # it has no glut.dll inside, see https://block.arch.ethz.ch/blog/2016/10/pyopengl-glut-error/
Install the unofficial ones instead
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl to get the suitable .whl
in administrator anaconda>> pip install PyOpenGL-3.1.5-cp37-cp37m-win_amd64.whl
may also need
in administrator anaconda>> pip install PyOpenGL_accelerate-3.1.5-cp37-cp37m-win_amd64.whl
-------------------------------------------------------------------------------------------
Code examples:
https://codeloop.org/python-modern-opengl-rotating-the-cube/
http://carloluchessa.blogspot.com/2012/09/simple-viewer-in-pyopengl.html line 166 >> glutInitWindowPosition (0 + 4,round(g_Height/4)) #added by khw
https://gist.github.com/binarycrusader/5823716a1da5f0273504
---------------------------------------------------------------------------------------------
Glumpy : textured demo https://github.com/abinashmeher999/opengl-texture-mapping , https://github.com/glumpy/glumpy-data/tree/master/Images, can add texture images, place them in C:\Users\khwong\Anaconda3\Lib\site-packages\glumpy\data