Browse our Products

Aspose.3D for Python via .NET 23.4 Release Notes

Improvements and Changes

KeySummaryCategory
THREEDNET-1359Exporting to OBJ - Image/texture files not copied to OBJ directoryTask
THREEDNET-1361Decouple the dependency of System.DrawingTask
THREEDNET-1360Allow export PBR material definition and normal mapping in OBJ exporterImprovement
THREEDNET-1357Missing material and texture when loading obj fileBug fixing
THREEDNET-1358When importing an obj file, ControlPoints encountered an error reading data and read it as normal vector dataBug fixing

API changes

Since 23.4, System.Drawing is no longer needed, types used from System.Drawing are now replaced by existing types which provide similar features:

Old TypeNew TypeDescription
aspose.pydrawing.imaging.ImageFormatstrUses image file extension name to represent image format, supported image formats are based on texture codec.
aspose.pydrawing.Sizeaspose.threed.utilities.Vector2
aspose.pydrawing.Pointaspose.threed.utilities.Vector2
aspose.pydrawing.Coloraspose.threed.utilities.Vector3
aspose.pydrawing.Rectangleaspose.threed.utilities.Rect
aspose.pydrawing.Bitmapaspose.threed.render.TextureData

Added members to class aspose.threed.formats.SaveOptions:

    # Try to copy textures used in scene to output directory. 
    @property
    def export_textures(self) -> bool:
        pass
    @export_textures.setter
    def export_textures(self, v : bool):
        pass

Sample code

Export the scene into obj file and export the texture files:

Removed class aspose.threed.shading.RenderingAPI

Removed class aspose.threed.shading.ShadingLanguage

These were obsoleted for months and removed by schedule.