Giter Site home page Giter Site logo

usd-build's Introduction

usd-build

Build the Pixar Universal Scene Description system and Maya USD plugin.

Prepare the image

docker build --rm -t usd-build .

Build the USD system

Create a new build directory and execute the commands from there.

Make sure to install the Pixar RenderMan before building the USD system so that the $RMANTREE environment variable points to RenderManProServer directory.

Execute this command to build the USD system in your build directory:

docker run --rm -it -v "$(pwd):c:/build" -v "$(echo $env:RMANTREE):c:/prman" usd-build python c:/usd/build_scripts/build_usd.py --openvdb --openimageio --opencolorio --alembic --hdf5 --prman --prman-location "c:/prman" c:/build/usd

Alternatively, run the interactive shell for USD

Create a new build directory and execute the commands from there.

Make sure to install the Pixar RenderMan before building the USD system so that the $RMANTREE environment variable points to RenderManProServer directory.

Execute this command from the Powershell console:

docker run --rm -it -v "$(pwd):c:/build" -v "$(echo $env:RMANTREE):c:/prman" usd-build

You may want to run the USD build command manually inside the interactive Powershell:

python c:/usd/build_scripts/build_usd.py --openvdb --openimageio --opencolorio --alembic --hdf5 --prman --prman-location "c:/prman" c:/build/usd

Build Maya USD plugin

Build the USD system first.

Make sure to download Maya devkit into your build directory and name it "devkit".

Execute this command to build Maya USD plugin in your build directory:

docker run --rm -it -v "$(pwd):c:/build" -v "c:/Program Files/Autodesk/Maya2020:c:/maya" usd-build python c:/maya-usd/build.py -v 3 --maya-location c:/maya --pxrusd-location c:/build/usd --devkit-location c:/build/devkit --install-location c:/build/usdplugin --build-args="-DBUILD_ADSK_PLUGIN=ON" --generator="Visual Studio 16 2019" c:/build/workspace

Alternatively, run the interactive shell for Maya USD plugin

Build the USD system first.

Make sure to download Maya devkit to your build directory and name it "devkit".

Execute this command from your build directory (USD system should be already built there).

docker run --rm -it -v "$(pwd):C:/build" -v "c:/Program Files/Autodesk/Maya2020:c:/maya" usd-build

You may want to run the Maya USD plugin build command manually inside the interactive Powershell:

python c:/maya-usd/build.py -v 3 --maya-location c:/maya --pxrusd-location c:/build/usd --devkit-location c:/build/devkit --install-location c:/build/usdplugin --build-args="-DBUILD_ADSK_PLUGIN=ON" --generator="Visual Studio 16 2019" c:/build/workspace

usd-build's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

loonghao ymesh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.