2021年4月7日 星期三

【】week07 texture【】


跟別人連線(別人是紅色、自己是黑色)

點對應的點(箭頭)、程式部分對應的點(數字)

在用OpenCV之前要設定
圖片要放在freeglut\bin裡


init程式複製老師的(https://hackmd.io/@jsyeh/opengl)、其他複製自己以前的

背景有圖(跟茶壺同一個圖)

圓球會自動轉

沒有留言:

張貼留言

距地表面160 Week11

 #include "glm.h" GLMmodel* pmodel = NULL; void drawmodel(void) {     if (!pmodel) { pmodel = glmReadOBJ("data/porsche.obj...