This is a collection of Rez packages to help download, build and deploy various applications and open source projects often used in the Film, VFX and Animation.
Note that this currently only includes packages for Windows see Different OS implementations
WIP
This is a work in progress repository under development. At this stage I would not recommend using these in production without thorough testing. However, creating tickets for any issues you're facing is very welcome.
- clone this repository.
cd
into the package you would like to build and install.rez build --install
to do a full install of that package.rez env {package}
to run an environment with that package, e.g.rez env maya
Note that some package will require additional packages to be available to rez
for building, see Missing required packages
Build from source, install precompiled libraries or reference packages
Some packages need to build from source (e.g. openexr
or zlib
) and in some cases we download precompiled binaries/installers (e.g. mtoa
or redshift
).
For other cases we only generate "reference packages" for applications we'll just have the Artist still install locally, this the case for DCCs like maya
, fusion
, houdini
.
- When building from source the generator is currently forced to build using
Visual Studio 15 2017 Win64
in therezbuild.py
scripts for the package, for example see here. - When
cmake
is available for the source we build and compile throughcmake
The reference packages reference the default installation locations for the applications and all the reference package does is set the relevant environment variables for the Application to run as expected.
Currently this repository contains only! rez-packages that build and distribute the Windows variants. This could be expanded to support Mac OS and Linux however as for Colorbleed internally there's no rush to support that feel free to submit PRs to implement this behavior.
In some cases packages require certain packages to be available that are not in this repository, e.g. 7zip
.
In those cases we recommend installing rez-pipz
and rez-scoopz
to easily install these packages, so that one can for example do:
# Install some dependencies of this repository
rez env pipz -- install jinja2
rez env scoopz -- install python
rez env scoopz -- install cmake
rez env scoopz -- install make
rez env scoopz -- install 7zip
# Or to install for a specific Python version
rez env python-3.7 pipz -- install PySide2
In other cases it requires that you have some of the other packages available that are inside this rez packages repository. In those cases you'll need to rez build --install
those first to make sure they are available.
If you're looking for more references on Rez packages here are some other repositories you can look into:
- https://github.com/UTS-AnimalLogicAcademy/open-source-rez-packages
- https://github.com/predat/rez-packages
- Rez Issue #673: Recipe Repositories (not a package repository, but shows some thoughts about the future for Rez package repositories)