Explore nuestros productos

Aspose.3D for Java 21,9 Notas de la versión

Mejoras y cambios

ClaveResumenCategoría
THREEDNET-930Agregar soporte de exportación PCDNueva característica
THREEDNET-926Agregar soporte de importación XYZNueva característica
THREEDNET-927Agregar soporte de exportación XYZNueva característica
THREEDNET-938Algoritmo de generación de superficie de nube de puntos basado en triángulos.Nueva característica
THREEDNET-932Agregar soporte de importación de Point Cloud en formato A3DWNueva característica
THREEDNET-931Agregar soporte de exportación de Point Cloud en formato A3DWCaracterística
THREEDNET-946PointCloud fijo no se puede exportar al formato PLYCorrección de errores
THREEDNET-934La conversión de USDZ a OBJ da como resultado una excepciónCorrección de errores
THREEDNET-936Fijación de bloqueo causada por GC en FBX importadorMejora

API cambios

La mayoría de los cambios en 21,9 están relacionados con PointCloud, agregado soporte XYZ/PCD para PointCloud, exportación fija de Point Cloud en PLY, agregado soporte de importación/exportación/representación de PointCloud en A3DW/HTML.

Se ha añadido un nuevo método a class com.aspose.threed.PointCloud:

    /**
     * Create a new point cloud instance from a geometry object.
     * Density is the number of points per unit triangle(Unit triangle are the triangle with maximum surface area from the mesh)
     * @param g Mesh or other geometry instance
     * @param density Number of points per unit triangle
     */
    public static PointCloud fromGeometry(Geometry g, int density);

El nuevo FromGeometry permite especificar la densidad de puntos distribuidos en los triángulos de la geometría.

Código de muestra:

        var prim = new Torus();
        var pc = PointCloud.fromGeometry(prim.toMesh(), 50);
        var s = new Scene(pc);
        s.save("point-cloud.glb", FileFormat.GLTF2_BINARY);

Añadido nuevos formatos a class com.aspose.threed. FileFormato:

    /**
     * Xyz point cloud file
     */
    public static final FileFormat XYZ;
    /**
     * PCL Point Cloud Data file in ASCII mode
     */
    public static final FileFormat PCD;
    /**
     * PCL Point Cloud Data file in Binary mode
     */
    public static final FileFormat PCD_BINARY;

Código de muestra:

        var prim = new Torus();
        var pc = PointCloud.fromGeometry(prim.toMesh(), 50);
        var s = new Scene(pc);
        s.save("point-cloud.glb", FileFormat.PCD);


 
 Español