open3d.t.io.write_point_cloud#
- open3d.t.io.write_point_cloud(filename: os.PathLike, pointcloud: open3d.pybind.t.geometry.PointCloud, write_ascii: bool = False, compressed: bool = False, print_progress: bool = False, gaussian_splat_antialias: bool = False) bool#
Write a tensor
open3d.t.geometry.PointCloudto file.For Gaussian splat clouds written as PLY, per-point
scaleis converted from the in-memory linear representation to log-scale in the file, matching common 3DGS PLY conventions (seeread_point_cloud()). SPLAT output writes linear scales directly. SPZ output uses compressed log-scale and xyzw quaternion storage while preserving the full spherical-harmonics data. Passgaussian_splat_antialias=Truewhen writing SPZ to set the file header antialiased flag.- Parameters:
filename (os.PathLike) – Path to file.
pointcloud (open3d.pybind.t.geometry.PointCloud) – The
PointCloudobject for I/O.write_ascii (bool, optional, default=False) – Set to
Trueto output in ascii format, otherwise binary format will be used.compressed (bool, optional, default=False) – Set to
Trueto write in compressed format.print_progress (bool, optional, default=False) – If set to true a progress bar is visualized in the console.
gaussian_splat_antialias (bool, optional, default=False) – For SPZ writes, set the file header antialiased flag (mip-splat density compensation). Ignored by other formats. Matches MaterialRecord.gaussian_splat_antialias when rendering.
- Returns:
bool