-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Udim textures are communicated from the scene delegate to the render delegate like all other texture types are communicated in the new texture system by an asset-valued parameter on a texture node in a material network. For a udim texture, the resolved part of the SdfAssetPath will be a resolved file path such as /filePath/myImage.<UDIM>.exr. Thus, this change also involves a change to the usd scene delegate that finds asset-valued attributes in a material network and finds the first udim tile to use its resolved path as basis for the resolved file path. The texture system (in the render delegate) is expanding the <UDIM> the resolved file path by different integers to find all udim tiles. This change also removes the ptex sampler object trying to destruct texture handles (which might not work for the reasons indicated in the other sampler object d'tors. (Internal change: 2058293)
- Loading branch information
1 parent
6a51bfc
commit 4e42656
Showing
13 changed files
with
631 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.