Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 2.38 KB

README.md

File metadata and controls

65 lines (45 loc) · 2.38 KB

3D Tiles Samples Generator

A note about the repository structure

This repository was originally part of the 3d-tiles-validator repository, which contained multiple projects. Now, these project are maintained in separate repositories:

The tilesets generated here are included in 3d-tiles-samples and Cesium.

Instructions

Clone this repo and install Node.js. From this directory, run:

npm install

npm run build

cd dist/

node bin/3d-tiles-samples-generator.js

This commands generates a set of tilesets and saves them in a folder called output. The Batched, Composite, Instanced, PointCloud, and Tilesets folders may be copied directly to CesiumJS's Specs/Data/Cesium3DTiles/ folder for testing with CesiumJS. The tilesets in the Samples folder may be copied to the tilesets folder in 3d-tiles-samples.

Run the tests:

npm run test

To run ESLint on the entire codebase, run:

npm run eslint

To run ESLint automatically when a file is saved, run the following and leave it open in a console window:

npm run eslint-watch

Auto Recompilation

You can use

npm run watch

to automatically recompile your changes while editing.

License

Tilesets generated by this tool are licensed under CC0 with the following exceptions:

Contributions

Pull requests are appreciated! Please use the same Contributor License Agreement (CLA) and Coding Guide used for CesiumJS.