2,778

Downloads

66

Downloads of v 17.6.0

4

Average downloads per day

2017-06-05

Last published

Share on Social Networks

Aspose.3D for .NET

17.6.0

Aspose.3D is a class library for working with 3D files. It allows developers to create/manipulate/render 3D scene and work with FBX,STL,OBJ,3DS,U3D,DAE,PDF,DRC,GLTF files. It allows you to open files and manipulate the elements in the 3D scene, from line,mesh,nurbs curve, to more complex elements animation, and then export to FBX ASCII, FBX binary, STL ASCII, STL binary, Collada, Wavefront .obj, 3DS, PDF formats, glTF, glTF2, Google Draco.

To install Aspose.3D for .NET, run the following command in the Package Manager Console

Install-Package Aspose.3D -Version 17.6.0

Release Notes

This page contains release notes for Aspose.3D for .NET 17.6.

                   
   
Other Improvements and Changes
Key Summary Category

THREEDNET-257 Export 3D scene into GLTF 2.0 ASCII files
New feature


THREEDNET-258 Export 3D scene into GLTF 2.0 Binary files New feature

THREEDNET-264 Models has tangent but has no bi-normal will not render correctly Bug

THREEDNET-267 Materials in Collada files may not be loaded correctly. 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 .NET. If you have concerns about any change listed, please raise it on the Aspose.3D support forum.
Adds MaterialConverter Member to Aspose.ThreeD.Formats.GLTFSaveOptions Class

GLTF 2.0 only supports PBR materials, Aspose.3D will internally convert non-PBR materials into PBR materials before exporting into GLTF 2.0 (the materials in the scene will remain unchanged during the export), and the user can provide custom convert function to override the default behavior.

This code example demonstrates how to convert material to PBR material, and then saves 3D scene in the GLTF format:
.NET, C#

var s = new Scene();
var box = new Box();
s.RootNode.CreateChildNode("box1", box).Material = new PhongMaterial() {DiffuseColor = new Vector3(1, 0, 1)};
GLTFSaveOptions opt = new GLTFSaveOptions(FileFormat.GLTF2);
//Custom material converter to convert PhongMaterial to PbrMaterial
opt.MaterialConverter = delegate(Material material)
{
    PhongMaterial m = (PhongMaterial) material;
    return new PbrMaterial() {Albedo = new Vector3(m.DiffuseColor.x, m.DiffuseColor.y, m.DiffuseColor.z)};
};
s.Save("test.gltf", opt);


Usage Examples
Please check the list of help topics added or updated in the Aspose.3D Wiki docs:

   
       

       
https://docs.aspose.com/display/3dnet/Aspose.3D+for+.NET+17.6+Release+Notes

Owners

Authors

Aspose

Copyright

© Aspose 2002-2017. All Rights Reserved.

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
Aspose.3D for .NET 17.6.0 (this version) 66 Monday, June 5, 2017
Aspose.3D for .NET 17.5.0 103 Monday, May 8, 2017
Aspose.3D for .NET 17.4.0 114 Wednesday, April 5, 2017
Aspose.3D for .NET 17.3.0 124 Monday, March 6, 2017
Aspose.3D for .NET 17.2.0 103 Wednesday, February 15, 2017
Aspose.3D for .NET 17.1.0 163 Thursday, January 5, 2017
Aspose.3D for .NET 16.12.0 133 Sunday, December 4, 2016
Aspose.3D for .NET 16.11.0 155 Tuesday, November 1, 2016
Aspose.3D for .NET 16.9.0 127 Thursday, September 29, 2016
Aspose.3D for .NET 2.1.0 108 Tuesday, August 30, 2016
Aspose.3D for .NET 2.0.0 119 Tuesday, August 2, 2016
Aspose.3D for .NET 1.7.0 128 Wednesday, June 29, 2016
Aspose.3D for .NET 1.6.1 245 Thursday, May 26, 2016
Aspose.3D for .NET 1.5.0 130 Wednesday, April 27, 2016
Aspose.3D for .NET 1.4.0 160 Friday, April 1, 2016
Aspose.3D for .NET 1.3.0 155 Tuesday, February 23, 2016
Aspose.3D for .NET 1.2.0 234 Friday, December 18, 2015
Aspose.3D for .NET 1.1.0 142 Friday, November 27, 2015
Aspose.3D for .NET 1.0.0 171 Monday, October 26, 2015