Contributing to OpenSubdiv

Contributing to OpenSubdiv



Contributor License Agreement

Before contributing code to OpenSubdiv, we ask that you sign a Contributor License Agreement (CLA). At the root of the repository you can find the two possible CLAs:

  1. OpenSubdivCLA_corporate.pdf : please sign this one for corporate use
  2. OpenSubdivCLA_individual.pdf : please sign this one if you're an individual contributor

Once your CLA is signed, send it to opensubdiv-cla@pixar.com.

Understand Git

First, you should familiarize yourself with the Git data model and commands.

For small changes you may not need to understand Git deeply, but for larger changes or working with the codebase over a long period of time, it becomes critical to understand more of what's going on under the hood.

There are many free resources on the internet, one which we've found useful is the following e-book:

https://github.com/pluralsight/git-internals-pdf/releases

Sending a Pull Request

First, rebase and squash your changes appropriately to produce a clean set of changes at the head of your tree. We require changes to be grouped locally to ensure that rolling back changes can be done easily.

If you've followed the steps above, your pending change should already be queued up as required. If you have not, you may need to rebase and squash changes at this point.

Once the change is clean, push your changes to "origin" and go to the GitHub website to submit your pull request.

Be sure to submit your request against the "dev" branch.