azure-remote-rendering-asse.../README.md

82 строки
4.0 KiB
Markdown
Исходник Обычный вид История

---
2021-12-23 19:44:35 +03:00
title: Azure Remote Rendering Toolkit
description: Azure Remote Rendering Toolkit welcome page
author: jakras
ms.author: jakras
2022-06-07 16:56:40 +03:00
ms.date: 06/07/2022
ms.topic: article
---
2020-02-04 01:25:23 +03:00
2021-12-23 19:44:35 +03:00
# Azure Remote Rendering Toolkit (ARRT)
2021-12-23 19:44:35 +03:00
![ARRT main image](Documentation/media/ARRT.png)
2021-12-23 19:44:35 +03:00
Azure Remote Rendering Toolkit (ARRT) is a desktop application developed in C++/Qt that demonstrates how to use [Azure Remote Rendering](https://docs.microsoft.com/azure/remote-rendering) (ARR). It can be used to:
2021-12-23 19:44:35 +03:00
* Upload files to Azure Storage
* Convert models for Azure Remote Rendering
* Create remote rendering sessions
* Preview remotely rendered 3D models
2021-11-11 19:19:00 +03:00
* Modify its materials
2021-12-23 19:44:35 +03:00
* See basic performance statistics
2021-12-23 19:44:35 +03:00
ARRT is meant as a sample application for how to integrate Azure Remote Rendering into C++ applications. However, regardless of how you intend to use remote rendering, ARRT can always be used to get basic file upload, conversion and preview tasks done.
2021-12-23 19:44:35 +03:00
## General prerequisites
2021-12-23 19:44:35 +03:00
To use ARRT, you need a working remote rendering account. [Create an ARR account](https://docs.microsoft.com/azure/remote-rendering/how-tos/create-an-account) if you don't have one yet.
2021-12-23 19:44:35 +03:00
You should be familiar with the following ARR concepts:
* [Sessions](https://docs.microsoft.com/azure/remote-rendering/concepts/sessions)
* [Models](https://docs.microsoft.com/azure/remote-rendering/concepts/models)
* [Model conversion](https://docs.microsoft.com/azure/remote-rendering/how-tos/conversion/model-conversion)
2021-12-23 19:44:35 +03:00
## Prebuilt binaries
2021-12-23 19:44:35 +03:00
Prebuilt ARRT binaries [can be found here](https://github.com/Azure/azure-remote-rendering-asset-tool/releases).
> **Important:**
>
2021-12-23 19:44:35 +03:00
> If running ARRT fails due to a missing DLL (`VCRUNTIME140_* dll`), please install the latest Visual C++ redistributable from [the Visual Studio download page](https://visualstudio.microsoft.com/downloads/) or using [this direct link](https://aka.ms/vs/16/release/VC_redist.x64.exe)
2021-11-11 19:19:00 +03:00
## Building ARRT
### Prerequisites
2021-11-11 19:19:00 +03:00
* [Visual studio 2019 or 2022](https://visualstudio.microsoft.com/downloads).
2022-01-14 19:52:06 +03:00
* [Qt 6.2.0 or newer](https://www.qt.io/download-qt-installer). Use the default installation options.
* Set the `Qt6_DIR` environment variable (e.g. to `C:\Qt6\6.2.2\msvc2019_64`).
2021-12-23 19:44:35 +03:00
* [CMake](https://cmake.org/download).
* Make sure *cmake.exe* is in the `PATH` environment variable.
2021-11-11 19:19:00 +03:00
* [Command-line NuGet](https://www.nuget.org/downloads).
2021-12-23 19:44:35 +03:00
* Make sure *nuget.exe* is in the `PATH` environment variable.
2021-11-11 19:19:00 +03:00
* HEVC driver. See the [ARR system requirements](https://docs.microsoft.com/azure/remote-rendering/overview/system-requirements) for details.
### Building
2021-12-23 19:44:35 +03:00
1. Clone this repository
1. Open a command line terminal
1. From the repository's root directory, run the script `GenerateSolution.bat`
* The script will run CMake and generate a Visual Studio solution in the **Workspace** sub-folder
* To create the solution in a custom directory or with Visual Studio 2022, run: `GenerateSolution.bat path/to/dir vs2022`
2021-12-23 19:44:35 +03:00
1. Open and compile the generated solution
## Documentation
* [ARRT User Documentation](Documentation/index.md)
## Contributing
2020-02-04 01:25:23 +03:00
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
2020-02-04 01:25:23 +03:00
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.