Week03
下載
https://jsyeh.org/3dcg10/
data > data.zip
win32 > windows.zip
glut32.dll > 按保留
解壓縮
windows.zip > 下載 > windows\Transformation.exe
data.zip > windows\data(解壓後的data拉去windows資料夾下)
↓
點選Transformation.exe
step01_用CodeBlocks 17.12 新增GLUT專案
-1
step02
-2
Github > new gist > week03 > week03.cpp
↓
點選Create secret gist
↓
HTML檢視
-3
step03
開新GLUT專案 > week03_mouse_homework
↓
只有按下mouse,才會在小黑印出點的程式。視窗大小 : 500*500
把頂點點出來,小黑顯示頂點資料 > 複製 > 貼到程式碼裡
-5
畫線*1
draw_the_line
-6
畫線*2
draw_the_second_line
-7
上傳Github
安裝Git GitBash
-cd desktop
-git clone https://github.com/Owoyayou/2023graphicsa
-cd 2023graphicsa
-start .
(打開2023graphicsa資料夾,把今日程式碼檔案放進來)
-git add .
-git status
(開啟檔案總管)
-git config --global user.email ______________
-git config --global user.name Owoyayou
-git commit -m "week03"
-git push














沒有留言:
張貼留言