Skip to content

Releases: AcademySoftwareFoundation/MaterialX

Version 1.38.2

07 Oct 21:46
Compare
Choose a tag to compare

Added

  • Added an initial shader translation graph from Autodesk Standard Surface to UsdPreviewSurface.
  • Added example script translateshader.py with validation in GitHub Actions.
  • Added support for filename templates in texture baking.
  • Added graph definitions for the MaterialX Lama node set.
  • Added UI properties to the interface of UsdPreviewSurface.
  • Added an initial ESSL shader generator.
  • Added support for GCC 11.

Changed

  • Improved the accuracy of directional albedo computations for GGX specular and Imageworks sheen.
  • Updated default color space names to follow ACES 1.2 conventions (e.g. g22_rec709), while maintaining compatibility with legacy names (e.g. gamma22).

Fixed

  • Fixed the default value of the roughness input of UsdPreviewSurface.
  • Fixed the assignment of channel names in EXR files written through OpenImageIO.

Version 1.38.1

18 Jun 18:32
Compare
Choose a tag to compare

Added

  • Added support for shared library builds on Windows.
  • Added support for 16-bit unsigned integer images in MaterialXRender.
  • Added support for compound nodegraphs with user interfaces in shader and UI generation.
  • Added headers for newly proposed MaterialX closures in OSL.
  • Added a shader translation command to the viewer, assigned to the 'T' hotkey.

Changed

  • Improved the memory efficiency of texture baking operations.
  • Improved the compatibility of generated MDL code with Omniverse.
  • Refactored image resolution logic into new methods ImageHandler::getReferencedImages and MaterialX::getMaxDimensions.
  • Moved the viewer hotkey for GLSL code generation from 'S' to 'G' for consistency with other languages.

Fixed

  • Fixed the Color3.asTuple and Color4.asTuple methods in Python

Version 1.38.0

02 Mar 17:44
Compare
Choose a tag to compare

Updated the MaterialX library to the v1.38 specification. See the v1.38 changelist for full details.

Added

  • Added support for the generalized 'layer' node in Physically Based Shading.
  • Added user controls for texture baking and wedge rendering in the MaterialX Viewer.
  • Added support for Nvidia's Material Definition Language (MDL) in MaterialX code generation.
  • Added support for inline source code in Implementation elements.
  • Added support for TargetDef elements.
  • Added viewer rendering to cloud-based tests in GitHub Actions.
  • Added support for Xcode 12.

Changed

  • Updated the set of standard nodes to match the v1.38 specification, including significant improvements to the Physically Based Shading nodes.
  • Replaced specialized Material elements with material nodes, allowing more flexible material definitions and more consistent traversal.
  • Unified the Input and Parameter element classes, simplifying the MaterialX API and client code.
  • Updated the MaterialX viewer to use native classes for GLSL rendering and camera controls, opening the door to additional render frameworks in the future.
  • Updated the prefiltered path for specular environment rendering in GLSL, providing a closer match with the Filtered Importance Sampling path.
  • Updated the definition of Autodesk Standard Surface to version 1.0.1.
  • Updated the definition of UsdPreviewSurface to version 2.3.
  • Renamed the default branch from master to main.

Removed

  • Removed support for the 'complex_ior', 'backfacing', 'viewdirection' and 'fresnel' nodes in Physically Based Shading.
  • Removed support for the Color2 type.

Version 1.37.4

18 Dec 21:14
Compare
Choose a tag to compare

Added

  • Added software rendering tests for MaterialXRenderGlsl to GitHub Actions.

Changed

  • Improved the robustness of context management in MaterialXRenderGlsl.

Fixed

  • Added a missing VAO binding to GlslRenderer::drawScreenSpaceQuad.

Version 1.37.3

24 Nov 18:08
Compare
Choose a tag to compare

Added

  • Added Render Transparency and Render Double-Sided options to the Advanced Settings panel of the viewer.
  • Added viewer support for partially-transparent mesh partitions.
  • Added a subsurface scattering approximation to MaterialX GLSL.
  • Added a CMake option for building shared libraries on Linux and MacOS.
  • Added support for the latest OpenImageIO interface.

Changed

  • Improved the robustness of texture baking and shader translation.
  • Unified the handling of missing images in generated GLSL.
  • Moved CI builds from Travis and Appveyor to GitHub Actions.

