Ürünlerimize göz atın

Aspose.3D for .NET 21.2 lease elease Notes

Improvements ve Changes

KeySummaryCategory
THREEDNET-825Add USDZ ithalat desteği.New özelliği
THREEDNET-824Add doku desteği USDZTsor
THREEDNET-811Implement API ‘de bir değerlendirme sürümü ile ilgili ption xceptionVement mprovement
THREEDNET-813Erial echnical detaylar erial aterial ve Texture API sınırlamaları üzerinde gereklidir-API malzeme üzerindeki dokuları keşfetmenin bir yolunu sağlamazVement mprovement
THREEDNET-817Glb, gltf, obj durumunda doku bayt için Add desteği []Vement mprovement
THREEDAPP-80Web renderer’in sayfa yükleme hızını kanıtlayınVement mprovement
THREEDNET-814Triangle endeksleri doğru değilBug düzeltme
THREEDNET-809FBX Save Exception: Unsupported özellik türüBug düzeltme
THREEDNET-810Filesize aynı dokuyu yeniden kullanırken büyüyorBug düzeltme
THREEDNET-816OBJ yüklerken correct nmesh meshBug düzeltme
THREEDNET-807Tihraç edilen FBX ‘de doku yokBug düzeltme
THREEDNET-815Gölgelendirici modeli ile Materials = Unknown işlenemedi.Bug düzeltme
THREEDNET-823Aynı düğüme bağlı ultiultiple mesh, render değildir.Bug düzeltme
THREEDNET-647Add ölçekleme kontrolü Uweb web renderer.Tsor
THREEDNET-646Add rotasyon kontrolü Uweb web renderer.Tsor

API değişiklikleri

Dded dded sınıf Aspose.ThreeD.Shading. Texturelot lot

This, malzemelerdeki iç doku yuvalarını, mevcut tüm doku yuvalarına bir malzemeden erişmek için foreach ifadesini kullanın:

var mat = new PbrMaterial();
foreach(var textureSlot in mat)
{
    Console.WriteLine(textureSlot.SlotName);
    Console.WriteLine(textureSlot.Texture);
}

Dded dded sınıf Aspose.ThreeD. Trialrixception

From 21.2, lisanssız kullanım lisans kısıtlamasına ulaştığında, lisans kısıtlamasını bildirmek için bir Trial. xception atılacak ve geçici bir lisans için nasıl başvurulur.

You, surround ave/Open operasyonunda surround try/catch bloğunu görmezden gelebilir veya bu istisnayı şu şekilde kapatabilir:

TrialException.SuppressTrialException = true;

Turn bu mesaj kapalı kısıtlamaları kaldırmayacak (ike ike ekstra düğümleri ihracatçı/ithalatçı tarafından göz ardı edilir).

Tüm tam özelliği almak için sipariş verin, lütfen geçici bir lisans isteyin veya tam özellik lisansı satın alın.

Dded methods yöntemleri Aspose.ThreeD.Entities. Tririesh

public Aspose.ThreeD.Utilities.Vector4 ReadVector4(int idx, Aspose.ThreeD.Utilities.VertexField field);
public Aspose.ThreeD.Utilities.FVector4 ReadFVector4(int idx, Aspose.ThreeD.Utilities.VertexField field);
public Aspose.ThreeD.Utilities.Vector3 ReadVector3(int idx, Aspose.ThreeD.Utilities.VertexField field);
public Aspose.ThreeD.Utilities.FVector3 ReadFVector3(int idx, Aspose.ThreeD.Utilities.VertexField field);
public Aspose.ThreeD.Utilities.Vector2 ReadVector2(int idx, Aspose.ThreeD.Utilities.VertexField field);
public Aspose.ThreeD.Utilities.FVector2 ReadFVector2(int idx, Aspose.ThreeD.Utilities.VertexField field);
public double ReadDouble(int idx, Aspose.ThreeD.Utilities.VertexField field);
public float ReadFloat(int idx, Aspose.ThreeD.Utilities.VertexField field);

These yöntemleri, ekstra bellek ayırmadan vertex’in alanını okumanızı sağlar, TriMesh’den vertex’e erişmenin geleneksel yolu aslında çok fazla geçici nesne üretir, bunlar hızlı ve düşük bellek ayak izi erişimi sağlayabilir.

Cene cene s = yeni cene cene(@ "test.STL");
Var mesh = (Mesh)s. ootootootode. ChildNodes[0].Entity;

//Create yeni bir Vertextexeclaration, bu yüzden daha sonra inşa ettiğimiz Tririesh bu bellek düzenini kullanacaktır.
Var vd = yeni VertexDeclaration();
Var pos = vd.AddField(VertexFieldDataType. Fecector3, VertexFieldSemantic. sition oo);
Var normal = vd.AddField(VertexFieldDataType.FVector3, VertexFieldSemantic.Normal);
Var uv = vd.AddField(VertexFieldDataType. Fecector2, VertexFieldSemantic.UV);
//El ile belirtilen vertex beyannamesi ile Mesh örneğinden bir Tririesh örneği oluşturun
Var m = Tririesh. romromromesh (vd, mesh);
Için (int i = 0; ben< m.VerticesCount; i++)
{
    //access each field
    var v_pos = m.ReadFVector3(i, pos);
    var v_normal = m.ReadFVector3(i, normal);
    var v_uv = m.ReadFVector3(i, uv);
    Console.WriteLine($"({v_pos}), ({v_uv}), ({v_normal})");
}

AAspose.ThreeD. FileFormat’ta yeni dosya formatını onayladı

/// <summary>
/// Compressed Universal Scene Description
/// </summary>
public static readonly FileFormat USDZ;

Aspose.3D 21.2 şimdi USDZ formatını yükleyebilir.

Tutarlı olmayan APIs:

These eski sınıflar bir süre için tutulacak ve yeni sınıflar bunları değiştirmek için tanıtılacak:

Old lass lassNew lass lass
Aspose.ThreeD.Formats. A3Daveaveaveptions ptionsAspose.ThreeD.Formats.A3dwSaveOptions
Aspose.ThreeD.Formats. Aptions ptions aveaveptions ptionsAspose.ThreeD.Formats. mfmfSaveOptions
Aspose.ThreeD.Formats.Discreet3DSLoadOptionsAspose.ThreeD.Formats.Discreet3dsLoadOptions
Aspose.ThreeD.Formats.Discreet3DSSaveOptionsAspose.ThreeD.Formats.Discreet3dsSaveOptions
Aspose.ThreeD.Formats. Fptions ptions ptions oadOptionsAspose.ThreeD.Formats. bxbxbxoadptions ptions
Aspose.ThreeD.Formats. Fptions ptions aveaveptions ptionsAspose.ThreeD.Formats. bxbxSaveOptions
Aspose.ThreeD.Formats. Gptions ptions ptions ptions oadOptionsAspose.ThreeD.Formats. ltltfLoadOptions
Aspose.ThreeD.Formats. Gptions ptions ptions aveaveptions ptionsAspose.ThreeD.Formats. ltltfSaveOptions
Aspose.ThreeD.Formats. Hptions ptions L5Saveptions ptionsAspose.ThreeD.Formats. ttml5Saveptions ptions
Aspose.ThreeD.Formats. Sptions ptions ptions oadOptionsAspose.ThreeD.Formats.StlLoadOptions
Aspose.ThreeD.Formats. Sptions ptions aveaveptions ptionsAspose.ThreeD.Formats.StlSaveOptions
Aspose.ThreeD.Formats. U3Dptions oadOptionsAspose.ThreeD.Formats. 3d3dLoadptions ptions


 
 Türkçe