Skip to content

Instantly share code, notes, and snippets.

cameras:
perspective:
type: perspective
vanishing_point: [0, -500]
lights:
directional1:
type: directional
direction: [.5, .1, -1]
diffuse: .4
ambient: 0.6
TANGRAM shaderProgram.cpp:145: >>> VERTEX {style:heightglowline}
#define TANGRAM_EPSILON 0.00001
#define TANGRAM_WORLD_POSITION_WRAP 100000.
#define TANGRAM_DEPTH_DELTA 0.000031
#define TANGRAM_VERTEX_SHADER
#pragma tangram: extensions
#ifdef GL_ES
precision highp float;
#endif
#pragma tangram: defines
global:
feature_order: function () { return feature.sort_rank | 0; }
fonts:
Montserrat:
url: https://fonts.gstatic.com/s/montserrat/v7/zhcz-_WihjSQC0oHJ9TCYL3hpw3pgy2gAi-Ip7WPMi0.woff
Open Sans:
- weight: 400
url: https://fonts.gstatic.com/s/opensans/v13/wMws1cEtxWZc6AZZIpiqWALUuEpTyoUstqEm5AMlJo4.woff
- weight: 400
@hjanetzek
hjanetzek / export.geojson
Created November 10, 2018 17:18
diet:vegeterian
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Timing

BenchTileBuilder

  • using current bubble-wrap-style.zip and tile.mvt from our benchmarks
./bench/benchTileBuilder.out --benchmark_repetitions=4

NoJS

All JS functions replaced with some default values that should also build the same set of features - so by sight this should be the baseline:

-----------------------------------------------------------------------------------------