Browse our Products
Aspose.3D for .NET 24.2 Release Notes
This page contains release notes information for Aspose.3D for .NET 24.2.
Improvements and Changes
Key | Summary | Category |
---|---|---|
THREEDNET-1499 | OBJ to GLTF - large number of vertices | Improvement |
THREEDNET-1509 | Upgrade .net 7.0 support to .net 8.0 | Improvement |
THREEDNET-1460 | Fbx exported skeleton nodes don’t have transformation but have pose instead | Bug fixing |
THREEDNET-1494 | Added KHR_mesh_quantization extension support in GLTF import | Bug fixing |
THREEDNET-1495 | Export animations from GLB to FBX may cause Slerp failed | Bug fixing |
THREEDNET-1496 | Unsupported attribute type may cause Maya importer stop | Bug fixing |
THREEDNET-1497 | Primitive without a valid property value may failed to load in USD | Bug fixing |
THREEDNET-1498 | 3MF external reference issue in build element | Bug fixing |
API changes
This version is mainly a bug fixing version, a few API changes:
Added members to class Aspose.ThreeD.Entities.Mesh:
public Aspose.ThreeD.Entities.Mesh Triangulate()
This function allows you to triangulate a mesh in simple way.
Sample code
//The plane mesh has only one polygon with 4 control points
var mesh = (new Plane()).ToMesh();
//After triangulated, the new mesh's rectangle will become 2 triangles.
var triangulated = mesh.Triangulate();
Added members to class Aspose.ThreeD.Entities.TriMesh:
public void AddTriangle(int a, int b, int c)
This function allows you to manually add triangle to the TriMesh.
Sample code
var indices = new int[] { 0, 1, 2 };
var vertices = new byte[]{
0, 0, 0, 191,
0, 0, 0, 0,
0, 0, 0, 191,
0, 0, 0, 191,
0, 0, 0, 0,
0, 0, 0, 63,
0, 0, 0, 63,
0, 0, 0, 0,
0, 0, 0, 63
};
VertexDeclaration vd = new VertexDeclaration();
vd.AddField(VertexFieldDataType.FVector3, VertexFieldSemantic.Position);
//create an empty TriMesh with specified vertex declaration
var triMesh = new TriMesh("", vd);
//load vertices directly from bytes
triMesh.LoadVerticesFromBytes(vertices);
triMesh.AddTriangle(0, 1, 2);