Aspose.3D for Java 19.4 Release Notes

Improvements and Changes

Key Summary Category
THREEDNET-483  Support for VRML format  New feature
THREEDJAVA-26 Rendering support for Aspose.3D for Java  New feature
THREEDNET-496  FBX7500Binary Export Corruption Issue  Bug

Public API and Backwards Incompatible Changes

See the list of any changes made to the public API such as added, renamed, removed or deprecated members as well as any non-backward compatible change made to Aspose.3D for Java. If you have concerns about any change listed, please raise it on the Aspose.3D support forum.

Added new property Radius in class com.aspose.threed.Sphere

 /**

 * Gets the radius of the sphere.

 */

public double getRadius();

/**

 * Sets the radius of the sphere.

 * @param value New value

 */

public void setRadius(double value);

Sample code to specify radius by property rather than constructor argument:

 Scene scene = new Scene();

Sphere sphere = new Sphere();

sphere.setRadius(10);

scene.getRootNode().createChildNode(sphere);

scene.save("sphere.obj", FileFormat.WAVEFRONTOBJ);

Added new file format VRML in class com.aspose.threed.FileFormat and com.aspose.threed.FileFormatType

 /**

 * The Virtual Reality Modeling Language

 */

public static final FileFormat VRML;

Aspose.3D can auto-detect VRML format, so the FileFormat is usually ignored in the Open method. Sample code:

 Scene scene = new Scene();

scene.open("test.wrl");