Back to Deck Gl

or

examples/website/mesh/README.md

9.3.2640 B
Original Source

This is a minimal example of deck.gl's SimpleMeshLayer.

Usage

Copy the content of this folder to your project.

bash
# install dependencies
npm install
# or
yarn
# bundle and serve the app with vite
npm start

Data format

This example OBJ model is from John Burkardt's data sample collection.

loaders.gl offers loaders for a variety of common 3D formats that work seamlessly with this layer. To use your own data, check out the documentation of SimpleMeshLayer.