Description: This procedure use OpenGL to achieve prism, hexahedron, and dodecahedron drawing, rotate and zoom functions, but also the way to deal with light and projector settings.
File list (Check if you may need any files):
OpGL
....\Debug
....\.....\MainFrm.obj
....\.....\MainFrm.sbr
....\.....\MFC42D.DLL
....\.....\MFCO42D.DLL
....\.....\MSVCRTD.DLL
....\.....\OpenGL.obj
....\.....\OpenGL.sbr
....\.....\OpenGLDemo.bsc
....\.....\OpenGLDemo.exe
....\.....\OpenGLDemo.ilk
....\.....\OpenGLDemo.obj
....\.....\OpenGLDemo.pch
....\.....\OpenGLDemo.pdb
....\.....\OpenGLDemo.res
....\.....\OpenGLDemo.sbr
....\.....\OpenGLDemoDoc.obj
....\.....\OpenGLDemoDoc.sbr
....\.....\OpenGLDemoView.obj
....\.....\OpenGLDemoView.sbr
....\.....\OpenGLView.obj
....\.....\OpenGLView.sbr
....\.....\StdAfx.obj
....\.....\StdAfx.sbr
....\.....\vc60.idb
....\.....\vc60.pdb
....\MainFrm.cpp
....\MainFrm.h
....\OpenGL.cpp
....\OpenGL.h
....\OpenGLAuxLibrary.txt
....\OpenGLDemo.clw
....\OpenGLDemo.cpp
....\OpenGLDemo.dsp
....\OpenGLDemo.dsw
....\OpenGLDemo.h
....\OpenGLDemo.ncb
....\OpenGLDemo.opt
....\OpenGLDemo.plg
....\OpenGLDemo.rc
....\OpenGLDemoDoc.cpp
....\OpenGLDemoDoc.h
....\OpenGLDemoView.cpp
....\OpenGLDemoView.h
....\OpenGLView.cpp
....\OpenGLView.h
....\ReadMe.txt
....\res
....\...\OpenGLDemo.rc2
....\Resource.h
....\StdAfx.cpp
....\StdAfx.h