Git Product home page Git Product logo

dongchangbaopapegames / materialx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from academysoftwarefoundation/materialx

0.0 0.0 0.0 59.39 MB

MaterialX is an open standard for transfer of rich material and look-development content between applications and renderers.

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

License: Other

CMake 1.07% Python 1.20% C++ 69.06% C 27.17% Objective-C 0.14% GLSL 1.36%

materialx's Introduction

MaterialX

License Travis Build Status Appveyor Build Status

MaterialX is an open standard for transfer of rich material and look-development content between applications and renderers. Originated at Lucasfilm in 2012, MaterialX has been used by Industrial Light & Magic (ILM) in feature films such as Star Wars: The Force Awakens and real-time experiences such as Trials on Tatooine, and it remains the central material format for new ILM productions.

Quick Start for Developers

  • Download the latest version of the CMake build system.
  • Point CMake to the root of the MaterialX library and generate C++ projects for your platform and compiler.
  • Select the MATERIALX_BUILD_PYTHON option to build Python bindings.
  • Select the MATERIALX_BUILD_VIEWER option to build the MaterialX viewer.

Supported Platforms

The MaterialX codebase requires a compiler with support for C++11, and can be built with any of the following:

  • Microsoft Visual Studio 2015 or newer
  • GCC 4.8 or newer
  • Clang 3.3 or newer

The Python bindings for MaterialX are based on PyBind11, and support Python versions 2.7 and 3.x.

Repository

The MaterialX repository consists of the following folders:

  • source - Cross-platform C++ libraries for MaterialX with Python bindings.
  • python - Support modules for MaterialX Python.
  • documents - MaterialX documentation, including its specification and developer guides.
  • libraries - The standard data libraries for MaterialX, including the definitions of its pattern and shader nodes.
  • resources - Resources for rendering MaterialX content, including example materials, images, and geometry.

MaterialX Viewer

The MaterialX Viewer leverages shader generation to build GLSL shaders from MaterialX graphs, rendering the results using the NanoGUI framework.

Figure 1: Standard Surface Shader with procedural and uniform materials

Figure 2: Standard Surface Shader with textured, color-space-managed materials

Additional Resources

  • The Developer Guide contains more detailed documentation and code examples in C++ and Python.

materialx's People

Contributors

jstone-lucasfilm avatar bernardkwok avatar niklasharrysson avatar dbsmythe avatar willmuto-lucasfilm avatar da-krunch avatar mjyip-lucasfilm avatar laserallan avatar anderslanglands avatar feldstj avatar schmidka avatar lgritz 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.