项目一:建筑可视化(ArchViz)
Further in this section we are going to work with the project template (a pre-arranged interior ArchViz scene), review the ways of solving common problems, and gradually add new functionality to the project.在本节后续内容中,我们将基于预制模板(预先布置好的建筑可视化室内场景)展开实践,探讨常见问题的解决方案,并逐步为项目添加新功能。
The project is packaged and provided as an add-on, so we will need to download the add-on from the UNIGINE Add-On Store and add it to a new empty project. This should be done as follows:该项目以插件包形式提供,需从 UNIGINE Add-On Store 下载并添加到新建的空项目中。具体操作步骤如下:
- Create a new empty C++ project. Open the SDK Browser, go to the My Projects tab, and click the Create New button.创建 C++空项目:打开SDK浏览器,进入 My Projects(我的项目)标签页,并点击 Create New(创建新项目)按钮。
-
In the window that opens, be sure to select C++ (Visual Studio 2015+) from the API + IDE list and click Create New Project.在弹出窗口中务必从API + IDE列表选择C++ (Visual Studio 2015+),然后点击 Create New Project(创建新项目)。
-
Once the new project is created, it will appear on the My Projects tab. Click Open Editor under the created project to open it in UnigineEditor.项目创建完成后将显示在 My Projects(我的项目)列表中。点击对应项目下的 Open Editor(打开编辑器)按钮启动UnigineEditor。
- Go to store.unigine.com and log in using your username and password.访问store.unigine.com并使用账号登录。
-
In the search box, type course projects, press Enter, and select the UNIGINE Starter Course Projects in the list of results.搜索栏输入course projects并回车。在结果列表中选择UNIGINE Starter Course Projects(UNIGINE入门课程项目)。
-
Go to the add-on page and click Download.进入插件页面点击Download(下载)。
- After downloading, open the directory where the add-in file was downloaded.下载完成后打开插件文件所在目录。
- Drag the *.upackage file of your add-on into the data/ folder in the Asset Browser window.将*.upackage文件拖拽至资源浏览器的data/文件夹。
- In the Package Manager window, select the data/archviz folder, click Import Package and wait for the import process to complete.在包管理器窗口选择data/archviz文件夹,点击 Import Package(导入包)并等待完成。
Now all the required content is added to the project and we can start working.至此所有必需内容已添加至项目,可以开始正式开发工作。
本页面上的信息适用于 UNIGINE 2.20 SDK.