How to generate Cesium terrain heightmap from a 3d model?

We do have a 3d model of a residential community terrain (grading, streets, etc) and we would like to generate a heightmap raster image and import it in Cesium Ion (from documentation it’s the only way to create a terrain in Cesisum). Anyone can help to give the workflow to accomplish this?