This addressed feature request T99811. Added the following features to fully support importing USDZ archives: - Added .usdz to the list of supported extensions. - Added new USD import options to copy textures from USDZ archives. The textures may be imported as packed data (the default) or to a directory on disk. - Extended the USD material import logic to handle package-relative texture assets paths by invoking the USD asset resolver to copy the textures from the USDZ archive to a directory on disk. When importing in Packed mode, the textures are first saved to Blender's temporary session directory prior to packing. The new USD import options are - Import Textures: Behavior when importing textures from a USDZ archive - Textures Directory: Path to the directory where imported textures will be copied - File Name Collision: Behavior when the name of an imported texture file conflicts with an existing file Import Textures menu options: - None: Don't import textures - Packed: Import textures as packed data (the default) - Copy: Copy files to Textures Directory File Name Collision menu options: - Use Existing: If a file with the same name already exists, use that instead of copying (the default) - Overwrite: Overwrite existing files Reviewed by: Bastien Differential Revision: https://developer.blender.org/D17074
13 KiB
13 KiB