MA to USDZ Java

MA files are animation project files containing a scene’s animation, rendering, lighting, etc. and other relevant data in ASCII format. They are popularly used to create animations or 3D scenes for video games and movies. In some cases, you may need to convert an MA file to USDZ file format. Following such scenarios, this article explains how to convert an MA file to USDZ format programmatically in Java.

MA to USDZ Converter – Java API Installation

Aspose.3D for Java API can be used to create, edit, or manipulate different types of scenes, animations, or three-dimensional objects. Simply install the API by downloading its JAR files from the New Releases page or using the following configurations in the pom.xml file to access it from the Aspose Repository.

Repository:

 <repositories>
    <repository>
        <id>AsposeJavaAPI</id>
        <name>Aspose Java API</name>
        <url>http://repository.aspose.com/repo/</url>
    </repository>
</repositories>

Dependency:

 <dependencies>
    <dependency>
        <groupId>com.aspose</groupId>
        <artifactId>aspose-3d</artifactId>
        <version>22.10</version>
    </dependency>
</dependencies>

Convert MA to USDZ File in Java

You can convert an MA file to USDZ format by following the steps below:

  1. Load the input Maya file.
  2. Export the generated USDZ file.

The following section further elaborates conversion of Maya files with MA file extension.

Convert MA to USDZ File in Java

The following steps explain how to convert an MA file to USDZ format:

  1. Create an object of the Scene class.
  2. Load the input Maya file with the MA file extension using the Open method.
  3. Convert the MA file to USDZ format with the Save method.

The following code snippet demonstrates how to convert an MA file to USDZ format programmatically in Java:

Get Free Temporary License

You may get a free temporary license to evaluate the API to its full capacity.

Online Demo

Please try the MA to USDZ Converter web app developed using this API.

Conclusion

In this article, you have explored how to convert an MA file to USDZ format programmatically in Java. Furthermore, you can visit the API documentation section to take a look at many other features of the API. In case you have any ambiguities or queries, please write to us at forum.

See Also

Convert OBJ to 3DS in Java