Re: [ 3D ] 關於用軟體把3D物件轉成openGL語法
看板Digital_Art (影音圖片編輯)作者spinda (constant)時間17年前 (2008/09/23 22:32)推噓0(0推 0噓 0→)留言0則, 0人參與討論串2/2 (看更多)
我直接用 .net2003開啟你的project
compile沒出現error
也可以順利執行
你確定OpenGL的 *.lib, *.h, *.dll 等
都有放到正確的路徑底下嗎??
或是gl.h 以及glu.h都有在include的路徑??
※ 引述《liamgallager (絕對可能)》之銘言:
: 使用軟體: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: 218.167.198.74
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
Digital_Art 近期熱門文章
PTT數位生活區 即時熱門文章