看看 ogre(ogre 1.x)与ogre-next (ogre 2.x)的区别
What version to choose? | OGRE - Open Source 3D Graphics Engine (ogre3d.org)
大致意思是ogre next的性能更高,更前沿的技术,更加精简,支持VR。但是文档少。
相较于ogre 1.x,ogre next的内容更加吸引我。所以,接下来的重点会放在 ogre-next 上。
下载:
按照官网的介绍,不能使用 “Download” Download OGRE-next
需要使用 git clone
git clone --recurse-submodules --shallow-submodules https://github.com/OGRECave/ogre-next-deps
git clone --branch v2-1 https://github.com/OGRECave/ogre-next
另外,shaderc 还需要 python 3.x。
下载完所需内容后,先编译 deps。
老规矩,使用cmake,vs打开工程,编译,install。deps的安装通过 CMAKE_INSTALL_PREFIX 指定。
编译完deps,编译 ogre-next,设置 deps 路径,与上面的相同。
编译,运行。
完成。
看看解决方案,很多sample,多了很多Sample-Tutorial,可是少了文件夹,项目一大堆。
与1.x 相比,多了很多新的东西。
根据官网的描述,ogre-next与ogre不兼容,那么就不拿它与ogre比了。
文档不多,无妨,之前ogre的学习也较少利用文档。所以,暂时忘记ogre1.x,直接从零开始学习ogre-next。