Java 3D File Processing API
Create, Manipulate & Save 3D files to multiple formats without requiring any external modeling & rendering software.Download Free Trial
Aspose.3D for Java
Aspose.3D for Java is a standalone Gameware and Computer-Aided-Designing (CAD) API to manipulate 3D files. API supports most of the popular 3D file formats and applications can create, read, convert & modify files easily. Moreover, API assists developers in modeling and creation of massive game worlds, superb scenes for design visualization, engage virtual reality experiences, add Animation property to scene file, format elements using transformations and much more.
At A Glance
An overview of the API.
- Create Scenes
- Create Mesh Surface
- Polygon Triangulation
- Split Mesh by Material
- Setup Normal for Graphics
- Set up UV for Graphics
- Triangulate Mesh
- Share Mesh Geometry Data
- Add Material to Object
- Add Target Camera
- Cast & Receive Shadows
Aspose.3D for Java supports the Java runtime.
- JSP/JSF Application
- Desktop Application
Supported File Formats
API supports listed file formats .
- Autodesk: FBX 7.2 to 7.5 (ASCII/Binary)
- STL (ASCII/Binary)
- Wavefront: OBJ
- Collada: DAE
- GL Transmission: glTF (ASCII/Binary)
- Google Draco: DRC
- RVM (Text/Binary)
- Portable Document Format: PDF
- DirectX: X (ASCII/Binary)
- Siemens: JT
- DirectX: X
Advanced Java 3D API Features
Create scene & save in supported formats
Load, save & convert 3D document to a stream
Work with geometry & scene hierarchy
Share mesh geometry data between multiple nodes
Add animation property to scene document
Triangulate a Mesh with custom memory layout of the vertex
Add a target camera as well as animate objects in a 3D scene
Split meshes by material
Change plane's orientation by specifying an up normal
Create geometry by extruding shapes
Enhance the creation of cylinder
Archive-based file format-detection
Standard 3d printing format AMF support
Import and export glTF files with Draco compression
Inter-convert Scene Files
API provides the support of 3D file format conversion in a simple way. Developers can load the source file in an instance of Scene, and use its Save method with appropriate FileFormat parameter. That's it!
Save 3D scene in different formats - Java
// load the file to be converted Scene scn = new Scene(dir + "template.fbx"); // save in different formats scn.save(dir + "output.stl", FileFormat.STLASCII); scn.save(dir + "output.obj", FileFormat.WAVEFRONTOBJ);
Generate 3D Scenes via API
Aspose.3D for Java empowers programmers to easily generate scenes from scratch without needing to install any modeling software. The Java API also enables the developers to save the scenes in any of the supported file formats (FBX, STL, WavefrontOBJ, Discreet3DS, Universal3D, and Collada).
Create a scene with primitive 3D shapes - Java
// initialize a Scene object Scene scn = new Scene(); // create a Box model scn.getRootNode().createChildNode("box", new Box()); // create a Cylinder model scn.getRootNode().createChildNode("cylinder", new Cylinder()); // save drawing in the FBX format scn.save(dir + "output.fbx", FileFormat.FBX7500ASCII);
Build Node Hierarchy in a Simple Way
Aspose.3D for Java API provides the ability to build a Node hierarchy where a Node is the basic building block of a scene. A hierarchy of nodes defines the logical structure and provides visible content by attaching geometries, lights, and cameras to the nodes.
Add Animation Property to Scene
Aspose.3D for Java API provides support for keyframe animation via CurveMapping which maps components of a property to different curves. Moreover, library offers to set up the target camera in a 3D file which is useful in animation when you need the camera to face a particular node.
Robustness, Performance & Scalability
Aspose.3D for Java is designed to perform equally well on the server or client-side. It is a single Java assembly that can be deployed with any Java application by simply adding its reference. You don't have to worry about other services or modules while working with API.