You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
roughly recreate the really old demo branch (example) on top of master. Manually rewriting everything with the old branch as a guide is probably better than trying to rebase.
figure out how this should look in the style spec. Discuss and implement that
add render tests
port to -native
followup
fix antialiasing (draw faded 1px lines along all edges?)
fix depth related bugs
Reacted by jingsam
Reacted by Molly Lloyd and Brad Jones
Reacted by Lucas Wojciechowski, Volodymyr Agafonkin, Gustaf Lindqvist, Molly Lloyd and Lauren Budorick
@jonathanward at this time this feature is still very much in development, and spec changes are still not finalized at mapbox/mapbox-gl-style-spec#456, so I really can't give a timeline — though it is looking like at least initially we don't plan to support extruding non-polygon features.
most of the spec changes proposed for extrusions are implemented in mapbox-gl-js; mostly finished with adding data-driven properties and then need to figure out antialiasing
after that, still need to
port to native
work with Studio team to integrate extrusion type
solidify spec changes and do releases of -js, -native and -spec
Reacted by Benjamin S. Leveritt, Scott Andrews, Andrei Popov and Jaap Lous
@contra check out the accompanying style spec PR mapbox/mapbox-gl-style-spec#495 — the fill-extrude-base and fill-extrude-height paint properties enable this, so a fill layer for buildings might include a property function like
Activity
kkaefer commentedon Aug 11, 2014
dupe of #292
trallarn commentedon Sep 15, 2015
I know this issue is closed, but I can't find any doc on how to render extrusions. Has this feature really been added?
kkaefer commentedon Sep 15, 2015
No, this feature hasn't been added yet.
ansis commentedon May 12, 2016
implementing this:
the first part
followup
lbud commentedon May 25, 2016
I've roughly recreated last year's demo branch at https://github.com/mapbox/mapbox-gl-js/tree/building-redux (thanks to the codespirit of @ansis 👻 the old branch ported pretty easily).
Shaders at https://github.com/mapbox/mapbox-gl-shaders/tree/js-buildings, a spec branch (filled in only by copying fill properties for validation purposes, not definitive spec suggestions) at https://github.com/mapbox/mapbox-gl-style-spec/tree/buildings. I've modified this repo's debug page/style in this branch for the sake of quick iteration, not to be merged.
Still lots of TODOs to clean up rough edges in this branch + will open a spec ticket to discuss what this should look like.
lbud commentedon Jun 7, 2016
@jonathanward at this time this feature is still very much in development, and spec changes are still not finalized at mapbox/mapbox-gl-style-spec#456, so I really can't give a timeline — though it is looking like at least initially we don't plan to support extruding non-polygon features.
lbud commentedon Jun 13, 2016
quick status update:
[-]Add building height 3d styling to GL[/-][+]Support rendering 3d extrusions[/+]yocontra commentedon Oct 8, 2016
@iBud Any docs for enabling this feature? Didn't see any in the PR. Demos look great BTW - thanks a lot for putting in the work!
lbud commentedon Oct 8, 2016
@contra check out the accompanying style spec PR mapbox/mapbox-gl-style-spec#495 — the
fill-extrude-baseandfill-extrude-heightpaint properties enable this, so a fill layer for buildings might include a property function likeif the specified source layer has a property called "height" in its features.
This feature will be in the next Mapbox GL JS library release.