打開3D Explorer,安裝
存cpp檔
選Sample APP
----------------------------------------------------------------------------------
1.將gundam.cpp加進OpenGL專案裡
(gundam圖片要加進專案資料夾裡)
2.加#define GL_BGRA_EXT 0x80E1
#define GL_BGR_EXT 0x80E0
3.將Palette註解掉
加glScalef( 3, 3, 3);
glRotatef(nAngle, 0, 1, 0);
----------------------------------------------------------------------------------







沒有留言:
張貼留言