Ürünlerimize göz atın

Aspose.3D for Java 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 com.aspose.threed.TextureSlot

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();
        for(var textureSlot : mat) {
            System.out.println(textureSlot.getSlotName());
            System.out.println(textureSlot.getTexture());
        }

Dded dded sınıf com.aspose.threed.TrialException

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.setSuppressTrialException(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 com.aspose.threed.TriMesh

    /**
     * Read the vector4 field
     * @param idx The index of vertex to read
     * @param field The field with a Vector4/FVector4 data type
     */
    public Vector4 readVector4(int idx, VertexField field);
  
    /**
     * Read the vector4 field
     * @param idx The index of vertex to read
     * @param field The field with a Vector4/FVector4 data type
     */
    public FVector4 readFVector4(int idx, VertexField field);
  
      /**
     * Read the vector3 field
     * @param idx The index of vertex to read
     * @param field The field with a Vector3/FVector3 data type
     */
    public Vector3 readVector3(int idx, VertexField field);
    
    /**
     * Read the vector3 field
     * @param idx The index of vertex to read
     * @param field The field with a Vector3/FVector3 data type
     */
    public FVector3 readFVector3(int idx, VertexField field);

  
    /**
     * Read the vector2 field
     * @param idx The index of vertex to read
     * @param field The field with a Vector2/FVector2 data type
     */
    public Vector2 readVector2(int idx, VertexField field);
    
    /**
     * Read the vector2 field
     * @param idx The index of vertex to read
     * @param field The field with a Vector2/FVector2 data type
     */
    public FVector2 readFVector2(int idx, VertexField field);

  
    /**
     * Read the double field
     * @param idx The index of vertex to read
     * @param field The field with a float/double compatible data type
     */
    public double readDouble(int idx, VertexField field);
    
    /**
     * Read the float field
     * @param idx The index of vertex to read
     * @param field The field with a float/double compatible data type
     */
    public float readFloat(int idx, 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. getootootootode ().getChild(0).getEntity();

//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. F_VEC3 3 3, VertexFieldSemantic. POITION N);
Var normal = vd.addField(VertexFieldDataType. F_VEC3 3 3, VertexFieldSemantic. NOMAL L);
//El ile belirtilen vertex beyannamesi ile Mesh örneğinden bir Tririesh örneği oluşturun
Var m = Tririesh. fromfroesh (vd, mesh);
Için (int i = 0; ben< m.getVerticesCount(); i++)
        {
            //access each field
            var v_pos = m.readFVector3(i, pos);
            var v_normal = m.readFVector3(i, normal);
            System.out.printf("(%s), (%s)\n", v_pos, v_normal);
        }

com.aspose.threed.FileFormat yılında Added yeni dosya formatı

    /**
     * Compressed Universal Scene Description
     */
    public static final FileFormat USDZ;

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

Tutarlı olmayan APIs:

These eski sınıflar com.aspose.threed.de precated paketine taşınır ve yeni sınıflar bunları değiştirmek için tanıtılır:

Old lass lassNew lass lass
Com. aspose.threed. A3DWaveaveptions ptionsCom. aspose.threed. A3dwSaveptions ptions
com.aspose.threed.AMFSaveOptionsCom. aspose.threed. mfmfSaveptions ptions
Com. aspose.threed.Discreet3DSLoadOptionsCom. aspose.threed.Discreet3dsLoadOptions
Com. aspose.threed.Discreet3DSSaveOptionsCom. aspose.threed.Discreet3dsSaveOptions
Com. aspose.threed. threptions ptions ptions oadptions ptionsCom. aspose.threed. bxbxbxoadptions ptions
Com. aspose.threed. threptions ptions aveaveaveptionsCom. aspose.threed. bxbxbxaveptions ptions
Com. aspose.threed. threptions ptions ptions ptions oadptions ptionsCom. aspose.threed. ltltfLoadptions ptions
Com. aspose.threed. threptions ptions ptions aveaveptions ptionsCom. aspose.threed. ltltfSaveptions ptions
Com. aspose.threed. threptions ptions 55Saveptions ptionsCom. aspose.threed. ttml5Saveptions ptions
Com. aspose.threed. threptions ptions ptions oadptions ptionsCom. aspose.threed. StlLoadptions ptions
Com. aspose.threed. threptions ptions aveaveaveptionsCom. aspose.threed. tltlSaveptions ptions
Com. aspose.threed. U3Dptions oadptions ptionsCom. aspose.threed. 3d3dLoadptions ptions


 
 Türkçe