Convert Terrain PCD Point Clouds to OFF Meshes
Ground and aerial lidar clouds stored as PCD come out as an open triangle surface in OFF, rebuilt on a regular grid, with color left behind. Scans of objects, rooms or buildings are not height fields, so they are refused instead of being forced into a wrong surface.
Download Started!
How would you rate your experience with MiConvert?
From scattered points to an OFF surface
OFF, the Object File Format, is about as plain as a mesh format gets. It starts with the OFF keyword and a line of vertex and face counts, followed by coordinates and face index lists. Geometry-processing code such as CGAL and datasets like the Princeton Shape Benchmark use it, and MeshLab and Geomview open it. A PCD file from the Point Cloud Library holds no faces at all, only sampled points. An OFF made from it therefore needs a surface that the scan never contained.
Our servers build that surface with a point-cloud script. It reads PCD version 0.7 in ASCII or binary form, and if the cloud is bigger than 1,000,000 points, it keeps a uniform random sample of that many. Next it checks whether the cloud is a height field, with one height for each spot on the ground, as in terrain or aerial survey data. If so, the points are gridded at roughly twice their spacing, up to 400,000 grid nodes, and triangulated into one open surface. Our STL and 3MF output from the same clouds adds side walls and a flat base, but OFF gets neither.
The result keeps the shape of the ground at grid resolution. Detail finer than the grid is smoothed out. RGB color, intensity and any other PCD fields are dropped, because the OFF file here holds only vertices and triangles. The format records no units either, so the values keep whatever unit the scan used. Z stays up, so the terrain opens upright in Z-up tools. Coordinates above 100,000, typical of projected map positions, are shifted close to the origin. The page does not show that shift, so write down your original extents if you need to place the mesh back.
Some clouds fold over themselves: a scanned statue, an indoor room, a building with walls, or data with overlapping layers. These are refused with an explanation. We have no Poisson or ball-pivoting reconstruction, so there is no fallback. For those scans, build the mesh in MeshLab or CloudCompare and export OFF directly from there, or keep the data as points in PLY.
This page suits researchers who want real terrain as test input for mesh algorithms. It also suits GIS and robotics users who need a quick ground surface from a mapping run, in a format their own code already parses.
Preparing a PCD for an OFF terrain surface
- View the cloud from above in CloudCompare or pcl_viewer. If each patch of ground has a single surface beneath it, it is a height field and should convert.
- Remove anything that hangs over the ground, such as tree canopy, bridges or power lines, or keep only ground-classified points. Overlapping layers are one of the cases this converter refuses.
- Read the DATA line in the PCD header. ASCII and binary files are accepted. binary_compressed is not, so re-save those files as binary first.
- Upload the PCD. Guests can send up to 10 files of 50 MB each per batch, and each file is surfaced on its own.
- Download the .off and open it in MeshLab or your own parser. If the source coordinates ran into the hundreds of thousands, add your original offset back before you combine the mesh with other georeferenced data.
How the OFF surface is built
- A height-field check runs before meshing, so non-terrain clouds are stopped with a reason instead of returning a broken surface
- Regular grid at about twice the point spacing, capped at 400,000 nodes, triangulated into one open sheet
- Z-up orientation is kept, so the terrain is not tipped over in the OFF file
- Map coordinates above 100,000 are moved near the origin before the mesh is written
- Accepts PCD 0.7 in ASCII or binary, and clouds above 1,000,000 points are sampled down to that number
- Plain OFF output with vertices and triangles only, which simple research parsers can read
Video Tutorial
Learn how to change PCD to OFF online incredibly simply and quickly. This tool maintains 100% of your original file's quality. 🔗 Access MiConvert tool here: https://miconvert.com/en/pcd-to-off?utm_s
PCD to OFF questions
Why was my PCD refused as unsupported for OFF?
The cloud is not a height field. It has walls, overhangs or several layers stacked above the same ground position, so a single grid surface cannot describe it. Crop it to ground points only, or mesh it yourself in MeshLab or CloudCompare.
Can I get an OFF mesh of an object or room scan?
Not from this converter, because it has no general surface reconstruction. In MeshLab you can compute normals, run Screened Poisson surface reconstruction, then export the result as OFF directly.
Does the OFF file keep the colors from my PCD?
No. Our OFF output stores only vertices and triangles, so RGB and intensity are dropped. If color matters, convert the PCD to PLY or GLB instead, which keep it on the points.
Why does my terrain sit near 0,0,0 instead of at its map coordinates?
When coordinates exceed 100,000, the converter moves the surface close to the origin before writing it. The page does not currently report that offset, so take it from your source data, for example the minimum x and y of the original cloud.
Will the surface include every point I scanned?
No. The cloud is resampled onto a grid at roughly twice the point spacing, with a ceiling of 400,000 nodes, and clouds above 1,000,000 points are randomly thinned first. Expect a clean ground model, not a point-for-point copy.
What size will the mesh have in other software?
The scale is not changed. OFF has no unit field, so a cloud recorded in meters gives a mesh whose numbers are meters, and the program that opens it decides how to interpret them.
Which kind of PCD file does this page read?
Only Point Cloud Library files, as written by PCL, ROS and many lidar tools. Kodak Photo CD pictures share the .pcd extension but are images, and wheel PCD or offset, the bolt-circle measurement, has nothing to do with these files.
Is my point cloud kept after the conversion?
Your upload is sent over HTTPS and deleted from our server as soon as the conversion ends, whether it succeeded or failed. The OFF file waits about 4 hours behind a random download link and is then deleted automatically. File names, sizes and outcomes are logged to run the service, but the files themselves are not kept beyond those windows.