Java 3D Documents Processing APIs
Create, Manipulate and Save 3D documents to multiple formats without any 3D modeling and rendering software dependencies.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 3D files easily. Moreover, API assist developers to model and create massive worlds in games, superb scenes for design visualization, engage virtual reality experiences, add Animation property to 3D scene file, format elements using 3D transformations and much more.
At A Glance
An overview of the capabilities of Aspose.3D for Java.
- Create 3D Scenes
- Create Mesh Surface
- Polygon Triangulation
- Split Mesh by Material
- Setup Normal for Graphics
- Setup 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
Aspose.3D for Java supports famous 3D file formats.
- Autodesk: FBX 7.2 to 7.5 (ASCII/Binary)
- 3D Systems CAD: STL (ASCII/Binary)
- Wavefront: OBJ
- Discreet 3D Studio: 3DS
- GL Transmission: glTF (ASCII/Binary)
- Google Draco: DRC
- RVM (Text/Binary)
- Portable Document Format: PDF
- DirectX: X (ASCII/Binary)
- Siemens: JT
- PLY (ASCII/Binary)
- 3MF (3D Manufacturing Format)
- AMF (Additive Manufacturing Format)
Advanced 3D API Features
Create 3D scene & save in supported 3D file 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 3D scene document
Triangulate a Mesh with custom memory layout of the vertex
Add a target camera to 3D scene
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 3D Scene Files
Aspose.3d for Java 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 scene = new Scene(dir + "template.fbx"); // save in different formats scene.save(dir + "output.stl", FileFormat.STLASCII); scene.save(dir + "output.obj", FileFormat.WAVEFRONTOBJ);
Generate 3D Scenes & Save as 3D Files
Aspose.3D for Java empowers programmers to easily generate 3D scenes from scratch without needing to install any 3D modeling software. The 3D Java API also enables to save the scenes in any of the supported 3D file formats (FBX, STL, WavefrontOBJ, Discreet3DS, Universal3D and Collada).
Create scene with primitive 3D shapes - Java
// initialize a Scene object Scene scene = new Scene(); // create a Box model scene.getRootNode().createChildNode("box", new Box()); // create a Cylinder model scene.getRootNode().createChildNode("cylinder", new Cylinder()); // save drawing in the FBX format scene.save(dir + "output.fbx", FileFormat.FBX7500ASCII);
Building Node Hierarchy
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 of a scene and provides visible content by attaching geometries, lights, and cameras to the nodes.
Add Animation Property to 3D Scene
Aspose.3D for Java API provides support for keyframe animation via CurveMapping which maps components of a property to different curves. Moreover, Aspose.3D for Java 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.
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 Aspose.3D for Java.