項目需要找一個開源3D渲染引擎,由於不是開發游戲,所以對各種炫酷效果沒有要求,對編輯器也暫時沒有需求。
對目前的一些開源引擎進行了對比:
開源引擎
引擎名稱 | 網址 | Stars | Forks | 更新時間 |
---|---|---|---|---|
Ogre | https://github.com/OGRECave/ogre | 1.4k | 0.5k | 數天內 |
Godot | https://github.com/godotengine/godot | 26k | 5k | 數天內 |
GamePlay | https://github.com/gameplay3d/GamePlay | 2.9k | 1.1k | 4年前 |
Horder3D | https://github.com/horde3d/Horde3D | 0.8k | 0.2k | 2年前 |
Filament | https://github.com/google/filament | 8.1k | 0.5k | 數天內 |
Panda3D | https://github.com/panda3d/panda3d | 2k | 0.5k | 數天內 |
選型問題
1、是否有編輯器
Ogre/Godot有編輯器,可以直接用C#編輯場景。
其他都沒有編輯器,需要手寫場景。
2、學習資料、社區
Godot、ogre資料很多,社區很多。
GamePlay很久沒有更新了,Filament是很新的引擎,資料很少,幾乎查不到。
3、復雜度
GamePlay公司正在使用,容易學習。
Filament剛剛開始,源碼容易閱讀。
Godot已經非常復雜了,不容易全部閱讀、自定義修改了。
4、完善度
Godot有全局光、動畫效果等,filament幾乎都要自己實現。
在Filament和GamePlay中,兩者都提供轉換工具,將fbx等轉換為引擎可以識別的。但是Filament不支持fbx動畫,所以選擇了Gameplay。
Gameplay的集成
GitHub地址:https://github.com/gameplay3d/GamePlay
集成到Android里的demo地址:
https://github.com/Hujunjob/GamePlay
GamePlay3D 集成 Android
https://www.jianshu.com/p/c2eff71bcf20
作者:Lucky胡
鏈接:https://www.jianshu.com/p/8f4442bca0ac
來源:簡書
著作權歸作者所有。商業轉載請聯系作者獲得授權,非商業轉載請注明出處。