[ 3D ] 關於用軟體把3D物件轉成openGL語法
看板Digital_Art (影音圖片編輯)作者liamgallager (絕對可能)時間17年前 (2008/09/23 22:18)推噓0(0推 0噓 0→)留言0則, 0人參與討論串1/2 (看更多)
使用軟體: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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Digital_Art 近期熱門文章
PTT數位生活區 即時熱門文章