討論串[問題] openGL glDrawPixels 使用問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我將大小設為301*301結果如下. http://www.badongo.com/cn/pic/9362092. 我是用BCB寫的. 是將圖片用. Image1->Picture->LoadFromFile(OpenPictureDialog1->FileName);. 在用矩陣把RGB分別存起來
(還有178個字)
內容預覽:
GLubyte bmp[300][300][3];. for(int y=0;y<300;y++){. for(int x=0;x<300;x++){. bmp[x][y][0] = r[y][x];. bmp[x][y][1] = g[y][x];. bmp[x][y][2] = b[y][x];
(還有150個字)
首頁
上一頁
1
下一頁
尾頁