Ürünlerimize göz atın

Aspose.3D for Java 19.8 lease elease Notes

Improvements ve Changes

KeySummaryCategory
THREEDNET-528Add nokta bulut desteği Wavefront OBJEw ew Feature
THREEDNET-531Sekvador incelemesi Aspose.3DEnhancement
THREEDNET-536 DRC ila STL dönüşüm hatasıBug
THREEDNET-537Problem PLY ila GLB arası dönüştürmeBug
THREEDNET-539The büyük nokta bulutu yanlış veri oluşturabilirBug

Public API ve Backwards uyumlu Changes

See API halka yapılan herhangi bir değişiklik listesi, Aspose.3D for Java için yapılan herhangi bir geriye dönük olmayan uyumlu değişimin yanı sıra eklenen, yeniden adlandırılmış, kaldırılmış veya kullanımdan kaldırılmış üyeler. If listelenen herhangi bir değişiklik hakkında endişeleriniz var, lütfenAspose.3D destek forumu.

Added new getter/setter loud ointloud loud in class com.aspose.threed. bjbjSaveaveptions

 /**

 * Gets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false

 */

public boolean getPointCloud();

/**

 * Sets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false

 * @param value New value

 */

public void setPointCloud(boolean value);

Obj formatında Sphere bir nokta bulutu oluşturmak için yeterli kod.

 Scene scene = new Scene(new Sphere());

ObjSaveOptions opt = new ObjSaveOptions();

opt.setPointCloud(true);

scene.save("sphere.obj", opt);

Added yeni yöntemler createolyolygon com.aspose.threed.Mesh

 /**

 * Create a polygon with 4 vertices(quad)

 * @param v1 Index of the first vertex

 * @param v2 Index of the second vertex

 * @param v3 Index of the third vertex

 * @param v4 Index of the fourth vertex

 */

public void createPolygon(int v1, int v2, int v3, int v4);

/**

 * Create a polygon with 3 vertices(triangle)

 * @param v1 Index of the first vertex

 * @param v2 Index of the second vertex

 * @param v3 Index of the third vertex

 */

public void createPolygon(int v1, int v2, int v3);

Sgeniş kod.

 Mesh mesh = new Mesh();

mesh.createPolygon(new int[]{ 0, 1, 2 }); //The old CreatePolygon needs to create a temporary array for holding the face indices

mesh.createPolygon(0, 1, 2); //The new overloads doesn't need extra allocation, and it's optimized internally.

The yeni eklenen yöntemlerCreatePolygonEkstra bellek ayırmadan bir üçgen veya dörtlü oluşturmanıza izin verin, dahili olarak son derece optimize edilmiştir.

Reclass eski kamu alanı prettyrinrint sınıf com.aspose.threed. threLold aveaveaveaveptions

This kaldırıldı ve aynı isimle mülkle değiştirildi.

Aclass new getter/setter com rereclass rint in class com.aspose.threed. threptions ptions aveaveaveaveptions

 /**

\* The JSON content of GLTF file is indented for human reading, default value is false

*/

public boolean getPrettyPrint();

/**

\* The JSON content of GLTF file is indented for human reading, default value is false

\* @param value New value

*/

public void setPrettyPrint(boolean value);

The eskiPrettyPrintKamu alanıydı ve tutarlı bir özellik ile değiştirildi.

Sample Code.

 Scene scene = new Scene(new Sphere());

GLTFSaveOptions opt = new GLTFSaveOptions(FileFormat.GLTF2);

//opt.prettyPrint = true; //Old code

opt.setPrettyPrint(true); //Use setter to change this configuration.

scene.save("sphere.gltf", opt);


 
 Türkçe