Pixyz SDK docker image
General information
Pixyz SDK and the technology in general are Cloud-Ready
. Unity Cloud is currently relying on Pixyz-based image dockers for its automatic CAD and 3D transformation pipelines: thumbnail generation, GLB web-previews, metadata extraction, auto-magic conversion, 3D Data Streaming ... and more.
As a standalone toolkit, Pixyz SDK is available for On-Premise (local) or VPC deployments for Unity external customers unable to leverage Unity Cloud online services.
Getting started
Get the SDK docker container
docker pull pixyzinc/sdk:2024.2.0.52
Install license
The license must be mounted to /usr/share/PixyzSDK/licenses/pixyz.lic
for the container to run.
To use with a floating license server, create the pixyz.lic
file with the following content:
<?xml version="1.0" encoding="utf-8" ?>
<license product="PixyzSdk">
<floatting>True</floatting>
<server>
<port>27000</port>
<host>##YOUR_SERVER_IP_OR_HOSTNAME###</host>
<flexLM>True</flexLM>
</server>
</license>
GPU requirement
Some Pixyz algorythms require a GPU to run:
- screenshot (Only a display with GPU)
- hidden removal, backing, all displays functions
and must be allocated to the container if you intend to use them.
| Only NVidia GPU are supported.
Run your first script locally
The pixyz sdk is located at /opt/pixyz
in the container.
Its entrypoint is designed to automatically initialize Pixyz SDK and run the provided python script path.
export LIC_FILE=/path/to/your/pixyz.lic
export FILES_DIR=/path/to/your/cad_files
export SCRIPTS_DIR=/path/to/your/dataprep_scripts
docker run \
-d --rm \
--name=pixyz_sdk \
--runtime=nvidia \
--gpus all \
-e NVIDIA_VISIBLE_DEVICES=all \
-e NVIDIA_DRIVER_CAPABILITIES=all \
-e DISPLAY=$DISPLAY \
-v /usr/share/vulkan/icd.d/nvidia_icd.json:/usr/share/vulkan/icd.d/nvidia_icd.json \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $LIC_FILE:/usr/share/PixyzSDK/licenses/pixyz.lic:ro \
-v $FILES_DIR:/files \
-v $SCRIPTS_DIR:/scripts \
pixyzinc/sdk:2024.2.0.52 /scripts/myconvertionscript.py /files/myfiletoconvert.obj
Running in the cloud
The Pixyz SDK Docker container is compatible with all cloud providers.
When running with Kubernetes with GPU:
- the NVidia drivers must be provided on the node
- the NVidia daemonset must be deployed (ex on Azure)
Unity Cloud Transformations and Asset Manager
Subscribe now on Unity3D.com