@csi-foxbyte/cityjson-to-3d-tiles
Version:
A Node.js library that converts CityJSON files into Cesium 3D Tiles—complete with automatic texture atlas packing, Basis compression, three LOD levels, and customizable threading.
12 lines (9 loc) • 495 B
TypeScript
declare function generate3DTilesFromTileDatabase(dbFilePath: string, outputFolder: string, onProgress: (progress: number) => void, opts?: {
threadCount?: number;
}): Promise<void>;
declare function generateTileDatabaseFromCityJSON(inputFolder: string, outputFolder: string, appearance: string, onProgress: (progress: number) => void, opts?: {
threadCount?: number;
}): Promise<{
dbFilePath: string;
}>;
export { generate3DTilesFromTileDatabase, generateTileDatabaseFromCityJSON };