第一個OPENGL程式
1.安裝Codeblocks
2.File/New/Project/OpenGL專案
3.在[...]的目錄中點選<桌面>
4.完成後,Build&Run,會看到旋轉的彩色三角形
第一個GLUT專案
1.Moodle下載freelut
2.解壓縮 桌面 freeglut 目錄
3.桌面的freeglut 裡的 lib 裡面的 libfreeglut.a 複製並改成libgult32.a
4.Fild/New/Project/GLUT
1.登入 Github
2.Repositories 新增專案倉庫
4.到 Moodle 安裝 Git for windows 後開啟 Git Bash
-cd desktop 進入桌面
-git clone https://github.com/MCUYeeZhiHua/2022graphics1
5.這時桌面會新增<2022graphics1>資料夾,把2個程式檔案夾放進
-git status 看狀態(會看到紅色2個目錄)
6.推送上雲端,要先有 commit 的動作,第一次使用時,需
-git config --global user.email "09160501@me.mcu.edu.tw"
-git config --global user.name "MCUYeeZhiHua"
-git commit -m"add week01"
沒有留言:
張貼留言