在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):nfprojects/nfengine开源软件地址(OpenSource Url):https://github.com/nfprojects/nfengine开源编程语言(OpenSource Language):C++ 96.0%开源软件介绍(OpenSource Introduction):nfEngineThe main purpose of this project is to create an open-source, multi-platform, efficient and universal 3D game engine. At the moment the engine is in early development state. Detailed list of features can be found in a section below. More information (features, detailed descriptions, contribution rules, etc.) can be found on our Wiki page. Building the project - WindowsTo prepare your build environment, following requirements have to be met:
Visual Studio build To build the project, load main solution file in Visual Studio and build it as normal - build system will automatically pre-build dependencies on the first run. CMake build NOTE: This has only been tested using Visual Studio and might not work with other compilers (ex. MinGW). There is an experimental build system available which allows to build the Engine using generated Visual Studio project files on Windows. It was made mostly to accomodate coding with other editors with CMake integration plugins (ex. Visual Studio Code) and could be used as a replacement for project-delivered Solution file for older Visual Studio versions. Keep in mind, however, that older versions of VS might not work - the Engine is often upgraded to latest version in order to utilize new C++ features. Building using Visual Studio Code and CMake Tools plugin was tested and should work out-of-the-box. However, if you prefer to still use Visual Studio with this method, project files have to be manually generated via terminal or CMake GUI. Out-of-source build is the only supported way to build the project. Remember to specify which generator and architecture to use (only x64 builds are supported) - ex. in terminal (Git for Windows in this case):
This should create Visual Studio files which will compile both dependencies and the Engine. Build configuration (Debug or Release) can be chosen inside Visual Studio files. Building the project - LinuxRequirements:
NOTE: Building Linux version of the Engine on Windows using WSL has been tested and works with WSLv2 - WSL version 1 might work, but some tests will fail due to incompleteness of WSLv1. Out-of-source CMake build is the only supported way to build the project:
Changing build settings is done by defining CMake variables (all are optional):
To rebuild the entire project in one go, Scripts/rebuild-all.sh script is available, which works similarly to "Batch Build" feature in Visual Studio. The script will call cleaning script and build the engine in all configurations possible. Unlike Windows platform, due to conflicts between 32-bit and 64-bit versions of some packages, the Engine builds only in version which conforms Distros version. If you need to manually build (without cleaning) single configuration, Scripts/build.sh script can be used. It's only argument is build configuration and can be Debug or Release. Calling without argument assumes Release build. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论