2017年9月14日 星期四

蒲立年的學習筆記 Week 01

第一個openGL作業開始喽~

Step 1: 開啟code blocks











Step 2: 點選左上角file>new>project


Step 3: 選擇openGL project


Step 4: 按next


Step 5: 選擇儲存路徑,輸入檔名


Step 6: 按下finish


Step 7: 從左側management打開程式碼


Step 8: 按下F9,完成!!




Part 2
利用Freeglut製作我的第一個3D圖像

Step 1: 點選file->new->project


Step 2: 選擇glut project


Step3 : 點選next


Step 4: 選擇路徑及檔案名稱


Step 5: 選擇glut位置


Step 6: 打開freeglut資料夾


Step 7: 打開lib資料夾


Step 8: 複製一份libfreeglut.a檔案將其名稱改為libglut32.a



Step 9: 回到code blocks點選next->finish


Step 10: 從左方management->projects打開程式碼


Step 11: 按下F9(built and run)


=>完成!!

沒有留言:

張貼留言