2022年2月22日 星期二

week01

 week01

下載軟體





1.File > New > Project, 選 OpenGL 專案









2.先按... 選擇專案儲存的地方,路徑選桌面



3. 按兩次下一步後完成建立專案  , 按Bulid&Run , 就可以看到彩色旋轉的三角形











GLUT專案

1.moodle下載freeglut壓縮檔,並解壓縮

2.將桌面目錄freeglut中lib的資料夾新增一個libglut32.a的檔案










3.建立一個GLUT  Project




4.按Build&Run,按+ - 可以調整精細程度












將檔案上傳至GitHub

1.開啟 Git Bash 

2..cd desktop 進入桌面  

3.git clone https://github.com/ray/2022graphics1   

4.cd 2022graphics1   

5.將兩個目錄放進2022graphics1

5.git status 看狀態

6.加 git add   

7.git status 再看狀態

推送上雲端

1.git commit  

2.git config -- global user.email "09160986@me.mcu.edu.tw"

3.git config --global user.name "ray"(第一次使用時)

4.git commit -m

git push(送上雲端) 



沒有留言:

張貼留言

VERY BEAUTIFUL, VERY POWERFUL

一.     一樣先安裝且設定好freeglut,OpecCV, 開啟CodeBlocks建立新專案 week11_gundam,                 把 MyGundam.zip下載解壓縮後的data資料夾放到freeglut/bin裡面 把week09_openc...