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.PointCloud to file.

For Gaussian splat clouds written as PLY, per-point scale is converted from the in-memory linear representation to log-scale in the file, matching common 3DGS PLY conventions (see read_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. Pass gaussian_splat_antialias=True when writing SPZ to set the file header antialiased flag.

Parameters:
  • filename (os.PathLike) – Path to file.

  • pointcloud (open3d.pybind.t.geometry.PointCloud) – The PointCloud object for I/O.

  • write_ascii (bool, optional, default=False) – Set to True to output in ascii format, otherwise binary format will be used.

  • compressed (bool, optional, default=False) – Set to True to 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