Aspose.3D for Java is a standalone Gameware and 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.
An overview of the API.
Aspose.3D for Java supports the Java runtime.
API supports listed file formats .
Generate scene and save in supported formats
Load, save and render 3D document to a stream
Work with geometry and scene hierarchy
Share mesh geometry data within multiple nodes
Add animation property to the scene file
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
support of AMF format
Import and export glTF documents using Draco compression
API provides the support of 3D file format conversion in a simple way. Developers can load the source document in a Scene instance, and use its Save function with the FileFormat parameter. That's it!
// load the file to be converted Scene scnObj = new Scene(dir + "srctemplate.fbx"); // save in different formats scnObj.save(dir + "trgoutput.stl", FileFormat.STLASCII); scnObj.save(dir + "trgoutput.obj", FileFormat.WAVEFRONTOBJ);
Aspose.3D for Java lets the developers create scenes from scratch without the dependency of any modeling software. The Java API also empowers the developers to save the scenes in any of the supported formats such as (STL, FBX, Discreet3DS, WavefrontOBJ, Collada and Universal3D).
// 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);
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.
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.
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.