read_ply: Read a Stanford PLY file

View source: R/mesh_utils.R

read_plyR Documentation

Read a Stanford PLY file

Description

Reads a PLY file (ASCII or binary) with optional per-vertex colors and returns a scimesh mesh descriptor list with vertices, triangles, and optionally colors.

Usage

read_ply(path)

Arguments

path

Path to the PLY file.

Value

A mesh descriptor list.

Examples

## Not run: 
mesh <- read_ply("model.ply")
nrow(mesh$vertices)

## End(Not run)


scimesh documentation built on Aug. 9, 2026, 9:07 a.m.