aspose-3d / Aspose.3D-for-Java

Aspose.3D for Java Examples

Home Page:https://products.aspose.com/3d/java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java API for 3D Image Processing

Aspose.3D for Java API is built to create, edit, manipulate and save 3D formats. It empowers Java applications to connect with 3D documents without installing any software package on the computer. Aspose.3D for Java API assist developers to model and create massive worlds in games, superb scenes for design visualization, and engage virtual reality experiences. The API is user friendly and saves time and money than creating a similar solution from scratch.

Directory Description
Examples A collection of Java examples that help you learn the product features.

3D File Processing Features

  • Create, load and save 3D scene.
  • Work with 3D models and 3D objects.
  • Setup target camera in 3D document.
  • Add Node hierarchy and Share Geometric data of Mesh among Multiple Nodes of 3D Scene.
  • Create 3D Mesh and expose Geometric Transformation.
  • Convert all Polygons to Triangles in 3D Model.
  • Work with linear extrusion, cylinder, and PointCloud.

Supported 3D File Formats

FBX 7.5 ASCII, FBX 7.5 Binary, FBX 7.4 ASCII, FBX 7.4 Binary, FBX 7.3 ASCII, FBX 7.3 Binary, FBX 7.2 ASCII, FBX 7.2 Binary, STL (ASCII, Binary), WavefrontOBJ, Discreet3DS, Universal3D, COLLADA, glTF, DXF, PLY (ASCII, Binary), X (ASCII, Binary), Draco, GLTF 2.0 (ASCII, Binary), 3MF, RVM (Text, Binary), ASE, GLB

Read & Write 3D Formats

3DS, AMF, RVM, DAE, DRC, FBX, gITF, OBJ, PLY, STL, U3D, ATT

Save 3D File As

HTML

Read 3D Formats

3MF, ASE, DXF, JT, VRML 1.0, X

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, CentOS, and others
  • Java Versions: J2SE 9.0 (1.9+) or above (for example Java 11)

Get Started with Aspose.3D for Java

Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.3D for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.3D for Java from Aspose Repository documentation page.

Perform Linear Extrusion using Java API

RectangleShape profile = new RectangleShape();
profile.setRoundingRadius(0.3);
// perform Linear extrusion by passing a 2D shape as input and extend the shape in the 3rd dimension
LinearExtrusion extrusion = new LinearExtrusion(profile, 10) {{ setSlices(100); setCenter(true); setTwist(360); setTwistOffset(new Vector3(10, 0, 0));}};
extrusion.setSlices(100);
extrusion.setCenter(true);
extrusion.setTwist(360);
extrusion.setTwistOffset(new Vector3(10, 0, 0));
// create a scene
Scene scene = new Scene();
// create a child node by passing extrusion
scene.getRootNode().createChildNode(extrusion);
// save 3D scene
scene.save("output.obj", FileFormat.WAVEFRONTOBJ);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

About

Aspose.3D for Java Examples

https://products.aspose.com/3d/java


Languages

Language:Java 100.0%