TomMinor / P4VFX

Perforce for VFX content creation tools including Maya, Houdini and Nuke
MIT License
60 stars 14 forks source link
houdini maya nuke p4python perforce python

P4VFX: A Perforce Toolset for VFX Software

Description

P4VFX is a toolset that is intended to make working with Perforce from within VFX content creation applications simple and intuitive for artists. It achieves this by stripping out complex features such as branching and only providing the tools an artist actually needs to checkout assets, submit/manage changelists, view local and remote file history and revert work as necessary.

Alt text Alt text Alt text

Supported functionality:

As this was developed for an actual project, various pipeline functions were added to support a complex pipeline structure:

It uses QtPy to allow use in both Qt4/Qt5 applications and the P4Python API.

Install

The installation process is now automated by install.py, it will support all out of the box plugins (Maya, Nuke, etc) as they are added. It handles symlinking the module files to the places necessary for each app, and creating/updating P4CONFIG if necessary.

To use it, simply call it like so: python install.py

(For convenience, P4Python is bundled within the repo.)

Note: The Mac P4Python library isn't bundled within the repo yet, but it is just a case of placing it in appropriate PATH so the application can find it.

Configuring

When possible the default Perforce functionality is used for determining the environment.

This typically involves setting a P4CONFIG env var to something like '.p4config', Perforce will then search the current directory and it's parents for the existence of this file. This behaviour allows you to determine which workspace is used depending on where the p4config file is placed, typically in the settings folder for your app of

License

This project is licensed under the MIT license.