ObjMeshIO

Helpers & Utilities · AiDotNet.Geometry.IO

OBJ mesh and point cloud IO utilities.

Methods

Method Summary
PointCloudData<T> LoadPointCloud(string path) Loads a point cloud from an OBJ file (using vertex lines).
TriangleMeshData<T> LoadMesh(string path, bool computeNormalsIfMissing) Loads a triangle mesh from an OBJ file.
void SaveMesh(TriangleMeshData<T> mesh, string path, bool includeNormals, bool includeUvs, bool includeColors) Saves a triangle mesh to an OBJ file.
void SavePointCloud(PointCloudData<T> pointCloud, string path, bool includeColors) Saves a point cloud to an OBJ file (vertex lines only).