Coder Social home page Coder Social logo

techscientist / usd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pixaranimationstudios/openusd

0.0 1.0 0.0 9.12 MB

Universal Scene Description

Home Page: http://www.openusd.org

License: Other

CMake 1.09% Python 6.15% C++ 88.68% C 1.23% Mathematica 1.86% Shell 0.01% Objective-C 0.07% Objective-C++ 0.03% LLVM 0.10% Yacc 0.78% CSS 0.01%

usd's Introduction

Universal Scene Description

Universal Scene Description (USD) is an efficient, scalable system for authoring, reading, and streaming time-sampled scene description for interchange between graphics applications.

For more details, please visit the web site here.

Additional Documentation

Getting Help

Need help understanding certain concepts in USD? See Getting Help with USD.

If you are experiencing undocumented problems with the software, please read our issue guidelines and file a bug via the Issues page on the GitHub repository.

Supported Platforms

USD is currently supported on Linux platforms and has been built and tested on CentOS 7 and RHEL 7.

We are actively working on porting USD to both Windows and Mac platforms. Support for both platforms should be considered experimental at this time. Currently, the tree will build on Mac, but will not build on Windows.

Dependencies

Name Version
C++ compiler GCC 4.8, Clang 3.5, MSVC 14.0(VS 2015)
C compiler GCC 4.8, Clang 3.5, MSVC 14.0(VS 2015)
CMake 2.8.8
Python 2.7.5
Boost 1.55
OpenEXR 2.2.0
DoubleConversion 1.1.1
Intel TBB 4.3.1
OpenSubdiv 3.0.5
GLEW 1.10.0
OpenImageIO 1.5.11
Ptex 2.0.30
Qt 4.8.0
Pyside 1.2.2

Getting and Building the Code

1. Clone the repo:

git clone https://github.com/PixarAnimationStudios/USD

2. Create a build location:

cd USD
mkdir build
cd build

3. Run a Basic build

On Linux

cmake                                       \
-DTBB_tbb_LIBRARY=/path/to/libtbb.so        \    
-DOPENEXR_LOCATION=/path/to/openexr         \
-DOPENSUBDIV_LOCATION=/path/to/opensubdiv   \
-DPTEX_INCLUDE_DIR=/path/to/ptex            \
-DOIIO_BASE_DIR=/path/to/openimageio        \
-DBOOST_ROOT=/path/to/boost                 \
-DQT_QMAKE_EXECUTABLE=/path/to/qmake        \
..

make -j <NUM_CORES> install

On OS X (experimental)

The following will generate an Xcode project that can be used to build USD. See notes in the Supported Platforms section for more information.

cmake                                       \
-G "Xcode"                                  \
-DTBB_tbb_LIBRARY=/path/to/libtbb.dylib     \    
-DOPENEXR_LOCATION=/path/to/openexr         \
-DOPENSUBDIV_LOCATION=/path/to/opensubdiv   \
-DPTEX_INCLUDE_DIR=/path/to/ptex            \
-DOIIO_BASE_DIR=/path/to/openimageio        \
-DBOOST_ROOT=/path/to/boost/include         \
-DQT_QMAKE_EXECUTABLE=/path/to/qmake        \
..

make -j <NUM_CORES> install

On Windows (experimental)

The following will generate a Visual Studio 2015 (the minimum required version) sln file which can be used to build USD. See notes in the Supported Platforms section for more information.

C:\Program Files\CMake\bin\cmake.exe             ^
    -G "Visual Studio 14 Win64"                  ^
    -DTBB_tbb_LIBRARY=C:\path\to\tbb.lib         ^     
    -DOPENEXR_LOCATION=C:\path\to\openexr        ^ 
    -DOPENSUBDIV_LOCATION=C:\path\to\opensubdiv  ^ 
    -DPTEX_INCLUDE_DIR=C:\path\to\ptex           ^ 
    -DOIIO_BASE_DIR=C:\path\to\openimageio       ^ 
    -DBOOST_ROOT=C:\path\to\boost                ^ 
    -DQT_QMAKE_EXECUTABLE=C:\path\to\qmak        ^
    --build .. --config Release --target install

There are many options you can specify throughout the build, such as building third-party software plugins, disabling specific components, and enabling developer options. You can find information on these in Build Configuration.

Note 1: You will need to update the sample paths with your own.

Note 2: You may have to supply additional defines to cmake if you have many versions of packages installed.

4. Try It Out

Launch usdview with a sample asset.

$ export PYTHONPATH=$PYTHONPATH:USD_INSTALL_ROOT/lib/python
$ usdview extras/usd/tutorials/convertingLayerFormats/sphere.usda

Contributing

If you'd like to contribute to USD (and we appreciate the help!), please see the Contributing page in the documentation for more information.

usd's People

Contributors

sunyab avatar

Watchers

Subhash Ramesh avatar

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.