What's New in the 3ds Max USD Extension Scripting and Customizing
USD 0.5
The following changes and additions are available in this release of the 3ds Max USD Extension:
IUSDExportOptions
New property in IUSDExportOptions
:
.Morpher : boolean : Read|Write
Removed #usdz
option in IUSDExportOptions.FileFormat
. Now files are saved as .usdz when they have that file extension in the export path passed to ExportFile()
.
MtlXIOUtil
New plug-in and interface to expose MaterialX import and export functionality: MtlXIOUtil
.
USD 0.4
The following changes and additions are available in this release of the 3ds Max USD Extension:
SDK - C++ and Python
The 3ds Max USD SDK is now generally available. It can be downloaded at the 3ds Max Developer Center.
USDStageObject
Some animation properties have been renamed to reflect the fact that the time data in USD files are in time codes rather than frames. These are:
.SourceAnimationStartTimeCode
-> was .SourceAnimationStartFrame
.SourceAnimationEndFrameTimeCode
-> was .SourceAnimationEndFrame
.SourceAnimationTPS
-> was .SourceAnimationFPS
In addition, the .SourceAnimationEndFrameTimeCode
will be re-named .SourceAnimationEndTimeCode
in a future release.
The usdStageOps
interface exposes these new methods:
<void>SetPrimvarChannelMappingDefaults()
<void>SetPrimvarChannelMapping <string>primvar <value>targetChannel
<value>GetPrimvarChannel <string>primvar
<boolean>IsMappedPrimvar <string>primvar
<string array>GetMappedPrimvars()
<void>ClearMappedPrimvars()
IUSDExportOptions
New properties in IUSDExportOptions
:
.AllowNestedGprims : boolean : Read|Write
.ContextNames : string array : Read|Write
.Skin : boolean : Read|Write
.BonesPrimName : string : Read|Write
.AnimationsPrimName : string : Read|Write
New methods in IUSDExportOptions
:
<string array>AvailableMaterialTargets()
<string array>AvailableChasers()
USD 0.3
The following changes and additions are available in this release of the 3ds Max USD Extension:
SDK - C++ and Python
There is a new 3ds Max USD SDK, available to participants in the beta program, that supports customization of the component via C++ and Python.
USDStageObject
The new USDStageObject
class exposes the USD Stage functionality.
UsdImporter
New methods in UsdImporter
:
SetMaterialParamByName()
SetTexmapParamByName()
IUSDExportOptions
New properties in IUSDExportOptions
:
.Shapes : boolean : Read|Write
.ShadingMode : string : Read|Write
.AllMaterialTargets : string array : Read|Write
.UsdStagesAsReferences : boolean : Read|Write
.ChaserNames : string array : Read|Write
.AllChaserArgs : value : Read|Write