Skip to content

Commit

Permalink
MDL SDK 2021.1.1 (349500.8264)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkettnerNV committed Mar 31, 2022
1 parent aa9642b commit 2a00fa2
Show file tree
Hide file tree
Showing 72 changed files with 1,363 additions and 606 deletions.
43 changes: 42 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,49 @@
Change Log
==========
MDL SDK 2021.1 (349500.7063): 18 Jan 2022
MDL SDK 2021.1.1 (349500.8264): 18 Mar 2022
-----------------------------------------------

ABI compatible with the MDL SDK 2021.1.1 (349500.8264) binary release
(see [https://developer.nvidia.com/mdl-sdk](https://developer.nvidia.com/mdl-sdk))

**Known Issues**

- The version text in the MI_NEURAYLIB_PRODUCT_VERSION_STRING macro
in the version.h include file contains the previous version number
of "2021.1" instead of "2021.1.1".

**Added and Changed Features**

- Image File Format Plugins

- Support .rgb extension for textures in the SGI file format.

**Fixed Bugs**

- General

- Fixed filename extension mismatch when exporting textures referenced from MDL modules.
Under certain circumstances, the texture was copied, but got a different filename extension,
causing problems importing the MDL module again.
- Fixed creation of function calls of the cast operator if the target type has frequency
qualifiers. Similarly, fixed creation of function calls of the ternary operator if the
argument types have frequency qualifiers.
- Fixed handling of memory allocation failures in `IImage_api::create_canvas()/create_tile()`
methods.
- Also encode the simple name of function definitions. For almost all functions this does not
make any change since the simple name is usually an identifier, except for a couple of
operators from the builtins module.

- MDL Compiler and Backends

- libbsdf: Fixed incorrect child normal orientation usage in `df::(color_)fresnel_layer`,
`df::(color_)custom_curve_layer` and `df::(color_)measured_curve_layer` for backside hits.
- HLSL backend: Fixed code generation for scene data access functions inside automatically
derived expressions.

MDL SDK 2021.1 (349500.7063): 26 Jan 2022
-----------------------------------------

ABI compatible with the MDL SDK 2021.1 (349500.7063) binary release
(see [https://developer.nvidia.com/mdl-sdk](https://developer.nvidia.com/mdl-sdk))

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ Required tools to build the documentation:
are available in the package management system:

```bash
sudo apt-get install git build-essential python cmake g++
sudo apt-get install git git-lfs build-essential python cmake
sudo apt-get install libboost-dev libfreeimage-dev libglew-dev libglfw3-dev
```

Expand All @@ -318,6 +318,7 @@ Required tools to build the documentation:

```bash
export MDL_SDK_ROOT=$HOME/projects/mdl-sdk
git lfs install
git clone https://github.com/NVIDIA/MDL-SDK.git $MDL_SDK_ROOT
```

Expand Down
2 changes: 1 addition & 1 deletion doc/base_module/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h3>Edge</h3>

</div><div id="blackfooter">
<span class="footeritem">
18&#160;January&#160;2022,&#160;21:07,&#160;rev.349500.7063
18&#160;March&#160;2022,&#160;20:50,&#160;rev.349500.8264
</span>
<span class="footeritem">
<a href="https://www.nvidia.com/en-us/about-nvidia/legal-info/" target="_blank" shape="rect">&copy; 2022 NVIDIA&nbsp;Corporation.</a> All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions doc/build/doxygen_footer_1_8_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- start footer part -->
<!--BEGIN GENERATE_TREEVIEW-->
<div id="nav-path">
<span class="footeritem">MDL SDK 2021.1 (349500.7063): $datetime</span>
<span class="footeritem">MDL SDK 2021.1 (349500.8264): $datetime</span>
<span class="footeritem">
<a href="http://www.nvidia.com/">
&copy;&#160;2020&#160;NVIDIA&#160;Corporation.</a>
&copy;&#160;2022&#160;NVIDIA&#160;Corporation.</a>
&#160;All&#160;rights&#160;reserved.
</span>
</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/core_definitions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ <h2>Page cannot be loaded</h2>
bottom of the page or from the following links:</p>

<div style="padding-left:2em;">
<a href="mdl_core_definitions.220118.A4.pdf">View documentation in A4 format</a><br>
<a href="mdl_core_definitions.220118.LTR.pdf">View documentation in US Letter format</a><br>
<a href="mdl_core_definitions.220318.A4.pdf">View documentation in A4 format</a><br>
<a href="mdl_core_definitions.220318.LTR.pdf">View documentation in US Letter format</a><br>
</div>
<h3>Overriding security settings</h3>

Expand Down Expand Up @@ -261,7 +261,7 @@ <h3>Edge</h3>
<span class="footeritem">
</span>
<span class="footeritem">
18&#160;January&#160;2022,&#160;21:08,&#160;rev.349500.7063
18&#160;March&#160;2022,&#160;20:52,&#160;rev.349500.8264
</span>
<span class="footeritem">
<a href="https://www.nvidia.com/en-us/about-nvidia/legal-info/" target="_blank" shape="rect">&copy; 2022 NVIDIA&nbsp;Corporation.</a> All rights reserved.
Expand Down
Empty file modified doc/core_definitions/kt_js/s_image.js
100755 → 100644
Empty file.
Empty file modified doc/core_definitions/kt_js/search.js
100755 → 100644
Empty file.
Empty file modified doc/core_definitions/kt_js/toc.js
100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
</div>
<div id="blackfooter">
<span class="footeritem">
MDL SDK 2021.1 (349500.7063): 18 Jan 2022
MDL SDK 2021.1 (349500.8264): 18 Mar 2022
</span>
<span class="footeritem">
<a href="http://www.nvidia.com/">
&copy;&#160;2020&#160;NVIDIA&#160;Corporation.</a> &#160;All&#160;rights&#160;reserved.
&copy;&#160;2022&#160;NVIDIA&#160;Corporation.</a> &#160;All&#160;rights&#160;reserved.
</span>
</div>
</body>
Expand Down
87 changes: 86 additions & 1 deletion doc/mdl_sdkapi/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,92 @@ WARN_LOGFILE =

INPUT = . \
../../include/mi/mdl_sdk.h \
../../include/mi/neuraylib \
../../include/mi/neuraylib/annotation_wrapper.h \
../../include/mi/neuraylib/argument_editor.h \
../../include/mi/neuraylib/assert.h \
../../include/mi/neuraylib/bsdf_isotropic_data.h \
../../include/mi/neuraylib/definition_wrapper.h \
../../include/mi/neuraylib/factory.h \
../../include/mi/neuraylib/iallocator.h \
../../include/mi/neuraylib/iarray.h \
../../include/mi/neuraylib/iattribute_container.h \
../../include/mi/neuraylib/iattribute_set.h \
../../include/mi/neuraylib/ibbox.h \
../../include/mi/neuraylib/ibsdf_isotropic_data.h \
../../include/mi/neuraylib/ibsdf_measurement.h \
../../include/mi/neuraylib/ibuffer.h \
../../include/mi/neuraylib/icanvas.h \
../../include/mi/neuraylib/icolor.h \
../../include/mi/neuraylib/icompiled_material.h \
../../include/mi/neuraylib/icompound.h \
../../include/mi/neuraylib/idata.h \
../../include/mi/neuraylib/idatabase.h \
../../include/mi/neuraylib/idebug_configuration.h \
../../include/mi/neuraylib/idynamic_array.h \
../../include/mi/neuraylib/ienum.h \
../../include/mi/neuraylib/ienum_decl.h \
../../include/mi/neuraylib/iexpression.h \
../../include/mi/neuraylib/ifactory.h \
../../include/mi/neuraylib/ifunction_call.h \
../../include/mi/neuraylib/ifunction_definition.h \
../../include/mi/neuraylib/iimage.h \
../../include/mi/neuraylib/iimage_api.h \
../../include/mi/neuraylib/iimage_plugin.h \
../../include/mi/neuraylib/iimpexp_base.h \
../../include/mi/neuraylib/ilightprofile.h \
../../include/mi/neuraylib/imap.h \
../../include/mi/neuraylib/imaterial_definition.h \
../../include/mi/neuraylib/imaterial_instance.h \
../../include/mi/neuraylib/imatrix.h \
../../include/mi/neuraylib/imdl_archive_api.h \
../../include/mi/neuraylib/imdl_backend.h \
../../include/mi/neuraylib/imdl_backend_api.h \
../../include/mi/neuraylib/imdl_compatibility_api.h \
../../include/mi/neuraylib/imdl_compiler.h \
../../include/mi/neuraylib/imdl_configuration.h \
../../include/mi/neuraylib/imdl_discovery_api.h \
../../include/mi/neuraylib/imdl_entity_resolver.h \
../../include/mi/neuraylib/imdl_evaluator_api.h \
../../include/mi/neuraylib/imdl_execution_context.h \
../../include/mi/neuraylib/imdl_factory.h \
../../include/mi/neuraylib/imdl_i18n_configuration.h \
../../include/mi/neuraylib/imdl_impexp_api.h \
../../include/mi/neuraylib/imdl_loading_wait_handle.h \
../../include/mi/neuraylib/imdl_module_builder.h \
../../include/mi/neuraylib/imdl_module_transformer.h \
../../include/mi/neuraylib/imdle_api.h \
../../include/mi/neuraylib/imodule.h \
../../include/mi/neuraylib/ineuray.h \
../../include/mi/neuraylib/inumber.h \
../../include/mi/neuraylib/iplugin_api.h \
../../include/mi/neuraylib/iplugin_configuration.h \
../../include/mi/neuraylib/ipointer.h \
../../include/mi/neuraylib/ireader.h \
../../include/mi/neuraylib/ireader_writer_base.h \
../../include/mi/neuraylib/iref.h \
../../include/mi/neuraylib/iscene_element.h \
../../include/mi/neuraylib/iscope.h \
../../include/mi/neuraylib/ispectrum.h \
../../include/mi/neuraylib/istream_position.h \
../../include/mi/neuraylib/istring.h \
../../include/mi/neuraylib/istructure.h \
../../include/mi/neuraylib/istructure_decl.h \
../../include/mi/neuraylib/itexture.h \
../../include/mi/neuraylib/itile.h \
../../include/mi/neuraylib/itransaction.h \
../../include/mi/neuraylib/itype.h \
../../include/mi/neuraylib/iuuid.h \
../../include/mi/neuraylib/ivalue.h \
../../include/mi/neuraylib/ivector.h \
../../include/mi/neuraylib/iversion.h \
../../include/mi/neuraylib/iwriter.h \
../../include/mi/neuraylib/matrix_typedefs.h \
../../include/mi/neuraylib/set_get.h \
../../include/mi/neuraylib/target_code_types.h \
../../include/mi/neuraylib/type_traits.h \
../../include/mi/neuraylib/typedefs.h \
../../include/mi/neuraylib/vector_typedefs.h \
../../include/mi/neuraylib/version.h \
../../include/mi/math.h \
../../include/mi/math \
../../include/mi/base.h \
Expand Down
1 change: 1 addition & 0 deletions doc/mdl_sdkapi/main.dox
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ them, assertions, and configurations.
- \ref mi_neuray_configuration "Configuration Interfaces"
- \ref mi_neuray_types "Types"
- \ref mi_neuray_mdl_types "MDL type system"
- \ref mi_neuray_mdl_misc "MDL-related interfaces"
- \ref mi_neuray_database_access "Database Access"
- \ref mi_neuray_scene_element "Scene Elements"
- \ref mi_neuray_mdl_elements "MDL-related elements",
Expand Down
5 changes: 5 additions & 0 deletions examples/mdl_sdk/shared/texture_support_native.h
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,11 @@ mi::neuraylib::Texture_handler_vtable tex_vtable = {
scene_data_lookup_int3,
scene_data_lookup_int4,
scene_data_lookup_color,
/*m_scene_data_lookup_deriv_float*/ nullptr,
/*m_scene_data_lookup_deriv_float2*/ nullptr,
/*m_scene_data_lookup_deriv_float3*/ nullptr,
/*m_scene_data_lookup_deriv_float4*/ nullptr,
/*m_scene_data_lookup_deriv_color*/ nullptr
};

// The vtable containing all texture access handlers required by the generated code
Expand Down
Loading

0 comments on commit 2a00fa2

Please sign in to comment.