<opengl>

step
1.開啟codeblocks>file>new>project>OpenGL project
2.視窗,按next>輸入project title和位置設定>finish
3.點擊management窗格的檔案main.c,執行build and run
<glut>

step
1.在瀏覽器搜尋freeglut windows 找到mingw下載
2.在lib內找到libfreeglut.a複製一個新的改成libglut32.a
3.打開codeblocks>file>new>project>glut project
4.在視窗輸入project title設定位置為C:\Users\user\Desktop\freeglut>finish
5.點擊management窗格的檔案main.cpp,執行build and run
<補充介紹>
webgl-water

沒有留言:
張貼留言