Browse our Products

Aspose.3D for Java 18.7 - July 2018

Other Improvements and Changes

SummaryCategory
Add Draco 2.2 import supportNew Feature
Add Draco 2.2 export supportNew Feature
Import glTF files with draco compressionNew Feature

Public API and Backwards Incompatible Changes

Please view 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 API. If you have concerns about any change listed, please raise it on the Aspose.3D support forum.

API changes:

3 members removed from class com.aspose.threed.Property:

     public void com.aspose.threed.Property.setExtraData(java.lang.String);

    public java.lang.String com.aspose.threed.Property.getExtraData();

    public int com.aspose.threed.Property.getFlags();

These are removed to synchronize the changes from .NET version. (They are scheduled to be removed since Aspose.3D for .NET 18.2)

1 property added to class com.aspose.threed.ObjLoadOptions:

     public boolean com.aspose.threed.ObjLoadOptions.getNormalizeNormal();

    public void com.aspose.threed.ObjLoadOptions.setNormalizeNormal(boolean);

Gets or sets whether to normalize the normal vector during the loading, default value is true.

Sample code:

         Scene scene = new Scene();

        ObjLoadOptions opt = new ObjLoadOptions();

        opt.setNormalizeNormal(false);

        scene.open("test.obj", opt);

This will load the obj file and leave the normal vectors unnormalized, the old version will normalize the normal vectors when obj file loaded.


 
 English