1 Star 0 Fork 22

eddylapis / E3D-Engine

forked from qyPan / E3D-Engine 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 3.20 KB
一键复制 编辑 原始数据 按行查看 历史
qyPan 提交于 2018-11-13 15:52 . No commit message

E3DEngine

github

  • 场景

  • 摄像机

  • 粒子系统

  • 天空盒

  • 文理序列帧

  • 材质

  • RenderToTexture

  • CubeMapTexture

  • 多FBO

  • 渲染合批

  • 模型读取和显示

  • 物理引擎使用Bullet

  • 使用Mono C#作为逻辑脚本

  • 平行光实时阴影

  • 场景管理

  • 骨骼动画

  • UI

  • 脚本系统完善

  • 鼠标拾取

渲染系统使用的OpenGL 及 OpenGL ES,Windows上OpenGL ES使用AMD的ES模拟器。

环境部署

Win32环境配置

  1. 编辑器
  • proj_win32/RenderSystem/gles_renderSystem/GLES/dll 中的dll文件拷贝到proj_win32/bin/Editor中。
  • proj_win32/RenderSystem/opengl_renderSystem/glew2.1.0/bin/Release/Win32 中的dll文件拷贝到proj_win32/bin/Editor中。
  • 打开proj_win32/E3DEditor.sln 设置E3DEditorWindow为启动项目,编译选项选择EditorRelease,编译Engine和Editor下的项目,运行E3DEditorWindow。
  1. WindowsPlayer
  • proj_win32/RenderSystem/gles_renderSystem/GLES/dll 中的dll文件拷贝到proj_win32/bin/WindowsPlayer中。
  • proj_win32/RenderSystem/opengl_renderSystem/glew2.1.0/bin/Release/Win32 中的dll文件拷贝到proj_win32/bin/WindowsPlayer中。
  • 打开proj_win32/E3DEngine.sln 设置WindowsPlayer为启动项目,编译选项选择Release/Debug,编译Engine和WindowsPlayer下的项目,运行WindowsPlayer,运行时需要项目资源,资源文件夹需要和exe文件在同级目录内,并取名为“App_Data”,或者从命令行给WindowsPlayer启动参数,启动参数为3个并用英文逗号分开,第一个参数是资源目录,第二个参数是编辑器的窗口句柄,此处可以不填,这个是为了从编辑器启动游戏后,游戏与编辑器相互通信用的,第三个参数是起始场景,也可以不填。

IOS 和 Android尚未完成

Mono C#代码调试方法

下载并安装 Xamarin Studio,在系统环境变量中添加 MONODEVELOP_SDB_TEST 值为 1, 打开MonoScriptManager.cpp 修改_DEBUG_CSHARP 为 1,启动程序,这时候程序会进入等待状态,不会显示出来, 接下来在Xamarin Studio中打开GameClient.CSharp\GameClient.CSharp.csproj,在Solution面板中右键项目从打开菜单中选择 “RunWith -> CustomConfiguration”, 窗口最下方RunAction处选择Debug-Custom Command Mono Soft Debugger,然后单击最右下方的Debug按钮, 打开新的窗口后,在IP一栏填入127.0.0.1 Port一栏填入 10000 点击Connect按钮。之前处于等待的程序会出现了,接下来就可以在Xamarin Studio中调试Mono C#代码了。

C++
1
https://gitee.com/eddylapis/E3D-Engine.git
git@gitee.com:eddylapis/E3D-Engine.git
eddylapis
E3D-Engine
E3D-Engine
master

搜索帮助