Ürünlerimize göz atın

Aspose.3D for Java 21.6 lease elease Notes

Improvements ve Changes

KeySummaryCategory
THREEDNET-870Dd dd Uexport export export ihracat desteği.Ew ew Feature
THREEDNET-891Expose zip arşiv dosya sistemiEw ew Feature
THREEDNET-892Allow FBX ihracatçı ihracat sırasında dokular embed.New özelliği
THREEDNET-895Düğümün ismindeki bazı karakterlerin oluşturulmasına neden olacak GLB dosyası doğrulama geçemediBug düzeltme
THREEDNET-896Fixed boş sahne geçerli bir glb dosyasına ihracat yapamazBug düzeltme
THREEDNET-890Udd malzeme/doku ihracatı USC CVement mprovement
THREEDNET-899Expose FBX Texture için RelativeFilename özelliğiVement mprovement

API değişiklikleri

Aexport USD ihracat tipi olarak

21.6 rom 21.6 sahneyi USD dosyasına şu şekilde aktarabilirsiniz:

    Scene scene = new Scene();
    //...prepare your scene
    scene.save("test.usd", FileFormat.USD);

Added yeni sınıf com.aspose.threed.ZipArchiveFileSystem

Glt, glb/fbx ve texture to aveaveaveptions. FileSystem kullanarak bir zip dosyası üzerinden harici varlıklara erişmek için doku gömülünü destekleyen diğer dosya biçimleri için mümkündür.

Asınıf com.aspose.threed. bxbxbxaveaveptions

    /**
     * Gets whether to embed the texture to the final output file.
     * FBX Exporter will try to find the texture's raw data from {@link com.aspose.threed.IOConfig#getFileSystem}, and embed the file to final FBX file.
     * Default value is false.
     */
    public boolean getEmbedTextures();
    
    /**
     * Sets whether to embed the texture to the final output file.
     * FBX Exporter will try to find the texture's raw data from {@link com.aspose.threed.IOConfig#getFileSystem}, and embed the file to final FBX file.
     * Default value is false.
     * @param value New value
     */
    public void setEmbedTextures(boolean value);

Sample kodu:

    var scene = new Scene();
    var opt = new FbxSaveOptions(FileFormat.FBX7700ASCII);
    opt.setEmbedTextures(true);
    var tex = new Texture();
    tex.setFileName("test.png");
    var mat = new PhongMaterial();
    mat.setTexture(Material.MAP_DIFFUSE, tex);
    var planeNode = scene.getRootNode().createChildNode(new Plane());
    planeNode.setMaterial(mat);
    scene.save("plane-with-texture.fbx", opt);


 
 Türkçe