https://github.com/gpuopen-librariesandsdks/renderstudiokit
https://github.com/gpuopen-librariesandsdks/renderstudiokit
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gpuopen-librariesandsdks/renderstudiokit
- Owner: GPUOpen-LibrariesAndSDKs
- License: apache-2.0
- Created: 2023-11-24T10:03:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T13:45:07.000Z (about 2 years ago)
- Last Synced: 2025-07-08T06:14:11.894Z (12 months ago)
- Language: C++
- Size: 559 KB
- Stars: 37
- Watchers: 12
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AMD RenderStudio Kit
This repo contains all required methods to integrate USD software into AMD RenderStudio ecosystem
## Quick start
### Build OpenUSD
```bash
cd OpenUSD
python build_scripts\build_usd.py --openimageio --materialx --src Downloads --build Build Install --build-args "boost, --with-log"
```
### Build RenderStudioKit
```bash
cd RenderStudioKit
cmake -B Build -DCMAKE_PREFIX_PATH= -DCMAKE_INSTALL_PREFIX=
cmake --build Build --config Release
```
## Build overview
### Dependencies
```bash
pip3 install -r Workspace/requirements.txt
```
> Please note CMake would install pip requirements during build by default. Consider use WITH_PYTHON_DEPENDENCIES_INSTALL option to disable this.
### CMake options
```bash
WITH_SHARED_WORKSPACE_SUPPORT [ON] - Enables shared workspace feature. Requires pyinstaller to be installed
WITH_PYTHON_DEPENDENCIES_INSTALL [ON] - Enables automatic install for all build requirements for Python
USD_LOCATION [""] - Here CMAKE_INSTALL_PREFIX of USD build should be passed
```
## Deployment
### Prepare directories on remote
```bash
sudo mkdir -p /opt/rs/ && sudo chown $(whoami) /opt/rs
sudo mkdir -p "/var/lib/AMD/AMD RenderStudio/" && sudo chown $(whoami) "/var/lib/AMD/AMD RenderStudio/"
```
### Deploy from builder
- Set **studio** remote in ~/.ssh/config
```bash
make -C Kit/Tools/ deploy
```
### Nginx config sample
```bash
server {
# Redirect workspace requests to RenderStudioWorkspace
location /workspace/ {
proxy_pass http://127.0.0.1:52700;
}
# Redirect live requests to RenderStudioServer
location /workspace/live/ {
proxy_pass http://127.0.0.1:52702/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
```
## Running
### Launch server
```bash
/opt/rs/RenderStudioServer/Run.sh
```