kekscom / osmbuildings

OSM Buildings Classic 2.5D
http://osmbuildings.org
BSD 2-Clause "Simplified" License
505 stars 140 forks source link

How can i make the building opaque? #42

Closed neogeomat closed 10 years ago

neogeomat commented 11 years ago

Looking through the previous issues, looks like there is a default transparency setting. Due to this, when two buildings are close, they are difficult to separate out as the borders are not clear. i have tried different color combinations to separate them out, but without success. I have searched the code v0.1.9 for the transparency effect, no success there as well.

How can i make the buildings opaque such that part of building that occluded by another building in front is hidden?

kekscom commented 11 years ago

Hi, you can set a default RGBA color for some parts, but the engine automatically reduces opacity according to zoom level. Intention is to keep the underlying map readable. Transparency also makes occlusion issues (see #34) less a pain for the moment. Occlusion needs to be solved first before allowing opacity. All a matter of resources, help is welcome.

kekscom commented 10 years ago

This will be improved by #34