Aspose.3D for .NET 21.6 Release Notes

Improvements and Changes

KeySummaryCategory
THREEDNET-870Add USDC export support.New Feature
THREEDNET-891Expose zip archive file systemNew Feature
THREEDNET-892Allow FBX exporter to embed textures during the export.New feature
THREEDNET-895Fixed some characters in node’s name will cause generated GLB file failed to pass validationBug fix
THREEDNET-896Fixed empty scene cannot export to a valid glb fileBug fix
THREEDNET-890Add material/texture export in USDCImprovement
THREEDNET-899Expose the property of RelativeFilename for FBX TextureImprovement

API changes

Added USD as export type

From 21.6 you can export scene into a USD file by:

    Scene scene = new Scene();
    //...prepare your scene
    scene.Save("test.usd", FileFormat.USD);

Added new class Aspose.ThreeD.Utilities.ZipArchiveFileSystem

It’s possible for glb/fbx and other file formats that supports texture embedding to access external assets through a zip file by using a ZipArchiveFileSystem to SaveOptions.FileSystem.

Added new property to class Aspose.ThreeD.Formats.FbxSaveOptions

    /// <summary>
    /// Gets or sets whether to embed the texture to the final output file.
    /// FBX Exporter will try to find the texture's raw data from <see cref="IOConfig.FileSystem"/>, and embed the file to final FBX file.
    /// Default value is false.
    /// </summary>
    public bool EmbedTextures{ get;set;}

Sample code:

    var scene = new Scene();
    var opt = new FbxSaveOptions(FileFormat.FBX7700ASCII);
    opt.EmbedTextures = true;
    var tex = new Texture();
    tex.FileName = "test.png";
    tex.SetProperty("RelativeFilename", "test.png");
    var mat = new PhongMaterial();
    mat.SetTexture(Material.MapDiffuse, tex);
    var planeNode = scene.RootNode.CreateChildNode(new Plane());
    planeNode.Material = mat;
    scene.Save("plane-with-texture.fbx", opt);

Removed obsoleted class Aspose.ThreeD.Formats.A3DWSaveOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.AMFSaveOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.Discreet3DSLoadOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.Discreet3DSSaveOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.FBXLoadOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.FBXSaveOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.GLTFLoadOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.GLTFSaveOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.HTML5SaveOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.STLLoadOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.STLSaveOptions

This class was marked as obsoleted months before.

Removed obsoleted class Aspose.ThreeD.Formats.U3DLoadOptions

This class was marked as obsoleted months before.