polygonjs / example-plugin-mapbox

Mapbox plugin for Polygonjs - Example setup

Home Page:https://polygonjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polygonjs Plugin Mapbox Example

This repository shows how to use the Mapbox Plugin for the WebGL engine Polygonjs.

scene with 3D objects above a map

models are from:

Open the scene in the WebGL editor

yarn && yarn polygon

and open your browser at

http://localhost:8091?scene=default

This will open the scene saved in this repo.

mapbox plugin from Polygonjs node-based Editor

Open the exported scene without the editor

  1. Go to the export folder: cd public/polygonjs/build/default. If the folder does not exist, make sure to open the editor as described above and save the scene. This will create the exported files.

  2. Open a local server. You can do this in multiple ways. Either python3 -m http.server or npx http-server -p 8000 -c-1 .

  3. Open your browser at http://localhost:8000

About

Mapbox plugin for Polygonjs - Example setup

https://polygonjs.com


Languages

Language:GLSL 53.1%Language:TypeScript 38.1%Language:JavaScript 8.1%Language:HTML 0.7%