Browse our Products

Aspose.3D for Java 22.10 Release Notes

Improvements and Changes

KeySummaryCategory
THREEDNET-1241Allow import Maya ASCII fileNew Feature

API changes

Added new type com.aspose.threed.RotationOrder

This is used in com.aspose.threed.TransformBuilder

Added new methods to class com.aspose.threed.TransformBuilder:

    /**
     * Append rotation with specified order
     * @param rot Rotation in degrees
     * @param order 
     */
    public void rotateDegree(Vector3 rot, RotationOrder order)

    /**
     * Append rotation with specified order
     * @param rot Rotation in degrees
     * @param order 
     */
    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:

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

Added member to class com.aspose.threed.FileFormat:

        /**
         * Autodesk Maya in ASCII format
         */
        public static readonly FileFormat MAYAASCII;

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