How to create solid geometry by xyz points

There is now a series of scanned data points representing the water level data of a river. The original point data is in latitude and longitude coordinates. We want to create a geometry for the water area from these points. How can we achieve this?

Currently, my approach is to construct a triangular mesh from all the points, then create a mesh and use the coordinate conversion tool from Cesium for Unity to display it. However, the problem is that it only generates a surface, not the solid geometry object that I want.

Hi @sendreams, can you elaborate on the distinction you’re making between “surface” and “solid geometry”? I can’t quite understand what you have working so far, and how it differs from what you want to achieve.

Fundamentally, though, using Cesium for Unity’s coordinate conversion tools is probably the right approach, and the rest of this question doesn’t sound like it’s particularly specific to Cesium. So you might have better luck asking in a more general Unity forum.

hi, i need building solid geometry by cloud points. I want to generate an entity by a series of point cloud data. Imagine these point clouds are from a house roof, but I want to generate a house entity model only using the roof point cloud and a specified ground elevation.

Ok, that’s not something that Cesium for Unity provides directly. You’ll need another tool to create a mesh from a point cloud. An open source one that I’m aware of (but don’t have much first-hand experience with) is PDAL:
https://pdal.io/en/2.8.1/workshop/generation/meshing/meshing.html

1 Like

thanks for your help.
Does Cesium for Unity SDK have any direct plans to support vector tiles?

Eventually, yes. We don’t currently have any time frame for it, though.