This repo contains all required methods to integrate USD software into AMD RenderStudio ecosystem
cd OpenUSD
python build_scripts\build_usd.py --openimageio --materialx --src Downloads --build Build Install --build-args "boost, --with-log"
cd RenderStudioKit
cmake -B Build -DCMAKE_PREFIX_PATH=<OpenUSD> -DCMAKE_INSTALL_PREFIX=<OpenUSD>
cmake --build Build --config Release
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.
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
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/"
- Set studio remote in ~/.ssh/config
make -C Kit/Tools/ deploy
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";
}
}
/opt/rs/RenderStudioServer/Run.sh