Aspose.3D for .NET 22.10 Release Notes

Improvements and Changes

KeySummaryCategory
THREEDNET-1241Allow import Maya ASCII fileNew Feature

API changes

Added new type Aspose.ThreeD.Utilities.RotationOrder

This is used in Aspose.ThreeD.Utilities.TransformBuilder

Added new methods to class Aspose.ThreeD.Utilities.TransformBuilder:

        /// <summary>
        /// Append rotation with specified order
        /// </summary>
        /// <param name="rot">Rotation in degrees</param>
        /// <param name="order"></param>
        public void RotateDegree(Vector3 rot, RotationOrder order)

        /// <summary>
        /// Append rotation with specified order
        /// </summary>
        /// <param name="rot">Rotation in radian</param>
        /// <param name="order"></param>
        public void RotateRadian(Vector3 rot, RotationOrder order)

RotateDegree and RotateRadian allows compose a rotation matrix in specified order.

Sample code to rotate in XZY order:

        var tb = new TransformBuilder();
        tb.RotateDegree(new Vector3(10, 20, 30), RotationOrder.XZY);

Added members to class Aspose.ThreeD.FileFormat:

        /// <summary>
        /// Autodesk Maya in ASCII format
        /// </summary>
        public static readonly FileFormat MayaASCII;

Aspose.3D supports Maya ASCII format as input format.