2018年1月11日 星期四
2017年12月14日 星期四
2017年12月7日 星期四
2017年11月30日 星期四
2017年11月23日 星期四
2017年11月9日 星期四
2017年11月2日 星期四
林韋廷的學習筆記week08
1. 下載opencv
2. path選2or3
3. 開啟console專案(選C++)
4. 改專案build option
->compiler設定路徑為opencv(第一步安裝的)中的include
->linker設定路徑為opencv中的lib
5.加入link library(cv210,cxcore210,highgui210)
6.照第一張圖的程式碼(earth.jpg為網路所載的圖,放在專案資料夾中)
7.其執行結果如第二張圖
建立glut專案
方法跟上面步驟一樣
將圖片放在freeglut/bin中
程式碼加在main中,cvwaitkey()刪掉或註解掉
以上可讓地球旋轉
2017年10月26日 星期四
week07 林韋廷的學習筆記
2017年10月19日 星期四
2017年10月12日 星期四
week05 林韋廷的學習筆記
glu Perspective(fovy, aspect , zNear , zFar)
視野 y/x比例
glOrtho(左, 右, 下, 上, 近, 遠)
glFrustum(左, 右, 下, 上, 近, 遠)
glLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ,upX, upY,upZ)
2017年10月5日 星期四
林韋廷的學習筆記week04
glut專案
glsolid....圖形
glTranslated(f) (x,y,z) 移動
glRotated(f) (角度,x,y,z) 旋轉
軸
右手座標系統
glScaled(f) (x,y,z) 調整大小
2017年9月28日 星期四
2017年9月21日 星期四
week02 林韋廷的學習筆記
2017年9月14日 星期四
訂閱:
文章 (Atom)



































