以下代码演示与Nehe教程第九课中一样的效果。第十课中三维的暂不实现。主要使用纹理贴图相关方面知识。
WStar.h
WStar.cpp
wglwidget.h
wglwidget.cpp
程序运行效果如图:
以下代码演示与Nehe教程第九课中一样的效果。第十课中三维的暂不实现。主要使用纹理贴图相关方面知识。
WStar.h
WStar.cpp
wglwidget.h
wglwidget.cpp
程序运行效果如图: