2022年2月22日 星期二

電腦圖學課堂筆記Week01

OpenGL

1.安裝CodeBlocks0
2.New porject 選擇OpenGL
3.選擇桌面後跑build&run
4.最後會出現彩色三角形
w1-GLUT

1.安裝freegult

2.把桌面freegult的lib裡面有libfreeglut.a複製,改成libglut32.a 

3.Codeblocks選File-New-Project,選GLUT

4.選擇桌面後跑build&run



Github

1.new

2.PUBLIC,ADD README,ADD .gitinore 選C++

3.安裝Git

4.開啟Git Bash

4.1 cd desktop 

4.2 git clone https://網址

4.3 cd 2022graphics1

複製
5.1 git clone 網址

5.2 cd 2022graphics

5.3 2個程式目錄放到2022graphics

5.4 git status 看狀態

5.5 git add . 加入

5.6 git status 再看狀態(變色)

5.7 git config --global user.email "email"

5.8 git config --global user.name "名字"

5.9 git commit -m "訊息"

5.10 git push 送上雲端 開啟瀏覽器確認 






沒有留言:

張貼留言

VERY BEAUTIFUL, VERY POWERFUL

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