Closed nvkelso closed 8 years ago
Got this mostly working by using static extrude
values like 20 and 100 and 200, but some of the building faces are still extruding up to the stratosphere.
I suspect the building shader needs to be revised? @meetar for help!
/cc @sensescape
It'd also be nice to remove the fisheye effect (so all buildings had an lower-right shadow at the top left of the screen and the bottom right of the screen).
On the case 🔎
Turns out the camera settings weren't being applied, so the default "perspective" camera type was used, which led to the "fisheye" effect – this is fixed by https://github.com/tangrams/outdoor-style/pull/69.
The "supertall" buildings were a bug in Tangram where min_height
properties weren't being handled properly, which was discussed in https://github.com/tangrams/tangram/issues/337 and fixed by https://github.com/tangrams/tangram/commit/43dcac737e71e1b637d783238681415a0356a4d9.
@meetar @bcamper is https://github.com/tangrams/tangram/commit/43dcac737e71e1b637d783238681415a0356a4d9 in a released version of Tangram yet? I'd like to release the Outdoor style this week, seems like a nice to have for that.
Yep! 0.8.1 was released 5 days ago: https://github.com/tangrams/tangram/releases/tag/v0.8.1 The current outdoor-style index.html specifies 0.8 which means it will pull in any subreleases, which means the live demo should be showing the fix now.
Not a lot, just a little