Installation
Installation
This page covers installing aspose-3d-foss 26.1.0 into a Java project.
Prerequisites
| Requirement | Detail |
|---|---|
| Java | JDK 21 or later |
| Build tool | Maven 3.6+ or Gradle 7+ |
Maven
Add to your pom.xml:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-3d-foss</artifactId>
<version>26.1.0</version>
</dependency>Then run:
mvn compileGradle
Add to your build.gradle:
implementation 'com.aspose:aspose-3d-foss:26.1.0'Then run:
gradle buildVerify the Installation
import com.aspose.threed.Scene;
public class VerifyInstall {
public static void main(String[] args) throws Exception {
Scene scene = new Scene();
scene.open("test.obj");
System.out.println("Nodes loaded: " + scene.getRootNode().getChildNodes().size());
}
}If you see the node count printed without exceptions, the package is installed correctly.
Next Steps
- Getting Started: Overview and quick-start example
- Developer Guide: Format support, mesh operations, and transforms