作者liamgallager (絕對可能)
看板Digital_Art
標題[ 3D ] 關於用軟體把3D物件轉成openGL語法
時間Tue Sep 23 22:18:09 2008
使用軟體:Deep Exploration
版本:5
附加使用軟體:Dev C++ openGL
問題描述:
各位大大好
小弟我使用了deep exploration這套軟體來把.3ds檔轉成openGL的語法
它可以把物件轉成可以compile過後執行的語法
介紹如下
Sample/Complete App. You can compile this text without changes and execute
the compiled .exe file. As a result you see an Open GL Window with rotated 3D
objects. Textures are loaded and handled properly.
可是小弟在compile過後出現了錯誤訊息
In function `BOOL ScaleImage(DIB2D&, GLTXTLOAD&)':
508 `GL_BGR_EXT' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it
appears in.)
514 `GL_BGRA_EXT' undeclared (first use this function)
In function `void SetDCPixelFormat(HWND__*, HDC__*)':
821 non-lvalue in assignment
1005:3 [Warning] no newline at end of file
請問各位大大有什麼方法可以解決嗎?
在這邊附上我的檔案
http://0rz.tw/2a4O6
這是使用deep exploration轉完之後的.cpp檔跟其他所有的東西
謝謝大家:-)
已嘗試過方式: 之前有大大說把_EXT拿掉不過試過還是不行QQ
爬文(Google)?Y
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.116.7.90