2019年2月21日 星期四

電腦圖學 Week01


電腦圖學

2019-02-21 Week01

(1) 課程FB、座位表、Blog、計分
(2) Q: 這門課學什麼?
(3) 第一個OpenGL程式


利用CodeBlocks 開openGL專案
步驟:
1.打開codeblocks>>file>>

new>>project>>OpenGL project
2.跳出視窗,按next>>打上project title

更改儲存位置>>按next>>按finish
3.按左邊部分的檔案

按下build and run
                                                     課堂作業(一)

                                課堂作業(二)
                          利用CodeBlocks 開GLUT專案


(4) 第一個GLUT程式



1.先到freeglut下載檔案


2.將其解壓縮,將lib中的檔案複製並且改檔名

在lib中複製libfreeglut.a成libglut32.a

3.開啟codeblocks>>file>>new>>project>>glut project

4.按next>>打上project title>>按next>>

儲存位置在C:\Users\user\Desktop\freeglut

5.按build and run



沒有留言:

張貼留言