---
Product: Aspose.3D
Platform: java
Page Type: docs
Canonical URL: https://docs.aspose.org/3d/java/getting-started/quickstart
---

# Quick Start

Get up and running with Aspose.3D FOSS for Java in minutes: load a 3D model, traverse the scene graph, and save to a different format using Scene, Node, and Scene.save.

## Overview

This guide shows the fastest path from installation to loading and saving a 3D file using
Aspose.3D FOSS for Java. The library is MIT‑licensed, pure Java, and requires no native binaries or external dependencies beyond the Maven artifact. **Note: the Pose API has been modified in this release.**

---

### Prerequisites

| Requirement | Detail |
|-------------|--------|
| Java | 21 or later |
| Build tool | Maven 3.6+ or Gradle |
| OS | Windows, macOS, Linux, Docker |
| Package | `org.aspose:aspose-3d-foss:26.5.0` |

---
### Install

Add the Maven dependency to your `pom.xml`. The library detects 3D file formats automatically from file extensions, so no explicit format constants are needed for basic use:

```xml
<dependency>
  <groupId>org.aspose</groupId>
  <artifactId>aspose-3d-foss</artifactId>
  <version>26.5.0</version>
</dependency>
```

**Note:** The `Pose` API has been modified; adjust imports and method calls to the new signatures.

---

### Load a 3D File

Call `Scene.fromFile` with a path to load any supported format. Access the scene
hierarchy through `scene.getRootNode()`:

```java
import com.aspose.threed.Scene;

Scene scene = Scene.fromFile("model.obj");
System.out.println("Root node: " + scene.getRootNode().getName());
```

---

### Traverse the Scene Graph

A loaded scene is a tree of `Node` objects rooted at `scene.getRootNode()`. Use
a recursive walk to process each node and its children:

```java
import com.aspose.threed.Node;
import com.aspose.threed.Scene;

void walk(Node node, int depth) {
    String indent = " ".repeat(depth * 2);
    System.out.println(indent + "Node: " + node.getName());
    for (Node child : node.getChildNodes()) {
        walk(child, depth + 1);
    }
}

Scene scene = Scene.fromFile("model.glb");
walk(scene.getRootNode(), 0);
```

---

### Save to a Different Format

The library detects the output format from the file extension. Pass the output path
to `Scene.save` to convert between formats:

```java
import com.aspose.threed.Scene;

Scene scene = Scene.fromFile("model.obj");
scene.save("output.glb");
System.out.println("Converted to GLB.");
```

---

### Create a New Scene and Save

Construct a `Scene` with no arguments to start empty, add child nodes to
`scene.getRootNode()`, then call `scene.save()` to write the file:

```java
import com.aspose.threed.Scene;
import com.aspose.threed.Node;

Scene scene = new Scene();
Node box = scene.getRootNode().createChildNode("box");
scene.save("new_scene.obj");
```

---

### Next Steps

- [Installation](../installation/)
- [How to Load 3D Models](https://kb.aspose.org/3d/java/how-to-load-3d-models-java/)
- [How to Convert 3D Models](https://kb.aspose.org/3d/java/how-to-convert-3d-models-java/)
- [KB Articles](https://kb.aspose.org/3d/java/)

## See Also

- [Aspose.3D for Java — Enterprise Documentation](https://docs.aspose.com/3d/java/)