Fixed

  • Fixed a bug in code generation for custom BSDF/EDF graphs.
  • Fixed rendering of single-channel textures in MaterialXRenderGlsl.

Version 1.37.2

06 Sep 19:00
Compare
Choose a tag to compare

Added

  • Added support for texture baking from Python, including new example script baketextures.py.
  • Added support for texture baking of materials with multiple UDIMs.
  • Added support for floating-point render targets in ShaderRenderer and its subclasses, allowing for HDR texture baking.
  • Added support for displacement shaders in generated OSL.
  • Added the ShaderTranslator class, laying the groundwork for support of shader translation graphs.
  • Added Python bindings for the Image class.

Fixed

  • Fixed the alignment of environment backgrounds in the viewer.

Removed

  • Removed the CopyOptions class, making it the default behavior of Document::importLibrary to skip conflicting elements.

Version 1.37.1

04 Jun 23:58
Compare
Choose a tag to compare

Added

  • Added command-line options for mesh, light, and camera transforms to the viewer.
  • Added command-line options for screen dimensions and background color to the viewer.
  • Added a Light Rotation slider to the Advanced Settings panel of the viewer.
  • Added utility methods Backdrop::setContainsElements and Backdrop::getContainsElements.
  • Added backwards compatibility for OpenImageIO 1.x.
  • Added support for GCC 10.

Changed

  • Improved energy conservation and preservation computations in generated GLSL.
  • Upgraded Smith masking-shadowing to height-correlated form in generated GLSL.
  • Improved the robustness of tangent frame computations in MaterialXRender.
  • Renamed Backdrop::setContains and getContains to Backdrop::setContainsString and getContainsString for consistency.

Fixed

  • Fixed the GLSL implementation of Burley diffuse for punctual lights.
  • Fixed the upgrade path for compare nodes in v1.36 documents.

Version 1.37.0

20 Mar 20:52
Compare
Choose a tag to compare

Updated the MaterialX library to the v1.37 specification. See the v1.37 changelist for full details.

Added

  • Added a Shadow Map option to the viewer, supported by shadowing functionality in GLSL code generation.
  • Added support for the 'uisoftmin', 'uisoftmax', and 'uistep' attributes, updating Autodesk Standard Surface to leverage these features.
  • Added support for LookGroup elements.
  • Added support for Clang 9.

Changed

  • Updated the set of standard nodes to match the v1.37 specification.
  • Unified the rules for NodeDef outputs, with all NodeDefs defining their output set through Output child elements rather than 'type' attributes.
  • Replaced GeomAttr elements with GeomProp elements.
  • Replaced backdrop nodes with Backdrop elements.
  • Aligned Matrix33 and Matrix44 with the row-vector convention, for improved consistency with Imath, USD, and other libraries.
  • Updated the stb_image library to version 2.23.

Version 1.36.5

12 Jan 03:56
Compare
Choose a tag to compare

Added

  • Added a Load Environment option to the viewer, allowing arbitrary latitude-longitude HDR environments to be loaded at run-time.
  • Added an initial TextureBaker class, supporting baking of procedural content to textures.
  • Added initial support for units, including the MaterialX::Unit, MaterialX::UnitDef, and MaterialX::UnitTypeDef classes.
  • Added support for unit conversion in shader code generation.
  • Added support for Visual Studio 2019.

Changed

  • Updated Autodesk Standard Surface to the latest interface and graph.
  • Updated the PyBind11 library to version 2.4.3.

Version 1.36.4

27 Sep 03:39
Compare
Choose a tag to compare

Added

  • Added a Save Material option to the viewer.
  • Added property accessors to PropertyAssign and PropertySetAssign.
  • Added Python bindings for TypeDesc and array-type Values.
  • Added Python functions getTypeString, getValueString, and createValueFromStrings.
  • Added support for GCC 9 and Clang 8.

Changed

  • Updated the interface of readFromXmlFile and writeToXmlFile to support FilePath and FileSearchPath arguments.
  • Extended Python bindings for FilePath and FileSearchPath.

Removed

  • Deprecated Python functions typeToName, valueToString, and stringToValue.
  • Removed deprecated Python functions objectToString and stringToObject.

Fixed

  • Fixed the OSL implementation of roughness_dual.