1 Star 4 Fork 3

Future World Laboratory / fwlab

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 3.40 KB
一键复制 编辑 原始数据 按行查看 历史
tengge1 提交于 2022-03-21 20:24 . 修改说明文件

fwlab

fwlab是一个人工智能实验室。

技术栈:C/C++、OpenGL、imgui、SDL2、filament、bullet3、OCCT、Tensorflow。

image

主要功能

  • 三维编辑
    • 三维建模
    • 场景搭建
    • 物理引擎
  • 机器狗训练
    • 动作训练
    • 视觉训练
    • 听觉训练
  • 人形机器人训练
    • 语言训练
  • 模拟生物进化
    • 基因编码
    • 外形进化

使用Windows编译项目

推荐在Windows上编译项目,使用Ubuntu编译参考docs/BUILD.md。编译调试版大约需要25G磁盘空间。

  1. 下载项目。
git clone https://gitee.com/fwlab/fwlab.git
cd fwlab
git submodule update --init
  1. 安装以下软件:

Visual Studio 2019, 安装时选中使用C++的桌面开发。

  1. 配置filamentbullet3OCCTfwlab项目。

根据需要,双击config/debug.cmdconfig/release.cmd,将项目配置成调试版或发行版。

  1. 编译filament项目。

使用Visual Studio 2019打开目录third_party/filament

右键CMakeLists.txt,选择生成。

右键CMakeLists.txt,选择安装。

将目录third_party/filament/out/install/bin添加到环境变量,保证cmgenmatcresgen能在命令行运行。

  1. 编译bullet3项目。

使用Visual Studio 2019打开目录third_party/bullet3

右键CMakeLists.txt,选择生成。

右键CMakeLists.txt,选择安装。

  1. 编译tcl项目。(暂时不需要)

在开始菜单中,打开Developer Command Prompt for VS 2019工具,切换到目录third_party/tcl/win,执行以下代码。

nmake -f makefile.vc
  1. 编译OCCT项目。(暂时不需要)

使用Visual Studio 2019打开目录third_party/OCCT

右键CMakeLists.txt,选择生成。

右键CMakeLists.txt,选择安装。

将目录third_party/OCCT/out/install/win64/vc14/bind添加到环境变量。

  1. 编译fwlab项目。

使用Visual Studio 2019打开项目根目录fwlab

右键CMakeLists.txt,选择生成,生成的文件是out/build/fwlab.exe

工具栏设置启动项为out/build/fwlab.exe,点击fwlab.exe启动程序。

右键CMakeLists.txt,选择安装,可以将所需文件安装到目录out/install

参考文档

C/C++: https://www.cplusplus.com/reference/

OpenGL: https://www.khronos.org/registry/OpenGL-Refpages/

imgui: https://imgui-test.readthedocs.io/en/latest/

SDL2: https://wiki.libsdl.org/

filament: https://google.github.io/filament/

bullet3: https://github.com/bulletphysics/bullet3/raw/master/docs/Bullet_User_Manual.pdf

OCCT: https://documentation.help/Open-Cascade/occt__tutorial.html

OCCT: https://dev.opencascade.org/doc/overview/html/index.html

Tensorflow: https://tensorflow.google.cn/api_docs/cc

Tcl/Tk: http://www.tcl.tk/doc/

授权

fwlab: MIT License

imgui: MIT License

SDL2: Zlib License

filament: Apache-2.0 License

bullet3: Zlib License

OCCT: LGPL-2.1 License

tensorflow: Apache-2.0 License

rapidjson: MIT License

开源项目

感谢以下开源项目:

imgui: https://github.com/ocornut/imgui

SDL2: http://www.libsdl.org/

filament: https://github.com/google/filament

bullet3: https://github.com/bulletphysics/bullet3

OCCT: https://github.com/Open-Cascade-SAS/OCCT

tensorflow: https://github.com/tensorflow/tensorflow

rapidjson: https://github.com/Tencent/rapidjson

tclsh: http://www.tcl.tk/software/tcltk/downloadnow85.html

C/C++
1
https://gitee.com/fwlab/fwlab.git
git@gitee.com:fwlab/fwlab.git
fwlab
fwlab
fwlab
master

搜索帮助