如何使用 Flash 展現遊戲 3D 模組?

看板Flash作者 (statue)時間16年前 (2008/01/28 10:53), 編輯推噓2(206)
留言8則, 3人參與, 最新討論串1/1
最近在魔獸世界的網站發現一個應用,把遊戲模組弄到 Flash 內觀看。 http://www.wowhead.com/?item=30311 點 New! View 3D model (BETA) 在魔獸世界中,他所使用的模組是 MDX(.m2) 檔案,但是又不跟標準的 MDX 相同, 是有修改過的,目前已知的結構大概如下面這個網頁: http://wowdev.org/wiki/index.php/M2 wowmodelview 可以觀看魔獸世界的模組,但是他使用了: WoW Model View: http://www.wowmodelviewer.org/ WoW model viewer uses wxWidgets(2.8.0), OpenGL, zlib, CxImage(5.99c), MPQLib, DDSLib, GLEW(1.3.3) cximage http://www.xdp.it/cximage.htm CxImage is a C++ class that can load, save, display, transform images in a very simple and fast way. CxImage is open source and licensed under the zlib license. In a nutshell, this means that you can use the code however you wish, as long as you don't claim it as your own. glew http://glew.sourceforge.net/ The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris. 我想問的是把 MDX(.m2) 弄到 Flash 中該怎麼弄會比較好? 目前 Flash 支援哪些 3D 模組的 VR 展示? 我大概找了些資料,不過由於對 Flash 是新手,只會弄 Flash XML 之類的留言板, 目前看到的 VR 是由 QuickTime VR 所展示的,是否有其他展示 VR 的技術可以參考? 3d-rotate 用 QuickTime VR 做 3D VR http://www.yofla.com/flash/3d-rotate/ MDX 的範例檔案在下面連結的 Shivan.zip 1.38MB http://wowbox.tw/bbs/viewtopic.php?f=35&t=4803 我試著用 http://www.milkshape3d.com/ 裡面的 MD2 Viewer 開啟可是失敗, 不過他有附 Source Code 可以參考。 目前的規劃是先從已經有 Source Code 的 WoW Model View 下去看他如何處理 .m2, 但是 VR 展現的部分還需要 Flash 專家協助。 在這個網站中也提到把 MilkShape 轉成 3DS,我想 3DS 應該是 MD2 的下一代。 http://www.wowmodelviewer.org/forum/index.php?topic=1677.0 http://en.wikipedia.org/wiki/MilkShape_3D 有辦法讓 Flash 直接展示 3DS VR 嗎? 希望能找到一些參考文件或是有興趣的人能幫忙。 -- 水晶之刺 <Seeing Space> 不死族 牧師 Alfred 艾佛列的魔獸藏寶箱: http://wowbox.tw/ 我還在期待有一天,每個任務下面都有人會分享任務心得,每個副本首領下面 都會有人分享攻略心得。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.68.123.220

01/28 11:16, , 1F
OMG 是 statue <O> 差點又要未看先推
01/28 11:16, 1F

01/29 01:31, , 2F
我記得以前有看過一些.3ds轉AS3 model資料的API
01/29 01:31, 2F

01/29 01:31, , 3F
不過都不穩定,畢竟那些都是一些個人小project
01/29 01:31, 3F

01/29 01:32, , 4F
像是PV3D和Sandy這些比較穩定的大3D Flash engine
01/29 01:32, 4F

01/29 01:32, , 5F
目前穩定版本都吃.ase和.dae,看你有沒有辦法轉檔吧
01/29 01:32, 5F

01/29 01:33, , 6F
另外也看過可以吃Quake I~III模型的,不過也是一堆bug
01/29 01:33, 6F

01/29 01:34, , 7F
另外PV3D 2.0 alpha吃的.dae可以把模型動畫資料也讀進來
01/29 01:34, 7F

01/29 17:28, , 8F
感謝提供方向!~
01/29 17:28, 8F
文章代碼(AID): #17dKEEUc (Flash)